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