fix(docker): correct Stalwart port mapping and healthcheck

Map host 8443 to container 8080 (HTTP admin UI). Use wget for
healthcheck since curl is not available in the Stalwart image.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-04-03 15:23:16 +02:00
parent ed78c345c6
commit f070d022c1

View file

@ -562,13 +562,13 @@ services:
- "587:587"
- "465:465"
- "993:993"
- "8443:8443"
- "8443:8080"
volumes:
- stalwart_data:/opt/stalwart-mail
environment:
- STALWART_ADMIN_PASSWORD=${STALWART_ADMIN_PASSWORD:-ChangeMe123!}
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/healthz"]
test: ["CMD", "wget", "-q", "--spider", "http://localhost:8080/healthz"]
interval: 120s
timeout: 5s
retries: 3