You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mailu/optional/traefik-certdumper
Tim Möhlmann fd23e02aaa
Use alpine versioned and defin volumes
6 years ago
..
.dockerignore Add docker to dump traefiks certificates to pem 6 years ago
Dockerfile Use alpine versioned and defin volumes 6 years ago
LICENSE Add docker to dump traefiks certificates to pem 6 years ago
README.md Add docker to dump traefiks certificates to pem 6 years ago
run.sh Add docker to dump traefiks certificates to pem 6 years ago

README.md

Single-domain traefik-certdumper for mailu

This is based on the work by Sven Dowideit on https://github.com/SvenDowideit/traefik-certdumper

Fork?

This is a slight modification that is less flexible, but is adapted to the usecase in mailu. If you wish to deploy mailu behind a traefik, you face many problems. One of these is that you need to get the certificates into mailu in a very defined manner. This will copy the certificate for the Main:-domain given in the DOMAIN-environment onto output.

If your output happens to be mailu-front-/certs, the certificate-watcher in the front-container will catch it and reload nginx. This works for mailu TLS_FLAVOR=[mail, cert]

  certdumper:
    restart: always
    image: Mailu/traefik-certdumper:$VERSION
    environment:
      - DOMAIN=$DOMAIN
    volumes:
      # your traefik data-volume is probably declared outside of the mailu composefile
      - /data/traefik:/traefik
      - $ROOT/certs/:/output/