Sign inSign up

trueosiris/dumpcerts

By trueosiris

•Updated almost 4 years ago

cronned dump of letsencrypt certificates from traefik acme.json

Image
0

442

trueosiris/dumpcerts repository overview

⁠Traefik dumpcerts cronned

Docker Pulls Docker Stars Docker Image Size Github stars Github forks Github issues Github last-commit

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.

VariableKeyDescription
TZEurope/Brusselstimezone for ntpdate
PROVIDERprovider as defined by you in traefik certificatesResolversletsencrypt
CRONSCHEDULEmandatory schedule* * * * *

⁠Usage

docker run \
  -v /your/acme/folder:/acme 
  -e PROVIDER=godaddy1
  -e CRONSCHEDULE="15 7 * * *"

Tag summary

Content type

Image

Digest

sha256:c0f33e13f…

Size

9.6 MB

Last updated

almost 4 years ago

docker pull trueosiris/dumpcerts