Files
FFCardGame/server/.env.example
2026-02-02 16:28:53 -05:00

32 lines
602 B
Plaintext

# Database
DATABASE_URL=postgresql://postgres:fftcg_secret@localhost:5432/fftcg
POSTGRES_PASSWORD=fftcg_secret
# JWT
JWT_SECRET=change-this-to-a-secure-random-string
JWT_EXPIRES_IN=7d
# Server ports
HTTP_PORT=3000
WS_PORT=3001
# SMTP (Email)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_SECURE=false
SMTP_USER=your-email@gmail.com
SMTP_PASS=your-app-password
SMTP_FROM=noreply@fftcg.local
# App URL (for email links)
APP_URL=http://localhost:3000
# Game settings
TURN_TIMEOUT_MS=120000
HEARTBEAT_INTERVAL_MS=10000
HEARTBEAT_TIMEOUT_MS=30000
# ELO settings
ELO_K_FACTOR=32
ELO_STARTING_RATING=1000