in the traefik.http.yml file in order to get letsencrypt folder mapped correctly to local filesystem from docker compose, the certresolver section should be changed this way:
certificatesResolvers:
myresolver:
acme:
email: your_email@example.com
storage: /letsencrypt/acme.json
httpChallenge:
entryPoint: web
storage key with value acme.json alone, would not map correctly the file.
in the
traefik.http.yml
file in order to getletsencrypt
folder mapped correctly to local filesystem from docker compose, the certresolver section should be changed this way:storage
key with valueacme.json
alone, would not map correctly the file.Ref. https://doc.traefik.io/traefik/user-guides/docker-compose/acme-http/#setup