Link network between containers
This commit is contained in:
@@ -41,6 +41,7 @@ services:
|
|||||||
- "$ROOT/overrides/dovecot:/overrides:ro"
|
- "$ROOT/overrides/dovecot:/overrides:ro"
|
||||||
depends_on:
|
depends_on:
|
||||||
- front
|
- front
|
||||||
|
network_mode: service:front
|
||||||
|
|
||||||
smtp:
|
smtp:
|
||||||
image: ghcr.io/mailu/postfix:$VERSION
|
image: ghcr.io/mailu/postfix:$VERSION
|
||||||
@@ -55,6 +56,7 @@ services:
|
|||||||
- "$ROOT/overrides/postfix:/overrides:ro"
|
- "$ROOT/overrides/postfix:/overrides:ro"
|
||||||
depends_on:
|
depends_on:
|
||||||
- front
|
- front
|
||||||
|
network_mode: service:front
|
||||||
|
|
||||||
antispam:
|
antispam:
|
||||||
image: ghcr.io/mailu/rspamd:$VERSION
|
image: ghcr.io/mailu/rspamd:$VERSION
|
||||||
@@ -98,6 +100,7 @@ services:
|
|||||||
- "$ROOT/dkim:/dkim"
|
- "$ROOT/dkim:/dkim"
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
|
network_mode: service:front
|
||||||
|
|
||||||
webmail:
|
webmail:
|
||||||
image: ghcr.io/mailu/$WEBMAIL:$VERSION
|
image: ghcr.io/mailu/$WEBMAIL:$VERSION
|
||||||
@@ -108,6 +111,7 @@ services:
|
|||||||
- "$ROOT/overrides/$WEBMAIL:/overrides:ro"
|
- "$ROOT/overrides/$WEBMAIL:/overrides:ro"
|
||||||
depends_on:
|
depends_on:
|
||||||
- imap
|
- imap
|
||||||
|
network_mode: service:front
|
||||||
|
|
||||||
fetchmail:
|
fetchmail:
|
||||||
image: ghcr.io/mailu/fetchmail:$VERSION
|
image: ghcr.io/mailu/fetchmail:$VERSION
|
||||||
|
|||||||
Reference in New Issue
Block a user