|
@@ -1,28 +1,28 @@
|
1
|
1
|
version: '3.8'
|
2
|
2
|
|
3
|
3
|
services:
|
4
|
|
- mongodb:
|
5
|
|
- image: mongo:6.0.6
|
6
|
|
- container_name: mongodb_${containername}
|
7
|
|
- ports:
|
8
|
|
- - "27017:27017"
|
9
|
|
- environment:
|
10
|
|
- - MONGO_INITDB_ROOT_USERNAME=admin
|
11
|
|
- - MONGO_INITDB_ROOT_PASSWORD=Bizgaze@123
|
12
|
|
- volumes:
|
13
|
|
- - /var/lib/mongodb:/data/db
|
|
4
|
+ #mongodb:
|
|
5
|
+ # image: mongo:6.0.6
|
|
6
|
+ # container_name: mongodb_${containername}
|
|
7
|
+ # ports:
|
|
8
|
+ # - "27017:27017"
|
|
9
|
+ # environment:
|
|
10
|
+ # - MONGO_INITDB_ROOT_USERNAME=admin
|
|
11
|
+ # - MONGO_INITDB_ROOT_PASSWORD=Bizgaze@123
|
|
12
|
+ # volumes:
|
|
13
|
+ # - /var/lib/mongodb:/data/db
|
14
|
14
|
|
15
|
|
- postgresql:
|
16
|
|
- image: postgres:14
|
17
|
|
- container_name: postgresql_${containername}
|
18
|
|
- ports:
|
19
|
|
- - "2424:2424"
|
20
|
|
- environment:
|
21
|
|
- - POSTGRES_USER=postgres
|
22
|
|
- - POSTGRES_PASSWORD=Bizgaze@123
|
23
|
|
- - POSTGRES_HOST=0.0.0.0
|
24
|
|
- volumes:
|
25
|
|
- - /var/lib/postgresql/14/bizgaze:/var/lib/postgresql/data
|
|
15
|
+ #postgresql:
|
|
16
|
+ # image: postgres:14
|
|
17
|
+ # container_name: postgresql_${containername}
|
|
18
|
+ # ports:
|
|
19
|
+ # - "2424:2424"
|
|
20
|
+ # environment:
|
|
21
|
+ # - POSTGRES_USER=postgres
|
|
22
|
+ # - POSTGRES_PASSWORD=Bizgaze@123
|
|
23
|
+ # - POSTGRES_HOST=0.0.0.0
|
|
24
|
+ # volumes:
|
|
25
|
+ # - /var/lib/postgresql/14/bizgaze:/var/lib/postgresql/data
|
26
|
26
|
|
27
|
27
|
bizgaze_application:
|
28
|
28
|
image: harbor.hireserver.com/${reponame}/application:latest
|
|
@@ -35,14 +35,14 @@ services:
|
35
|
35
|
- ${_files_dir}:/opt/bizgaze/wwwroot/_files
|
36
|
36
|
environment:
|
37
|
37
|
- appversion=1290
|
38
|
|
- - ConnectionStrings__common=server=192.168.88.104;port=2424;Database=qa_common_tenant;User id=postgres;Password=Bizgaze@123;MaxPoolSize=5000;Connection Lifetime=300
|
39
|
|
- - ConnectionStrings__common_nsdb=qa_common_tenant
|
40
|
|
- - ConnectionStrings__nsdb_remoteconnection=mongodb://admin:Bizgaze%40123@192.168.88.104:27017/authSource={{mongo_db}}&ssl=false?authSource=admin&readPreference=primary&directConnection=true&ssl=false
|
41
|
|
- - ConnectionStrings__postgres=server=localhost;port=5432;Database=postgres;User id=postgres;Password=Bizgaze@123
|
|
38
|
+ # - ConnectionStrings__common=server=192.168.88.104;port=2424;Database=qa_common_tenant;User id=postgres;Password=Bizgaze@123;MaxPoolSize=5000;Connection Lifetime=300
|
|
39
|
+ # - ConnectionStrings__common_nsdb=qa_common_tenant
|
|
40
|
+ # - ConnectionStrings__nsdb_remoteconnection=mongodb://admin:Bizgaze%40123@192.168.88.104:27017/authSource={{mongo_db}}&ssl=false?authSource=admin&readPreference=primary&directConnection=true&ssl=false
|
|
41
|
+ # - ConnectionStrings__postgres=server=localhost;port=5432;Database=postgres;User id=postgres;Password=Bizgaze@123
|
42
|
42
|
- environment=test
|
43
|
|
- depends_on:
|
44
|
|
- - mongodb
|
45
|
|
- - postgresql
|
|
43
|
+ # depends_on:
|
|
44
|
+ # - mongodb
|
|
45
|
+ # - postgresql
|
46
|
46
|
|
47
|
47
|
bizgaze_assets:
|
48
|
48
|
image: harbor.hireserver.com/${reponame}/assets:latest
|
|
@@ -59,10 +59,10 @@ services:
|
59
|
59
|
- ${automation_appsettings}:/opt/automation/appsettings.json
|
60
|
60
|
environment:
|
61
|
61
|
- automationversion=1289
|
62
|
|
- - ConnectionStrings__common=server=postgresql_${containername};port=2424;Database=bizgaze_common_demo_0905;User id=postgres;Password=Bizgaze@123;MaxPoolSize=5000;Connection Lifetime=300
|
63
|
|
- - ConnectionStrings__common_nsdb=bizgaze_common_demo_0905
|
64
|
|
- - ConnectionStrings__nsdb_remoteconnection=mongodb://admin:Bizgaze%40123@mongodb_${containername}:27017/authSource={{mongo_db}}&ssl=false?authSource=admin&readPreference=primary&directConnection=true&ssl=false
|
65
|
|
- - ConnectionStrings__postgres=server=localhost;port=5432;Database=postgres;User id=postgres;Password=Bizgaze@123
|
66
|
|
- depends_on:
|
67
|
|
- - mongodb
|
68
|
|
- - postgresql
|
|
62
|
+ # - ConnectionStrings__common=server=postgresql_${containername};port=2424;Database=bizgaze_common_demo_0905;User id=postgres;Password=Bizgaze@123;MaxPoolSize=5000;Connection Lifetime=300
|
|
63
|
+ # - ConnectionStrings__common_nsdb=bizgaze_common_demo_0905
|
|
64
|
+ # - ConnectionStrings__nsdb_remoteconnection=mongodb://admin:Bizgaze%40123@mongodb_${containername}:27017/authSource={{mongo_db}}&ssl=false?authSource=admin&readPreference=primary&directConnection=true&ssl=false
|
|
65
|
+ # - ConnectionStrings__postgres=server=localhost;port=5432;Database=postgres;User id=postgres;Password=Bizgaze@123
|
|
66
|
+ #depends_on:
|
|
67
|
+ # - mongodb
|
|
68
|
+ # - postgresql
|