Этот коммит содержится в:
2024-02-13 17:31:41 +00:00
родитель aa2ac42aae
Коммит b7851b50e2
+35 -35
Просмотреть файл
@@ -1,28 +1,28 @@
version: '3.8' version: '3.8'
services: services:
mongodb: #mongodb:
image: mongo:6.0.6 # image: mongo:6.0.6
container_name: mongodb_${containername} # container_name: mongodb_${containername}
ports: # ports:
- "27017:27017" # - "27017:27017"
environment: # environment:
- MONGO_INITDB_ROOT_USERNAME=admin # - MONGO_INITDB_ROOT_USERNAME=admin
- MONGO_INITDB_ROOT_PASSWORD=Bizgaze@123 # - MONGO_INITDB_ROOT_PASSWORD=Bizgaze@123
volumes: # volumes:
- /var/lib/mongodb:/data/db # - /var/lib/mongodb:/data/db
postgresql: #postgresql:
image: postgres:14 # image: postgres:14
container_name: postgresql_${containername} # container_name: postgresql_${containername}
ports: # ports:
- "2424:2424" # - "2424:2424"
environment: # environment:
- POSTGRES_USER=postgres # - POSTGRES_USER=postgres
- POSTGRES_PASSWORD=Bizgaze@123 # - POSTGRES_PASSWORD=Bizgaze@123
- POSTGRES_HOST=0.0.0.0 # - POSTGRES_HOST=0.0.0.0
volumes: # volumes:
- /var/lib/postgresql/14/bizgaze:/var/lib/postgresql/data # - /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
@@ -35,14 +35,14 @@ services:
- ${_files_dir}:/opt/bizgaze/wwwroot/_files - ${_files_dir}:/opt/bizgaze/wwwroot/_files
environment: environment:
- appversion=1290 - appversion=1290
- 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=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__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__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 # - ConnectionStrings__postgres=server=localhost;port=5432;Database=postgres;User id=postgres;Password=Bizgaze@123
- environment=test - environment=test
depends_on: # depends_on:
- mongodb # - mongodb
- postgresql # - postgresql
bizgaze_assets: bizgaze_assets:
image: harbor.hireserver.com/${reponame}/assets:latest image: harbor.hireserver.com/${reponame}/assets:latest
@@ -59,10 +59,10 @@ services:
- ${automation_appsettings}:/opt/automation/appsettings.json - ${automation_appsettings}:/opt/automation/appsettings.json
environment: environment:
- automationversion=1289 - automationversion=1289
- 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=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__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__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 # - ConnectionStrings__postgres=server=localhost;port=5432;Database=postgres;User id=postgres;Password=Bizgaze@123
depends_on: #depends_on:
- mongodb # - mongodb
- postgresql # - postgresql