From 8d6207186f5db120cd09243aa5250a052c4c2e81 Mon Sep 17 00:00:00 2001 From: surtur Date: Sun, 11 Oct 2020 19:50:06 +0200 Subject: [PATCH] fix: maintain state after dockerd restarts --- docker-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 255f08d..079525b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,6 +8,7 @@ services: - default ports: - 127.0.0.1:1314:80 + restart: always volumes: # So that traefik can listen to the Docker events - /var/run/docker.sock:/var/run/docker.sock:ro @@ -18,7 +19,7 @@ services: image: homepage networks: - internal-nw - restart: unless-stopped + restart: always labels: - traefik.enable=true - traefik.http.services.homepage.loadbalancer.server.port=80