@ -176,20 +176,21 @@ One such example is ``mailu/traefik-certdumper``, which has been adapted for use
# !!! Also don’t forget to add "TRAEFIK_DOMAIN=[...]" to your .env!
# !!! Also don’t forget to add "TRAEFIK_DOMAIN=[...]" to your .env!
- DOMAIN=$TRAEFIK_DOMAIN
- DOMAIN=$TRAEFIK_DOMAIN
volumes:
volumes:
# Folder, which contains the acme.json
- "/data/traefik:/traefik"
- "/data/traefik:/traefik"
- "$ROOT/certs:/output"
# Folder, where your.doma.in.crt and your.doma.in.key will be written
- "/data/traefik/certs:/output"
Assuming you have ``volume-mounted`` your ``acme.json`` put to ``/data/traefik`` on your host. The dumper will then write out ``/data/traefik/certs/your.doma.in.crt``
Assuming you have ``volume-mounted`` your ``acme.json`` put to ``/data/traefik`` on your host. The dumper will then write out ``/data/traefik/ssl/your.doma.in.crt``
and ``/data/traefik/certs/your.doma.in.key`` whenever ``acme.json`` is updated. Yay! Now let’s mount this to our ``front`` container like:
and ``/data/traefik/ssl/your.doma.in.key`` whenever ``acme.json`` is updated. Yay! Now let’s mount this to our ``front`` container like: