# SMTP de desenvolvimento: captura os e-mails numa UI web em vez de enviar de verdade.
# Subir:  docker compose -f docker-compose.mailpit.yml up -d
# UI:     http://localhost:8025   | SMTP: localhost:1025
services:
  mailpit:
    image: axllent/mailpit:latest
    container_name: newsletter-platform-mailpit
    restart: unless-stopped
    ports:
      - "1025:1025"
      - "8025:8025"
    environment:
      MP_SMTP_AUTH_ACCEPT_ANY: "1"
      MP_SMTP_AUTH_ALLOW_INSECURE: "1"
