kereis / traefik-certs-dumper

Dumps Let's Encrypt certificates of a specified domain which Traefik stores in acme.json.
Apache License 2.0
129 stars 24 forks source link

Traefik_certdumper - mailcow FATAL ERROR #16

Closed Ice-Cue closed 4 years ago

Ice-Cue commented 4 years ago

Hello,

i am getting this error on my system. and my Mailserver, Mailcow, is not reciving an Certification. do you know the error?

traefik_certdumper | traefik-certs-dumper bash script by Humenius contact@humenius.me traefik_certdumper | Usage: /run.sh [-r|--restart-containers ] [-h|--help] traefik_certdumper | -r, --restart-containers: Restart containers passed as comma-separated container names (no default) traefik_certdumper | -h, --help: Prints help traefik_certdumper | Environment variables: traefik_certdumper | DOMAIN: Domains whose certificates will be extracted

thx for your help :-)

kereis commented 4 years ago

Can you provide the version you were using and a snippet of your docker-compose.yml where you are using the image?

Ice-Cue commented 4 years ago

version: '2.1' services: nginx-mailcow: labels:

kereis commented 4 years ago

On certdumper.command, you need to add another - between the - and restart-containers. Also, make sure you're using the right service names for --restart-containers.

Ice-Cue commented 4 years ago

thx. now it works. you are the best :-)