Add automatic restart to mongo service

This commit is contained in:
Max Schmidt 2023-06-18 10:14:32 +02:00
parent ec06f7e00b
commit 8e7d0c30fe
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ services:
mongo:
container_name: ${NAME}-mongo
image: mongo:6.0.5
restart: unless-stopped
volumes:
- ./data/mongo:/data/db
command: