updating docker file by adding mongodb and postgresql
This commit is contained in:
+27
-3
@@ -11,18 +11,42 @@ services:
|
|||||||
- ${settings_dir}:/opt/bizgaze/wwwroot/settings
|
- ${settings_dir}:/opt/bizgaze/wwwroot/settings
|
||||||
- ${_files_dir}:/opt/bizgaze/wwwroot/_files
|
- ${_files_dir}:/opt/bizgaze/wwwroot/_files
|
||||||
environment:
|
environment:
|
||||||
- appversion=956
|
- appversion=953
|
||||||
|
|
||||||
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"
|
||||||
environment:
|
environment:
|
||||||
- assetsversion=955
|
- assetsversion=952
|
||||||
|
|
||||||
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
|
- ${automation_appsettings}:/opt/automation/appsettings.json
|
||||||
environment:
|
environment:
|
||||||
- automationversion=955
|
- automationversion=952
|
||||||
|
|
||||||
|
mongodb:
|
||||||
|
image: mongo:6.0.6
|
||||||
|
container_name: mongodb_${containername}
|
||||||
|
ports:
|
||||||
|
- "28087: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:
|
||||||
|
- "${postgresql_port}:5432"
|
||||||
|
environment:
|
||||||
|
- POSTGRES_USER=postgres
|
||||||
|
- POSTGRES_PASSWORD=Bizgaze@123
|
||||||
|
volumes:
|
||||||
|
- /var/lib/postgresql/14/bizgaze:/var/lib/postgresql/data
|
||||||
|
|||||||
Reference in New Issue
Block a user