feat(stalwart): pin recovery admin via STALWART_RECOVERY_ADMIN env var

Adds STALWART_RECOVERY_ADMIN to the stalwart service environment so the
admin/ManaMailAdmin2026! credentials survive container restarts. Bootstrap
completed programmatically via JMAP; port 587 STARTTLS listener active.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-05-11 18:49:11 +02:00
parent 7b29dcc23c
commit bf8353ea8a

View file

@ -744,6 +744,7 @@ services:
- stalwart_data:/opt/stalwart-mail
environment:
- STALWART_ADMIN_PASSWORD=${STALWART_ADMIN_PASSWORD:-ChangeMe123!}
- STALWART_RECOVERY_ADMIN=${STALWART_RECOVERY_ADMIN:-}
# Stalwart's official image is distroless — no wget, curl, nc, ss,
# netstat. Any `docker exec`-based healthcheck just OOMs with
# "executable file not found". Deactivate; rely on docker's