From 8e7d0c30fefb09485587c5d77aebef2fe01ae64a Mon Sep 17 00:00:00 2001 From: Max Schmidt Date: Sun, 18 Jun 2023 10:14:32 +0200 Subject: [PATCH] Add automatic restart to mongo service --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index de87fe2..f764795 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -30,6 +30,7 @@ services: mongo: container_name: ${NAME}-mongo image: mongo:6.0.5 + restart: unless-stopped volumes: - ./data/mongo:/data/db command: