removed dev SMTP

This commit is contained in:
Rolf
2026-03-19 09:09:55 +01:00
parent 988989e625
commit 1538744959
5 changed files with 97 additions and 21 deletions
+3 -7
View File
@@ -11,10 +11,7 @@ MulliganMates is a social golf score tracking PWA. Multiple players in a group t
All commands run inside Docker (Node.js is not installed on the host):
```bash
# Development (with Mailpit for email)
docker compose --profile dev up
# Production
# Start
docker compose up -d
# Install a new npm package
@@ -86,9 +83,8 @@ See `lib/handicap.ts` for `strokesReceived()`, `netStrokes()`, `formatVsPar()`,
## Infrastructure
- **Docker Compose** — `app` + `db` (postgres:17-alpine) + `mailpit` (dev profile)
- **Docker Compose** — `app` + `db` (postgres:17-alpine)
- **Traefik** — external reverse proxy; services expose via labels only
- **Email dev:** Mailpit (`docker compose --profile dev up`)
- **Email prod:** Set `SMTP_HOST`, `SMTP_USER`, `SMTP_PASS` in `.env`
- **Email:** Set `SMTP_HOST`, `SMTP_PORT`, `SMTP_USER`, `SMTP_PASS` in `.env`
- Copy `.env.example``.env` before first run
- `BETTER_AUTH_URL` must equal the app's public URL for magic links to work