|
@@ -1,73 +1,35 @@
|
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
|
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
|
26
|
|
-
|
27
|
4
|
bizgaze_application:
|
28
|
5
|
image: harbor.hireserver.com/${reponame}/application:latest
|
29
|
6
|
container_name: bizgaze_application_${containername}
|
30
|
7
|
ports:
|
31
|
8
|
- "${hostport}:80"
|
32
|
9
|
volumes:
|
33
|
|
- - ${application_appsettings}:/opt/bizgaze/appsettings.json
|
34
|
|
- - ${settings_dir}:/opt/bizgaze/wwwroot/settings
|
35
|
|
- - ${_files_dir}:/opt/bizgaze/wwwroot/_files
|
|
10
|
+ - /opt/bizgaze/applications/${containername}/appsettings.json:/opt/bizgaze/appsettings.json
|
|
11
|
+ - /opt/bizgaze/applications/${containername}/settings:/opt/bizgaze/wwwroot/settings
|
|
12
|
+ - /opt/bizgaze/applications/${containername}/_files:/opt/bizgaze/wwwroot/_files
|
36
|
13
|
environment:
|
37
|
|
- - appversion=2024-05-17 16:00:26.829121809
|
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
|
|
14
|
+ - appversion=98
|
42
|
15
|
- environment=test
|
43
|
|
- #deploy:
|
44
|
|
- # replicas: 3
|
45
|
|
- # update_config:
|
46
|
|
- # parallelism: 1
|
47
|
|
- # delay: 10s
|
48
|
|
- # depends_on:
|
49
|
|
- # - mongodb
|
50
|
|
- # - postgresql
|
51
|
|
-
|
52
|
16
|
bizgaze_assets:
|
53
|
17
|
image: harbor.hireserver.com/${reponame}/assets:latest
|
54
|
18
|
container_name: bizgaze_assets_${containername}
|
55
|
19
|
ports:
|
56
|
20
|
- "${assetsport}:80"
|
|
21
|
+ volumes:
|
|
22
|
+ - /opt/bizgaze/applications/${containername}/assets/appsettings.json:/opt/bizgaze/appsettings.json
|
|
23
|
+ - /opt/bizgaze/applications/${containername}/settings:/opt/bizgaze/wwwroot/settings
|
|
24
|
+ - /opt/bizgaze/applications/${containername}/assets/_files:/opt/bizgaze/wwwroot/_files
|
57
|
25
|
environment:
|
58
|
|
- - assetsversion=1294
|
59
|
|
-
|
|
26
|
+ - assetsversion=93
|
60
|
27
|
bizgaze_automation:
|
61
|
28
|
image: harbor.hireserver.com/${reponame}/automation:latest
|
62
|
29
|
container_name: bizgaze_automation_${containername}
|
63
|
30
|
volumes:
|
64
|
|
- - ${automation_appsettings}:/opt/automation/appsettings.json
|
|
31
|
+ - /opt/bizgaze/services/${containername}/appsettings.json:/opt/automation/appsettings.json
|
65
|
32
|
environment:
|
66
|
|
- - automationversion=1294
|
67
|
|
- # - ConnectionStrings__common=server=postgresql_${containername};port=2424;Database=bizgaze_common_demo_0905;User id=postgres;Password=Bizgaze@123;MaxPoolSize=5000;Connection Lifetime=300
|
68
|
|
- # - ConnectionStrings__common_nsdb=bizgaze_common_demo_0905
|
69
|
|
- # - ConnectionStrings__nsdb_remoteconnection=mongodb://admin:Bizgaze%40123@mongodb_${containername}:27017/authSource={{mongo_db}}&ssl=false?authSource=admin&readPreference=primary&directConnection=true&ssl=false
|
70
|
|
- # - ConnectionStrings__postgres=server=localhost;port=5432;Database=postgres;User id=postgres;Password=Bizgaze@123
|
71
|
|
- #depends_on:
|
72
|
|
- # - mongodb
|
73
|
|
- # - postgresql
|
|
33
|
+ - automationversion=93
|
|
34
|
+
|
|
35
|
+
|