Less restarts
parent
0fd0cff8ac
commit
6d49dfb4e1
|
@ -270,12 +270,15 @@ services:
|
||||||
# Additional subject alternate names
|
# Additional subject alternate names
|
||||||
- ADDITIONAL_SAN=${ADDITIONAL_SAN}
|
- ADDITIONAL_SAN=${ADDITIONAL_SAN}
|
||||||
- MAILCOW_HOSTNAME=${MAILCOW_HOSTNAME}
|
- MAILCOW_HOSTNAME=${MAILCOW_HOSTNAME}
|
||||||
|
- DBNAME=${DBNAME}
|
||||||
|
- DBUSER=${DBUSER}
|
||||||
|
- DBPASS=${DBPASS}
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/web/.well-known/acme-challenge:/var/www/acme:rw
|
- ./data/web/.well-known/acme-challenge:/var/www/acme:rw
|
||||||
- ./data/assets/ssl:/var/lib/acme/:rw
|
- ./data/assets/ssl:/var/lib/acme/:rw
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /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.
|
# 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:
|
networks:
|
||||||
mailcow-network:
|
mailcow-network:
|
||||||
aliases:
|
aliases:
|
||||||
|
|
Loading…
Reference in New Issue