Closed Ice-Cue closed 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?
version: '2.1' services: nginx-mailcow: labels:
mail.xxx-xxx.de
)"{host:(autodiscover|autoconfig|webmail|mail|email).+}
)"mail.xxx-xxx.de
)" ###### hier eure FQDN angeben #####webmail.xxx-xxx.de
)"webmail.xxx-xxx.de
) && PathPrefix(/SOGo.woa
)""traefik.http.middlewares.webmail_addprefix_sogo.addprefix.prefix=/SOGo"
networks: proxy: certdumper: image: humenius/traefik-certs-dumper container_name: traefik_certdumper restart: unless-stopped network_mode: none command: – restart-containers mailcowdockerized_postfix-mailcow_1,mailcowdockerized_dovecot-mailcow_1 volumes:
# in this case Traefik is started from its own docker-compose in ../traefik
- /opt/containers/traefik/data:/traefik:ro
# mount mailcow's SSL folder
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./data/assets/ssl:/output:rw
environment:
# only change this, if you're using another domain for mailcow's web frontend compared to the standard config
#- DOMAIN=${MAILCOW_HOSTNAME}
- DOMAIN=xxx-xxx.de #### Hier eure Domain ohne mail angeben ###
networks: proxy: external: true
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
.
thx. now it works. you are the best :-)
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 :-)