Files
Docker/docker-compose.yml
T

74 lines
2.8 KiB
YAML
Raw Normal View History

2023-12-12 11:13:11 +05:30
version: '3.8'
2023-12-12 07:00:24 +00:00
2023-12-12 11:13:11 +05:30
services:
2024-02-13 17:31:41 +00:00
#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
2024-01-29 17:21:51 +00:00
2024-02-13 17:31:41 +00:00
#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
2024-01-29 17:21:51 +00:00
2023-12-12 11:13:11 +05:30
bizgaze_application:
2023-12-13 16:39:34 +00:00
image: harbor.hireserver.com/${reponame}/application:latest
2023-12-12 11:18:57 +05:30
container_name: bizgaze_application_${containername}
2023-12-12 11:13:11 +05:30
ports:
- "${hostport}:80"
volumes:
- ${application_appsettings}:/opt/bizgaze/appsettings.json
- ${settings_dir}:/opt/bizgaze/wwwroot/settings
2023-12-12 21:45:39 +05:30
- ${_files_dir}:/opt/bizgaze/wwwroot/_files
2023-12-14 05:13:51 +00:00
environment:
- appversion=2024-05-17 13:56:03.198218516
2024-02-13 17:31:41 +00:00
# - 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
2024-02-08 10:03:55 +00:00
- environment=test
2024-02-16 06:56:41 +00:00
#deploy:
# replicas: 3
# update_config:
# parallelism: 1
# delay: 10s
2024-02-13 17:31:41 +00:00
# depends_on:
# - mongodb
# - postgresql
2024-01-29 17:21:51 +00:00
2023-12-14 05:06:34 +00:00
bizgaze_assets:
2023-12-14 05:05:48 +00:00
image: harbor.hireserver.com/${reponame}/assets:latest
container_name: bizgaze_assets_${containername}
2023-12-14 06:20:47 +00:00
ports:
- "${assetsport}:80"
2023-12-14 05:13:51 +00:00
environment:
2024-02-14 10:35:18 +05:30
- assetsversion=1294
2024-01-29 17:21:51 +00:00
2023-12-12 11:13:11 +05:30
bizgaze_automation:
2023-12-13 16:39:34 +00:00
image: harbor.hireserver.com/${reponame}/automation:latest
2023-12-12 11:18:57 +05:30
container_name: bizgaze_automation_${containername}
2023-12-12 11:13:11 +05:30
volumes:
2023-12-12 13:42:57 +05:30
- ${automation_appsettings}:/opt/automation/appsettings.json
environment:
2024-02-14 10:35:18 +05:30
- automationversion=1294
2024-02-13 17:31:41 +00:00
# - 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