Files
stacks/mailpit/compose.yml
T
valknar 4c522961a9 feat(_update): replace watchtower with custom nightly update script
Removes the watchtower container in favour of a host-side script that
runs daily at 2:00 AM via systemd timer.  Mirrors the _backup pattern:
auto-discovers stacks, pulls images, recreates changed containers,
prunes dangling images, and notifies via n8n → Telegram.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-09 19:42:25 +02:00

28 lines
751 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:0
volumes:
- ../.data/mailpit:/data
restart: always
labels:
networks:
- compose_network
networks:
compose_network:
name: ${NETWORK_NAME}
external: true