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