dump traefik acme.json certificates for use in mailu
1.8K
This is based on the work by Ludovic Fernandez on https://github.com/ldez/traefik-certs-dumper
This wrapper around the excellent certs-dumper allows to extract certificates
from traefiks acme.json once when they changed, and optionally (using
SCRIPT), execute a command to make some outside service aware of the change.
This can be useful if the certificates acquired by traefik are required
elsewhere, for example for non-HTTPS protocols.
certdumper:
restart: always
image: nebukadneza/traefik-certdumper:latest
environment:
- DOMAIN=mail.your.doma.in
- SCRIPT=chow foo:bar /output/*.pem ; docker restart cool_service
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /data/traefik:/traefik
- /some/where/certs/:/output
Content type
Image
Digest
Size
99.9 MB
Last updated
over 6 years ago
docker pull nebukadneza/traefik-certdumper