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

master
André Peters 2018-02-22 09:20:23 +01:00
parent 4abdebdddf
commit 7a850f91b5
1 changed files with 1 additions and 1 deletions

View File

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