diff --git a/docker-compose.yml b/docker-compose.yml index 6764e46..3f5319c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: diff --git a/traefik/traefik.yml b/traefik/traefik.yml index 1863682..cc39c65 100644 --- a/traefik/traefik.yml +++ b/traefik/traefik.yml @@ -18,7 +18,7 @@ entryPoints: certificatesResolvers: le: acme: - storage: acme.json + storage: /config/acme.json httpChallenge: # used during the challenge entryPoint: insecure