Merge pull request #218 from leifnel/master

Make traefik use right net address of nginx
Dieser Commit ist enthalten in:
André Peters 2020-06-02 07:48:09 +02:00 committet von GitHub
Commit 0fba6425c9
Es konnte kein GPG-SchlĂĽssel zu dieser Signatur gefunden werden
GPG-SchlĂĽssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -199,6 +199,8 @@ services:
# Specifies which entrypoint (external port) should traefik listen to, for this container. # Specifies which entrypoint (external port) should traefik listen to, for this container.
# websecure being port 443, check the traefik.toml file liked above. # websecure being port 443, check the traefik.toml file liked above.
- traefik.http.routers.moo.entrypoints=secure - traefik.http.routers.moo.entrypoints=secure
# Make sure traefik uses the web network, not the mailcowdockerized_mailcow-network
- traefik.docker.network=web
certdumper: certdumper:
image: humenius/traefik-certs-dumper image: humenius/traefik-certs-dumper
@ -245,4 +247,4 @@ postfix_c=$(docker ps -qaf name=postfix-mailcow)
dovecot_c=$(docker ps -qaf name=dovecot-mailcow) dovecot_c=$(docker ps -qaf name=dovecot-mailcow)
nginx_c=$(docker ps -qaf name=nginx-mailcow) nginx_c=$(docker ps -qaf name=nginx-mailcow)
docker restart ${postfix_c} ${dovecot_c} ${nginx_c} docker restart ${postfix_c} ${dovecot_c} ${nginx_c}
``` ```