Private
Public Access
1
0
Files
star-wars-wild-space/.env.example
2026-03-30 11:28:47 +02:00

23 lines
1.6 KiB
Plaintext

# ── 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
# ── Admin ────────────────────────────────────────────────────────────────────
# Password to unlock the team-switching debug widget in the UI
ADMIN_PASSWORD=CHANGE_ME
# ── CORS ─────────────────────────────────────────────────────────────────────
CORS_ORIGIN=*