feat: restart traefik automatically unless stopped
This commit is contained in:
@@ -49,6 +49,8 @@ services:
|
|||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
|
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||||
- "{{ $.TRAEFIK_DATA_DIR }}/traefik-acme.json:/acme.json"
|
- "{{ $.TRAEFIK_DATA_DIR }}/traefik-acme.json:/acme.json"
|
||||||
|
|||||||
Reference in New Issue
Block a user