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