♻️ Replace Mailcatcher with Mailpit for local email testing

This commit is contained in:
Alejandra
2026-08-11 21:28:55 +02:00
parent b55b3122ab
commit 0eff31727b
9 changed files with 82 additions and 89 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:-}