✨ feat(email): pkg/email + Mailpit docker-compose service (ADR-0029 Phase A.1) (#59)
Co-authored-by: Gabriel Radureau <arcodange@gmail.com> Co-committed-by: Gabriel Radureau <arcodange@gmail.com>
This commit was merged in pull request #59.
This commit is contained in:
@@ -19,6 +19,23 @@ services:
|
||||
- dance-lessons-coach-network
|
||||
restart: unless-stopped
|
||||
|
||||
# Mailpit — local SMTP capture for dev + BDD parallel email tests.
|
||||
# Cf. ADR-0029 (email infrastructure) and ADR-0030 (BDD parallel strategy).
|
||||
# SMTP submission on :1025 (used by the app), HTTP UI + API on :8025
|
||||
# (used by tests + manual inspection at http://localhost:8025).
|
||||
mailpit:
|
||||
image: axllent/mailpit:latest
|
||||
container_name: dance-lessons-coach-mailpit
|
||||
ports:
|
||||
- "1025:1025" # SMTP submission
|
||||
- "8025:8025" # HTTP UI / API
|
||||
environment:
|
||||
MP_MAX_MESSAGES: 5000
|
||||
MP_SMTP_AUTH_ALLOW_INSECURE: 1 # local dev only - no TLS, no real auth
|
||||
networks:
|
||||
- dance-lessons-coach-network
|
||||
restart: unless-stopped
|
||||
|
||||
# Application service (for reference)
|
||||
# app:
|
||||
# build: .
|
||||
|
||||
Reference in New Issue
Block a user