1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-11-28 08:52:00 +02:00

[Web] Nginx should wait for Rspamd, remove vmail vol from watchdog

This commit is contained in:
André Peters 2018-02-22 09:20:23 +01:00
parent 4abdebdddf
commit 7a850f91b5

View File

@ -263,6 +263,7 @@ services:
until ping phpfpm -c1 > /dev/null; do sleep 1; done &&
until ping sogo -c1 > /dev/null; do sleep 1; done &&
until ping redis -c1 > /dev/null; do sleep 1; done &&
until ping rspamd -c1 > /dev/null; do sleep 1; done &&
exec nginx -g 'daemon off;'"
environment:
- HTTPS_PORT=${HTTPS_PORT:-443}
@ -349,7 +350,6 @@ services:
sysctls:
- net.ipv6.conf.all.disable_ipv6=${SYSCTL_IPV6_DISABLED:-0}
volumes:
- vmail-vol-1:/vmail:ro
- rspamd-sock:/rspamd-sock
restart: always
environment: