Naming containers and freezing mongo version to 4.4.19

This commit is contained in:
2023-03-16 02:23:54 +01:00
parent f35182233b
commit 2b55d206e2
2 changed files with 7 additions and 4 deletions

View File

@@ -3,9 +3,8 @@ services:
back:
build:
context: ${ROOT_PATH}/back
image: cht-lawfirm-back-prod
restart: always
ports:
- "8000:8000"
volumes:
- ${ROOT_PATH}/back/app:/code/app
- ${ROOT_PATH}/back/media:/code/media
@@ -14,12 +13,13 @@ services:
build:
context: ${ROOT_PATH}/front
dockerfile: prod.Dockerfile
image: cht-lawfirm-nginx-prod
restart: always
ports:
- "3820:80"
mongo:
image: "mongo:4.4.18"
image: "mongo:4.4.19"
restart: always
ports:
- "27017:27017"