♻️ Replace Mailcatcher with Mailpit for local email testing (#2436)

This commit is contained in:
Alejandra
2026-08-17 10:38:38 +02:00
committed by GitHub
parent 75b4026443
commit 981ae061b4
9 changed files with 81 additions and 88 deletions
+6 -6
View File
@@ -64,14 +64,14 @@ services:
- ./backend/htmlcov:/app/backend/htmlcov
environment:
FASTAPI_ENV: "development"
SMTP_HOST: "mailcatcher"
SMTP_HOST: "mailpit"
SMTP_PORT: "1025"
SMTP_TLS: "false"
mailcatcher:
image: schickling/mailcatcher
mailpit:
image: axllent/mailpit
ports:
- "1080:1080"
- "8025:8025"
- "1025:1025"
playwright:
@@ -83,13 +83,13 @@ services:
ipc: host
depends_on:
- backend
- mailcatcher
- mailpit
environment:
- FIRST_SUPERUSER=${FIRST_SUPERUSER:?Variable not set}
- FIRST_SUPERUSER_PASSWORD=${FIRST_SUPERUSER_PASSWORD:?Variable not set}
- PLAYWRIGHT_BASE_URL=http://backend:8000
- VITE_API_URL=http://backend:8000
- MAILCATCHER_HOST=http://mailcatcher:1080
- MAILPIT_HOST=http://mailpit:8025
# For the reports when run locally
- PLAYWRIGHT_HTML_HOST=0.0.0.0
- CI=${CI:-}