|
@@ -1,6 +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
|
+ - "28087: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
|
+
|
|
15
|
+ postgresql:
|
|
16
|
+ image: postgres:14
|
|
17
|
+ container_name: postgresql_${containername}
|
|
18
|
+ ports:
|
|
19
|
+ - "2424:5432"
|
|
20
|
+ environment:
|
|
21
|
+ - POSTGRES_USER=postgres
|
|
22
|
+ - POSTGRES_PASSWORD=Bizgaze@123
|
|
23
|
+ volumes:
|
|
24
|
+ - /var/lib/postgresql/14/bizgaze:/var/lib/postgresql/data
|
|
25
|
+
|
4
|
26
|
bizgaze_application:
|
5
|
27
|
image: harbor.hireserver.com/${reponame}/application:latest
|
6
|
28
|
container_name: bizgaze_application_${containername}
|
|
@@ -11,18 +33,28 @@ services:
|
11
|
33
|
- ${settings_dir}:/opt/bizgaze/wwwroot/settings
|
12
|
34
|
- ${_files_dir}:/opt/bizgaze/wwwroot/_files
|
13
|
35
|
environment:
|
14
|
|
- - appversion=897
|
|
36
|
+ - appversion=958
|
|
37
|
+ - ConnectionStrings__common=server=postgresql_${containername};port=2424;Database=bizgaze_common_demo_0905;User id=postgres;Password=Bizgaze@123;MaxPoolSize=5000;Connection Lifetime=300
|
|
38
|
+ - ConnectionStrings__common_nsdb=bizgaze_common_demo_0905
|
|
39
|
+ - ConnectionStrings__nsdb_remoteconnection=mongodb://admin:Bizgaze%40123@mongodb_${containername}:28087/authSource={{mongo_db}}&ssl=false?authSource=admin&readPreference=primary&directConnection=true&ssl=false
|
|
40
|
+ - ConnectionStrings__postgres=server=localhost;port=5432;Database=postgres;User id=postgres;Password=Bizgaze@123
|
|
41
|
+
|
15
|
42
|
bizgaze_assets:
|
16
|
43
|
image: harbor.hireserver.com/${reponame}/assets:latest
|
17
|
44
|
container_name: bizgaze_assets_${containername}
|
18
|
45
|
ports:
|
19
|
46
|
- "${assetsport}:80"
|
20
|
47
|
environment:
|
21
|
|
- - assetsversion=896
|
|
48
|
+ - assetsversion=957
|
|
49
|
+
|
22
|
50
|
bizgaze_automation:
|
23
|
51
|
image: harbor.hireserver.com/${reponame}/automation:latest
|
24
|
52
|
container_name: bizgaze_automation_${containername}
|
25
|
53
|
volumes:
|
26
|
54
|
- ${automation_appsettings}:/opt/automation/appsettings.json
|
27
|
55
|
environment:
|
28
|
|
- - automationversion=896
|
|
56
|
+ - automationversion=957
|
|
57
|
+ - ConnectionStrings__common=server=postgresql_${containername};port=2424;Database=bizgaze_common_demo_0905;User id=postgres;Password=Bizgaze@123;MaxPoolSize=5000;Connection Lifetime=300
|
|
58
|
+ - ConnectionStrings__common_nsdb=bizgaze_common_demo_0905
|
|
59
|
+ - ConnectionStrings__nsdb_remoteconnection=mongodb://admin:Bizgaze%40123@mongodb_${containername}:28087/authSource={{mongo_db}}&ssl=false?authSource=admin&readPreference=primary&directConnection=true&ssl=false
|
|
60
|
+ - ConnectionStrings__postgres=server=localhost;port=5432;Database=postgres;User id=postgres;Password=Bizgaze@123
|