removed dev SMTP
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user