From c2a95a734226b03b74fe0611f412ed3c6fa94ece Mon Sep 17 00:00:00 2001 From: Eike Ahmels Date: Thu, 28 Oct 2021 13:02:39 +0200 Subject: [PATCH] NEW: restart docker container on boot --- docker-compose.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index 8ab4333..2b5fa7d 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -8,6 +8,7 @@ networks: services: web: container_name: 'mainsail-stack-web' + restart: always build: dockerfile: Dockerfile context: web @@ -21,6 +22,7 @@ services: - api api: container_name: 'mainsail-stack-api' + restart: always privileged: true tty: true stdin_open: true