cronned dump of letsencrypt certificates from traefik acme.json
442
Docker image for script https://github.com/containous/traefik/blob/master/contrib/scripts/dumpcerts.sh
It extracts certificates from the acme.json file, generated or pulled by Traefik via dnsChallenge.
forked from https://github.com/kardasz so all credit goes to him for the script.
I added cron functionality to have it running as a permanent container.
Example: I want an extract of the certificates every morning at 7h15.
2 subdirectories will be created where your acme.json resides: certs & private.
The contents will be overwritten on each cron run.
| Variable | Key | Description |
|---|---|---|
| TZ | Europe/Brussels | timezone for ntpdate |
| PROVIDER | provider as defined by you in traefik certificatesResolvers | letsencrypt |
| CRONSCHEDULE | mandatory schedule | * * * * * |
docker run \
-v /your/acme/folder:/acme
-e PROVIDER=godaddy1
-e CRONSCHEDULE="15 7 * * *"
Content type
Image
Digest
sha256:c0f33e13f…
Size
9.6 MB
Last updated
almost 4 years ago
docker pull trueosiris/dumpcerts