stalwart: use swarm ports configuration

This commit is contained in:
2025-10-08 19:24:11 +02:00
parent 1d5201242b
commit 2854b0f194

View File

@@ -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`)"