Update 'docker-compose.yml'
This commit is contained in:
+13
-51
@@ -1,73 +1,35 @@
|
|||||||
version: '3.8'
|
version: '3.8'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
#mongodb:
|
|
||||||
# image: mongo:6.0.6
|
|
||||||
# container_name: mongodb_${containername}
|
|
||||||
# ports:
|
|
||||||
# - "27017:27017"
|
|
||||||
# environment:
|
|
||||||
# - MONGO_INITDB_ROOT_USERNAME=admin
|
|
||||||
# - MONGO_INITDB_ROOT_PASSWORD=Bizgaze@123
|
|
||||||
# volumes:
|
|
||||||
# - /var/lib/mongodb:/data/db
|
|
||||||
|
|
||||||
#postgresql:
|
|
||||||
# image: postgres:14
|
|
||||||
# container_name: postgresql_${containername}
|
|
||||||
# ports:
|
|
||||||
# - "2424:2424"
|
|
||||||
# environment:
|
|
||||||
# - POSTGRES_USER=postgres
|
|
||||||
# - POSTGRES_PASSWORD=Bizgaze@123
|
|
||||||
# - POSTGRES_HOST=0.0.0.0
|
|
||||||
# volumes:
|
|
||||||
# - /var/lib/postgresql/14/bizgaze:/var/lib/postgresql/data
|
|
||||||
|
|
||||||
bizgaze_application:
|
bizgaze_application:
|
||||||
image: harbor.hireserver.com/${reponame}/application:latest
|
image: harbor.hireserver.com/${reponame}/application:latest
|
||||||
container_name: bizgaze_application_${containername}
|
container_name: bizgaze_application_${containername}
|
||||||
ports:
|
ports:
|
||||||
- "${hostport}:80"
|
- "${hostport}:80"
|
||||||
volumes:
|
volumes:
|
||||||
- ${application_appsettings}:/opt/bizgaze/appsettings.json
|
- /opt/bizgaze/applications/${containername}/appsettings.json:/opt/bizgaze/appsettings.json
|
||||||
- ${settings_dir}:/opt/bizgaze/wwwroot/settings
|
- /opt/bizgaze/applications/${containername}/settings:/opt/bizgaze/wwwroot/settings
|
||||||
- ${_files_dir}:/opt/bizgaze/wwwroot/_files
|
- /opt/bizgaze/applications/${containername}/_files:/opt/bizgaze/wwwroot/_files
|
||||||
environment:
|
environment:
|
||||||
- appversion=2024-05-17 16:00:26.829121809
|
- appversion=98
|
||||||
# - ConnectionStrings__common=server=192.168.88.104;port=2424;Database=qa_common_tenant;User id=postgres;Password=Bizgaze@123;MaxPoolSize=5000;Connection Lifetime=300
|
|
||||||
# - ConnectionStrings__common_nsdb=qa_common_tenant
|
|
||||||
# - 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
|
|
||||||
# - ConnectionStrings__postgres=server=localhost;port=5432;Database=postgres;User id=postgres;Password=Bizgaze@123
|
|
||||||
- environment=test
|
- environment=test
|
||||||
#deploy:
|
|
||||||
# replicas: 3
|
|
||||||
# update_config:
|
|
||||||
# parallelism: 1
|
|
||||||
# delay: 10s
|
|
||||||
# depends_on:
|
|
||||||
# - mongodb
|
|
||||||
# - postgresql
|
|
||||||
|
|
||||||
bizgaze_assets:
|
bizgaze_assets:
|
||||||
image: harbor.hireserver.com/${reponame}/assets:latest
|
image: harbor.hireserver.com/${reponame}/assets:latest
|
||||||
container_name: bizgaze_assets_${containername}
|
container_name: bizgaze_assets_${containername}
|
||||||
ports:
|
ports:
|
||||||
- "${assetsport}:80"
|
- "${assetsport}:80"
|
||||||
|
volumes:
|
||||||
|
- /opt/bizgaze/applications/${containername}/assets/appsettings.json:/opt/bizgaze/appsettings.json
|
||||||
|
- /opt/bizgaze/applications/${containername}/settings:/opt/bizgaze/wwwroot/settings
|
||||||
|
- /opt/bizgaze/applications/${containername}/assets/_files:/opt/bizgaze/wwwroot/_files
|
||||||
environment:
|
environment:
|
||||||
- assetsversion=1294
|
- assetsversion=93
|
||||||
|
|
||||||
bizgaze_automation:
|
bizgaze_automation:
|
||||||
image: harbor.hireserver.com/${reponame}/automation:latest
|
image: harbor.hireserver.com/${reponame}/automation:latest
|
||||||
container_name: bizgaze_automation_${containername}
|
container_name: bizgaze_automation_${containername}
|
||||||
volumes:
|
volumes:
|
||||||
- ${automation_appsettings}:/opt/automation/appsettings.json
|
- /opt/bizgaze/services/${containername}/appsettings.json:/opt/automation/appsettings.json
|
||||||
environment:
|
environment:
|
||||||
- automationversion=1294
|
- automationversion=93
|
||||||
# - ConnectionStrings__common=server=postgresql_${containername};port=2424;Database=bizgaze_common_demo_0905;User id=postgres;Password=Bizgaze@123;MaxPoolSize=5000;Connection Lifetime=300
|
|
||||||
# - ConnectionStrings__common_nsdb=bizgaze_common_demo_0905
|
|
||||||
# - ConnectionStrings__nsdb_remoteconnection=mongodb://admin:Bizgaze%40123@mongodb_${containername}:27017/authSource={{mongo_db}}&ssl=false?authSource=admin&readPreference=primary&directConnection=true&ssl=false
|
|
||||||
# - ConnectionStrings__postgres=server=localhost;port=5432;Database=postgres;User id=postgres;Password=Bizgaze@123
|
|
||||||
#depends_on:
|
|
||||||
# - mongodb
|
|
||||||
# - postgresql
|
|
||||||
|
|||||||
Reference in New Issue
Block a user