Update 'docker-compose.yml'
Этот коммит содержится в:
+35
-35
@@ -1,28 +1,28 @@
|
||||
version: '3.8'
|
||||
|
||||
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
|
||||
#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
|
||||
#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:
|
||||
image: harbor.hireserver.com/${reponame}/application:latest
|
||||
@@ -35,14 +35,14 @@ services:
|
||||
- ${_files_dir}:/opt/bizgaze/wwwroot/_files
|
||||
environment:
|
||||
- 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_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
|
||||
# - 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
|
||||
depends_on:
|
||||
- mongodb
|
||||
- postgresql
|
||||
# depends_on:
|
||||
# - mongodb
|
||||
# - postgresql
|
||||
|
||||
bizgaze_assets:
|
||||
image: harbor.hireserver.com/${reponame}/assets:latest
|
||||
@@ -59,10 +59,10 @@ services:
|
||||
- ${automation_appsettings}:/opt/automation/appsettings.json
|
||||
environment:
|
||||
- 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_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
|
||||
# - 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
|
||||
|
||||
Ссылка в новой задаче
Block a user