mirror of
https://github.com/vhaudiquet/homeprod.git
synced 2025-12-19 12:36:03 +00:00
stalwart: use swarm ports configuration
This commit is contained in:
@@ -8,11 +8,19 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- stalwart_data:/opt/stalwart
|
- stalwart_data:/opt/stalwart
|
||||||
ports:
|
ports:
|
||||||
- "25:25" # SMTP port
|
- target: 25
|
||||||
- "465:465" # SMTPS port
|
published: 25
|
||||||
- "993:993" # IMAPS port
|
mode: host
|
||||||
- "587:587" # SMTP Submission STARTTLS
|
- target: 465
|
||||||
- "8080" # HTTP port
|
published: 465
|
||||||
|
mode: host
|
||||||
|
- target: 993
|
||||||
|
published: 993
|
||||||
|
mode: host
|
||||||
|
- target: 587
|
||||||
|
published: 587
|
||||||
|
mode: host
|
||||||
|
- "8080"
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.stalwart.rule=Host(`mail.vhaudiquet.fr`)"
|
- "traefik.http.routers.stalwart.rule=Host(`mail.vhaudiquet.fr`)"
|
||||||
|
|||||||
Reference in New Issue
Block a user