Files
stacks/mailpit/compose.yml
T
valknarandClaude Sonnet 4.6 ec92d55e3c fix(mailpit): bind UI to port 8025 so healthcheck passes; revert email FROM changes
Port 0 disabled the web UI but broke the built-in /readyz healthcheck.
Binding to 8025 keeps the UI accessible within the Docker network only
(no Traefik labels) and lets the container report healthy.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-27 19:34:40 +02:00

27 lines
742 B
YAML

services:
mailpit:
image: axllent/mailpit:latest
container_name: mailpit
environment:
TZ: ${TIMEZONE:-Europe/Amsterdam}
MP_SMTP_AUTH_ACCEPT_ANY: 1
MP_SMTP_AUTH_ALLOW_INSECURE: 1
MP_MAX_MESSAGES: 5000
MP_SMTP_RELAY_ALL: "true"
MP_SMTP_RELAY_HOST: ${SMTP_RELAY_HOST}
MP_SMTP_RELAY_PORT: ${SMTP_RELAY_PORT}
MP_SMTP_RELAY_USERNAME: ${SMTP_RELAY_USERNAME}
MP_SMTP_RELAY_PASSWORD: ${SMTP_RELAY_PASSWORD}
MP_SMTP_RELAY_AUTH: plain
MP_SMTP_RELAY_TLS: "true"
MP_UI_BIND_ADDR: 0.0.0.0:8025
volumes:
- ../.data/mailpit:/data
restart: always
networks:
- compose_network
networks:
compose_network:
name: ${NETWORK_NAME}
external: true