Express dependencies in the Compose configuration, related to #316

master
kaiyou 7 years ago
parent f362ecdb19
commit 89ac22dd90

@ -27,6 +27,8 @@ services:
- "$BIND_ADDRESS6:587:587" - "$BIND_ADDRESS6:587:587"
volumes: volumes:
- "$ROOT/certs:/certs" - "$ROOT/certs:/certs"
depends_on:
- admin
redis: redis:
image: redis:latest image: redis:latest
@ -42,6 +44,8 @@ services:
- "$ROOT/data:/data" - "$ROOT/data:/data"
- "$ROOT/mail:/mail" - "$ROOT/mail:/mail"
- "$ROOT/overrides:/overrides" - "$ROOT/overrides:/overrides"
depends_on:
- front
smtp: smtp:
image: mailu/postfix:$VERSION image: mailu/postfix:$VERSION
@ -50,6 +54,8 @@ services:
volumes: volumes:
- "$ROOT/data:/data" - "$ROOT/data:/data"
- "$ROOT/overrides:/overrides" - "$ROOT/overrides:/overrides"
depends_on:
- front
antispam: antispam:
image: mailu/rspamd:$VERSION image: mailu/rspamd:$VERSION
@ -59,6 +65,8 @@ services:
- "$ROOT/filter:/var/lib/rspamd" - "$ROOT/filter:/var/lib/rspamd"
- "$ROOT/dkim:/dkim" - "$ROOT/dkim:/dkim"
- "$ROOT/overrides/rspamd:/etc/rspamd/override.d" - "$ROOT/overrides/rspamd:/etc/rspamd/override.d"
depends_on:
- front
antivirus: antivirus:
image: mailu/$ANTIVIRUS:$VERSION image: mailu/$ANTIVIRUS:$VERSION

Loading…
Cancel
Save