Closed aronmgv closed 8 months ago
Hi,
For my Mailcow behind Traefik setup I just moved from different certdumper to this one and am curious where I should put this service. Into Traefik compose file or Mailcow override compose file? For the old certdumper I used to have it in traefik compose file but for this one I set it up into Mailcow override because of environment variables to restart mailcow services after the dump [...]
Yes, you should probably put it into a override file for Mailcow's docker-compose.yml
.
My main concern is that once certs get renewed for my domain will they be automatically dumped into Mailcow (without manual invervention)?
The underlying script constantly checks if there are any changes to the acme.json
that gets mounted to the certdumper container. If that's the case, at the end of dumping the certificates of your selected domain, the script goes through following lifecycle (w.r.t. https://github.com/kereis/traefik-certs-dumper/blob/develop/bin/dump.sh#L66-L72):
combine_pkcs12
combine_pem
convert_keys_to_rsa
change_ownership
post_hook
restart_containers
restart_services
In that case, if you specify the containers to restart, then the certdumper will restart those containers after dumping the certificates.
I hope that this addresses your concerns. :)
Hey, it does! Thanks a lot. I would mention it in readme file as well.
Hey,
For my Mailcow behind Traefik setup I just moved from different certdumper to this one and am curious where I should put this service. Into Traefik compose file or Mailcow override compose file? For the old certdumper I used to have it in traefik compose file but for this one I set it up into Mailcow override because of environment variables to restart mailcow services after the dump.. My main concern is that once certs get renewed for my domain will they be automatically dumped into Mailcow (without manual invervention)?
Thanks!