acme.json is now persisted

This commit is contained in:
Jean Froment 2020-09-11 13:29:19 +02:00
parent a164ab76b7
commit b127f179c6
2 changed files with 6 additions and 1 deletions

View File

@ -12,6 +12,7 @@ services:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./traefik:/etc/traefik
- configtraefik:/config
labels:
- "traefik.enable=true"
# HTTP to HTTPS redirection
@ -293,6 +294,10 @@ volumes:
driver: local-persist
driver_opts:
mountpoint: /data/config
configtraefik:
driver: local-persist
driver_opts:
mountpoint: /data/config/traefik
configplex:
driver: local-persist
driver_opts:

View File

@ -18,7 +18,7 @@ entryPoints:
certificatesResolvers:
le:
acme:
storage: acme.json
storage: /config/acme.json
httpChallenge:
# used during the challenge
entryPoint: insecure