- worker: sends email_outbox mail over SMTP (lettre), woken by LISTEN/NOTIFY, SKIP LOCKED claiming, retries with backoff, hu/en templates (text + HTML), hourly cleanup of expired data - migration 0002: next_attempt_at, failed_at, notify trigger - docker-compose.override.yml: Mailpit for development only - Dockerfiles: lock shared cargo cache mounts for parallel builds Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
24 lines
607 B
YAML
24 lines
607 B
YAML
# Development only: loaded automatically by `docker compose up`, left out in
|
|
# production (`docker compose -f docker-compose.yml ...`).
|
|
#
|
|
# Mailpit catches every e-mail the worker sends; nothing leaves the machine.
|
|
# Web UI: http://<server>:8025
|
|
|
|
services:
|
|
mailpit:
|
|
image: axllent/mailpit:v1.33.1
|
|
environment:
|
|
MP_MAX_MESSAGES: 1000
|
|
MP_SMTP_AUTH_ACCEPT_ANY: 1
|
|
MP_SMTP_AUTH_ALLOW_INSECURE: 1
|
|
ports:
|
|
- "8025:8025"
|
|
restart: unless-stopped
|
|
|
|
worker:
|
|
environment:
|
|
SMTP_URL: smtp://mailpit:1025
|
|
depends_on:
|
|
mailpit:
|
|
condition: service_healthy
|