Update docker-compose.yml

mongodb could not be stopped manually, as it restarts always
This commit is contained in:
hundehausen
2023-08-29 22:33:40 +02:00
committed by GitHub
parent 0ec31303ad
commit cbc22e01f4

View File

@@ -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