Files
nike/.env.example
Robert Helewka 62af6727e6
All checks were successful
CVE Scan & Docker Build / security-scan (push) Successful in 42s
CVE Scan & Docker Build / build-and-push (push) Successful in 1m20s
feat: migrate from RapidAPI to TheSportsDB with SvelteKit dashboard
- Replace free-api-live-football-data (RapidAPI) backend with TheSportsDB
- Add PostgreSQL cache layer for permanent data (teams, players, leagues, events)
- Replace Bootstrap dashboard with SvelteKit-based interactive dashboard
- Restructure MCP tools around TheSportsDB capabilities (get_team_info, get_roster, get_fixtures, get_standings, etc.)
- Expose tool registry via GET /api/tools so dashboard stays in sync
- Remove legacy modules and references (api_football, sync, RapidAPI env vars)
2026-06-11 10:22:24 -04:00

27 lines
1.2 KiB
Plaintext

# Nike — Football Data Platform
# Copy to .env and fill in your values. Never commit .env.
# ── TheSportsDB ──────────────────────────────────────────
# Free test key is '3' (limited). Get a premium key at https://www.patreon.com/thesportsdb
NIKE_SPORTSDB_KEY=3
# ── Database ──────────────────────────────────────────────
NIKE_DB_HOST=localhost
NIKE_DB_PORT=5432
NIKE_DB_USER=nike
NIKE_DB_PASSWORD=
NIKE_DB_NAME=nike
# ── Server ────────────────────────────────────────────────
NIKE_HOST=0.0.0.0
NIKE_PORT=8000
NIKE_LOG_LEVEL=WARNING
# IPs allowed to set X-Forwarded-* headers (your HAProxy host).
# '*' is safe when Nike's port is firewalled to HAProxy only.
NIKE_TRUSTED_PROXY=*
# ── Followed teams ────────────────────────────────────────
# Comma-separated list of "Team Name:League Name" pairs.
NIKE_TEAMS=Toronto FC:MLS, Arsenal:Premier League