From bebb05268c0fa551c1ebc2cd2af3c110c817e80c Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 10 Aug 2022 04:45:39 -0400 Subject: [PATCH] feat: restart traefik automatically unless stopped --- plugins/traefik-vhosts/templates/compose.yml.sigil | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/traefik-vhosts/templates/compose.yml.sigil b/plugins/traefik-vhosts/templates/compose.yml.sigil index 866f78600..7286334a3 100644 --- a/plugins/traefik-vhosts/templates/compose.yml.sigil +++ b/plugins/traefik-vhosts/templates/compose.yml.sigil @@ -49,6 +49,8 @@ services: - "80:80" - "443:443" + restart: unless-stopped + volumes: - "/var/run/docker.sock:/var/run/docker.sock:ro" - "{{ $.TRAEFIK_DATA_DIR }}/traefik-acme.json:/acme.json"