fix: maintain state after dockerd restarts
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2020-10-11 19:50:06 +02:00
parent 2c7b38da0a
commit 8d6207186f
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -8,6 +8,7 @@ services:
- default - default
ports: ports:
- 127.0.0.1:1314:80 - 127.0.0.1:1314:80
restart: always
volumes: volumes:
# So that traefik can listen to the Docker events # So that traefik can listen to the Docker events
- /var/run/docker.sock:/var/run/docker.sock:ro - /var/run/docker.sock:/var/run/docker.sock:ro
@ -18,7 +19,7 @@ services:
image: homepage image: homepage
networks: networks:
- internal-nw - internal-nw
restart: unless-stopped restart: always
labels: labels:
- traefik.enable=true - traefik.enable=true
- traefik.http.services.homepage.loadbalancer.server.port=80 - traefik.http.services.homepage.loadbalancer.server.port=80