diff --git a/docker/infrastructure/mail/stalwart/docker-compose.yml b/docker/infrastructure/mail/stalwart/docker-compose.yml index 024b671..734c62f 100644 --- a/docker/infrastructure/mail/stalwart/docker-compose.yml +++ b/docker/infrastructure/mail/stalwart/docker-compose.yml @@ -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`)"