Unbound needs to be healthy
This commit is contained in:
parent
9a99975394
commit
26c7cabee5
@ -46,7 +46,8 @@ services:
|
|||||||
redis-mailcow:
|
redis-mailcow:
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
depends_on:
|
depends_on:
|
||||||
- unbound-mailcow
|
unbound-mailcow:
|
||||||
|
condition: service_healthy
|
||||||
volumes:
|
volumes:
|
||||||
- redis-vol-1:/data/
|
- redis-vol-1:/data/
|
||||||
restart: always
|
restart: always
|
||||||
@ -125,7 +126,8 @@ services:
|
|||||||
image: mailcow/sogo
|
image: mailcow/sogo
|
||||||
build: ./data/Dockerfiles/sogo
|
build: ./data/Dockerfiles/sogo
|
||||||
depends_on:
|
depends_on:
|
||||||
- unbound-mailcow
|
unbound-mailcow:
|
||||||
|
condition: service_healthy
|
||||||
environment:
|
environment:
|
||||||
- DBNAME=${DBNAME}
|
- DBNAME=${DBNAME}
|
||||||
- DBUSER=${DBUSER}
|
- DBUSER=${DBUSER}
|
||||||
@ -147,7 +149,8 @@ services:
|
|||||||
image: mailcow/dovecot
|
image: mailcow/dovecot
|
||||||
build: ./data/Dockerfiles/dovecot
|
build: ./data/Dockerfiles/dovecot
|
||||||
depends_on:
|
depends_on:
|
||||||
- unbound-mailcow
|
unbound-mailcow:
|
||||||
|
condition: service_healthy
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/conf/dovecot:/usr/local/etc/dovecot
|
- ./data/conf/dovecot:/usr/local/etc/dovecot
|
||||||
- ./data/assets/ssl:/etc/ssl/mail/:ro
|
- ./data/assets/ssl:/etc/ssl/mail/:ro
|
||||||
@ -178,7 +181,8 @@ services:
|
|||||||
image: mailcow/postfix
|
image: mailcow/postfix
|
||||||
build: ./data/Dockerfiles/postfix
|
build: ./data/Dockerfiles/postfix
|
||||||
depends_on:
|
depends_on:
|
||||||
- unbound-mailcow
|
unbound-mailcow:
|
||||||
|
condition: service_healthy
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/conf/postfix:/opt/postfix/conf
|
- ./data/conf/postfix:/opt/postfix/conf
|
||||||
- ./data/assets/ssl:/etc/ssl/mail/:ro
|
- ./data/assets/ssl:/etc/ssl/mail/:ro
|
||||||
@ -205,7 +209,8 @@ services:
|
|||||||
memcached-mailcow:
|
memcached-mailcow:
|
||||||
image: memcached:alpine
|
image: memcached:alpine
|
||||||
depends_on:
|
depends_on:
|
||||||
- unbound-mailcow
|
unbound-mailcow:
|
||||||
|
condition: service_healthy
|
||||||
restart: always
|
restart: always
|
||||||
dns:
|
dns:
|
||||||
- 172.22.1.254
|
- 172.22.1.254
|
||||||
|
Loading…
Reference in New Issue
Block a user