31 lines
1.3 KiB
Bash
31 lines
1.3 KiB
Bash
# Admin panel login (server only; required in production)
|
|
ADMIN_USERNAME=admin
|
|
ADMIN_PASSWORD=change-me-to-a-strong-password
|
|
|
|
# Read-only supervisor login (server only; can view all data but cannot modify)
|
|
SUPERVISOR_USERNAME=supervisor
|
|
SUPERVISOR_PASSWORD=change-me-to-a-strong-password
|
|
|
|
# Optional: public site URL when reverse proxy does not send X-Forwarded-* (fixes post-login redirects).
|
|
# Example: https://kickkings.playpoolstudios.com
|
|
# APP_ORIGIN=
|
|
|
|
# Supabase project URL (public)
|
|
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
|
|
|
|
# Service role key — server only; never expose to the browser. Used to read
|
|
# users/matches for this admin UI (bypasses RLS). Get it from Supabase Dashboard → Settings → API.
|
|
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key
|
|
|
|
# Directory containing per-match logs as <matchId>.txt (server filesystem path).
|
|
# Example: /home/react/KickKings/games/soccar/soccar_Data/Logs
|
|
# MATCH_LOGS_DIR=
|
|
|
|
# Directory containing matchmaker logs: history.log (processed) and matchmaker.log (raw).
|
|
# Example: /var/www/html/kickkings/logs/matchmaker/logs
|
|
# MATCHMAKER_LOGS_DIR=
|
|
|
|
# Third-party IP geolocation provider (ipgeolocation.io)
|
|
# Used for country code lookup from user IP and ping report IP.
|
|
IPGEOLOCATION_API_KEY=your-ipgeolocation-api-key
|