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,6 +3,7 @@ services:
back:
build:
context: ./back
image: cht-lawfirm-back-dev
restart: always
ports:
- "8000:8000"
@@ -13,6 +14,7 @@ services:
front:
build:
context: ./front
image: cht-lawfirm-front-dev
restart: always
ports:
- "4200:4200"
@@ -23,12 +25,13 @@ services:
nginx:
build:
context: ./nginx
image: cht-lawfirm-nginx-dev
restart: always
ports:
- "80:80"
mongo:
image: "mongo"
image: "mongo:4.4.19"
restart: always
ports:
- "27017:27017"