1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-01-02 03:38:23 +02:00

Less restarts

This commit is contained in:
andryyy 2017-06-13 23:38:08 +02:00
parent 0fd0cff8ac
commit 6d49dfb4e1

View File

@ -270,12 +270,15 @@ services:
# Additional subject alternate names
- ADDITIONAL_SAN=${ADDITIONAL_SAN}
- MAILCOW_HOSTNAME=${MAILCOW_HOSTNAME}
- DBNAME=${DBNAME}
- DBUSER=${DBUSER}
- DBPASS=${DBPASS}
volumes:
- ./data/web/.well-known/acme-challenge:/var/www/acme:rw
- ./data/assets/ssl:/var/lib/acme/:rw
- /var/run/docker.sock:/var/run/docker.sock:ro
# do not restart the container too often. Things get worse when we hit let's encrypt's ratelimit.
restart: on-failure:3
restart: on-failure:1
networks:
mailcow-network:
aliases: