mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 20:21:09 +02:00
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:
parent
ed78c345c6
commit
f070d022c1
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue