Update docker-compose.yml
mongodb could not be stopped manually, as it restarts always
This commit is contained in:
@@ -3,7 +3,7 @@ version: "3.9"
|
|||||||
services:
|
services:
|
||||||
mongo:
|
mongo:
|
||||||
image: mongo
|
image: mongo
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./whishper_data/db_data:/data/db
|
- ./whishper_data/db_data:/data/db
|
||||||
- ./whishper_data/db_data/logs/:/var/log/mongodb/
|
- ./whishper_data/db_data/logs/:/var/log/mongodb/
|
||||||
@@ -107,4 +107,4 @@ services:
|
|||||||
whishper-backend:
|
whishper-backend:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
ports:
|
ports:
|
||||||
- 8082:80
|
- 8082:80
|
||||||
|
|||||||
Reference in New Issue
Block a user