# ── Server ─────────────────────────────────────────────────────────────────── PORT=8080 # ── Security ───────────────────────────────────────────────────────────────── # Generate with: node -e "console.log(require('crypto').randomBytes(48).toString('hex'))" JWT_SECRET=CHANGE_ME_TO_A_RANDOM_STRING # ── Game database (PostgreSQL) ──────────────────────────────────────────────── POSTGRES_USER=game POSTGRES_PASSWORD=CHANGE_ME POSTGRES_DB=star_wars_grid # ── Users database (PostgreSQL) ─────────────────────────────────────────────── POSTGRES_USERS_USER=users POSTGRES_USERS_PASSWORD=CHANGE_ME POSTGRES_USERS_DB=star_wars_users # ── CORS ───────────────────────────────────────────────────────────────────── CORS_ORIGIN=* # ── Email (SMTP) ────────────────────────────────────────────────────────────── # In development the Mailpit container is used automatically (no config needed). # For production, set these to your real SMTP provider (e.g. Brevo, Mailgun, etc.) SMTP_HOST=mailpit SMTP_PORT=1025 SMTP_SECURE=false SMTP_USER= SMTP_PASS= SMTP_FROM=Star Wars Wild Space # Public URL of the app — used to build links in emails APP_URL=http://localhost:8080