Improve traefik-certs-dumper service

This commit is contained in:
thopic committed 2023-03-02 18:37:04 +01:00
1 parent a372c39f0d
commit beb5cdadbf
1 file changed
+10 -4
+10 -4
View File
@@ -20,17 +20,23 @@ services:
certdumper:
image: humenius/traefik-certs-dumper
restart: always
# container_name: traefik_certdumper
command: --restart-containers ${COMPOSE_PROJECT_NAME}-postfix-mailcow-1,${COMPOSE_PROJECT_NAME}-nginx-mailcow-1,${COMPOSE_PROJECT_NAME}-dovecot-mailcow-1
network_mode: none
volumes:
# mount the folder which contains Traefik's `acme.json' file
# in this case Traefik is started from its own docker-compose in ../traefik
# Mount the folder which contains Traefik's `acme.json' file
- ${DATA_PATH}/traefik:/traefik:ro
# mount mailcow's SSL folder
# Mount mailcow's SSL folder
- ./data/assets/ssl/:/output:rw
# Mount docker socket to restart containers
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
# only change this, if you're using another domain for mailcow's web frontend compared to the standard config
- DOMAIN=${MAILCOW_HOSTNAME}
healthcheck:
test: ["CMD", "/usr/bin/healthcheck"]
interval: 30s
timeout: 10s
retries: 5
ipv6nat-mailcow:
image: bash:latest