Improve traefik-certs-dumper service
This commit is contained in:
parent
a372c39f0d
commit
beb5cdadbf
@ -20,17 +20,23 @@ services:
|
|||||||
certdumper:
|
certdumper:
|
||||||
image: humenius/traefik-certs-dumper
|
image: humenius/traefik-certs-dumper
|
||||||
restart: always
|
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
|
network_mode: none
|
||||||
volumes:
|
volumes:
|
||||||
# mount the folder which contains Traefik's `acme.json' file
|
# Mount the folder which contains Traefik's `acme.json' file
|
||||||
# in this case Traefik is started from its own docker-compose in ../traefik
|
|
||||||
- ${DATA_PATH}/traefik:/traefik:ro
|
- ${DATA_PATH}/traefik:/traefik:ro
|
||||||
# mount mailcow's SSL folder
|
# Mount mailcow's SSL folder
|
||||||
- ./data/assets/ssl/:/output:rw
|
- ./data/assets/ssl/:/output:rw
|
||||||
|
# Mount docker socket to restart containers
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
environment:
|
environment:
|
||||||
# only change this, if you're using another domain for mailcow's web frontend compared to the standard config
|
# only change this, if you're using another domain for mailcow's web frontend compared to the standard config
|
||||||
- DOMAIN=${MAILCOW_HOSTNAME}
|
- DOMAIN=${MAILCOW_HOSTNAME}
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "/usr/bin/healthcheck"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 5
|
||||||
|
|
||||||
ipv6nat-mailcow:
|
ipv6nat-mailcow:
|
||||||
image: bash:latest
|
image: bash:latest
|
||||||
|
Loading…
Reference in New Issue
Block a user