# 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://: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