Version 2 - Default Certificate Storage Location

So for development each time the docker container is restarted a new certificate is generated. Is it possible to add the path it stores certs to as a volume or is more configuration needed?

I just want to stop having to re-accept self signed certificates each time I restart Traefik 2?

Dear John, welcome to the Traefik community.

How did you deploy Traefik?

Regards,
Wolfgang

If you use Docker, just set acme.storage to a dedicated path (for example /acme.json) and use a Docker volume or a Docker bind mount for it.

For current setup for local development I'm using docker compose. Eventually plan on using let's encrypt likely with DNS verification. What I'm trying to solve is having to re-accept the invalid local self signed certificate every-time I reboot the proxy.

Basically just wanted to volumize the default certificate it generates.