Separate port on each container
This commit is contained in:
+13
-11
@@ -11,13 +11,6 @@ services:
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
- "110:110"
|
||||
- "143:143"
|
||||
- "993:993"
|
||||
- "995:995"
|
||||
- "25:25"
|
||||
- "465:465"
|
||||
- "587:587"
|
||||
volumes:
|
||||
- "$ROOT/certs:/certs"
|
||||
- "$ROOT/overrides/nginx:/overrides:ro"
|
||||
@@ -41,7 +34,12 @@ services:
|
||||
- "$ROOT/overrides/dovecot:/overrides:ro"
|
||||
depends_on:
|
||||
- front
|
||||
network_mode: service:front
|
||||
ports:
|
||||
- "110:110"
|
||||
- "143:143"
|
||||
- "993:993"
|
||||
- "995:995"
|
||||
# network_mode: service:front
|
||||
|
||||
smtp:
|
||||
image: ghcr.io/mailu/postfix:$VERSION
|
||||
@@ -56,7 +54,11 @@ services:
|
||||
- "$ROOT/overrides/postfix:/overrides:ro"
|
||||
depends_on:
|
||||
- front
|
||||
network_mode: service:front
|
||||
ports:
|
||||
- "25:25"
|
||||
- "465:465"
|
||||
- "587:587"
|
||||
# network_mode: service:front
|
||||
|
||||
antispam:
|
||||
image: ghcr.io/mailu/rspamd:$VERSION
|
||||
@@ -100,7 +102,7 @@ services:
|
||||
- "$ROOT/dkim:/dkim"
|
||||
depends_on:
|
||||
- redis
|
||||
network_mode: service:front
|
||||
# network_mode: service:front
|
||||
|
||||
webmail:
|
||||
image: ghcr.io/mailu/$WEBMAIL:$VERSION
|
||||
@@ -111,7 +113,7 @@ services:
|
||||
- "$ROOT/overrides/$WEBMAIL:/overrides:ro"
|
||||
depends_on:
|
||||
- imap
|
||||
network_mode: service:front
|
||||
# network_mode: service:front
|
||||
|
||||
fetchmail:
|
||||
image: ghcr.io/mailu/fetchmail:$VERSION
|
||||
|
||||
Reference in New Issue
Block a user