Sign inSign up

rveillerot/dumpcerts

By rveillerot

Updated over 5 years ago

dumpcerts

Image
0

50K+

rveillerot/dumpcerts repository overview

Dumpcerts

This container will monitor Traefik acme.json file for changes and run dumpcerts.sh if it happens. The container is using dumpcerts.sh from https://github.com/containous/traefik/blob/master/contrib/scripts/dumpcerts.sh

Usage

  • Clone this repository
  • Build container.
docker build -t dumpcerts .
  • Container is looking for the file "/etc/traefik/acme.json". Mount or bind it as readonly where it exist. Output should be a directory, in this example I use readwrite volume "tls".
docker volume create tls
docker run --name dumpcerts --network none -it -d \
  -v traefik:/etc/traefik:ro \
  -v tls:/tls:rw \
  dumpcerts
  • Now all TLS certificates is dumped into volume "tls". Mount it as readonly in other containers for usage.

Tag summary

Content type

Image

Digest

Size

6.4 MB

Last updated

over 5 years ago

docker pull rveillerot/dumpcerts