Auto-generation of a Let's Encrypt certificate for HTTPS

I have

services:
  traefik:
    volumes:
      # Mount ACME shared json config for lets-encrypt
      - $PWD/.custom/traefik_custom/acme:/acme
certificatesResolvers:
  letsEncryptCertResolver:
    acme:
      storage: /acme.json

instead of

services:
  traefik:
    volumes:
      # Mount ACME shared json config for lets-encrypt
      - $PWD/.custom/traefik_custom/acme:/acme
certificatesResolvers:
  letsEncryptCertResolver:
    acme:
      storage: /acme/acme.json

This may be the reason why.
If so, I suggest to update the documentation to reflect what is configured by default in the template dockerfiles.

1 Like

Thanks for pointing that out, indeed it should be corrected in documentation and example code.

1 Like

Confirmed: this was the reason.
It works now! Thank you.