-
-
Notifications
You must be signed in to change notification settings - Fork 84
Expand file tree
/
Copy path.env.example
More file actions
35 lines (29 loc) · 1.33 KB
/
Copy path.env.example
File metadata and controls
35 lines (29 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# ─── ESPN Service environment variables ─────────────────────────────────────
# Copy this file to espn_service/.env and fill in your values.
#
# cp .env.example espn_service/.env
# Django
SECRET_KEY=change-me-to-a-long-random-string
DEBUG=True
ALLOWED_HOSTS=localhost,127.0.0.1
# Database (PostgreSQL)
# Local: postgres://user:password@host:port/dbname
DATABASE_URL=postgres://postgres:postgres@localhost:5432/espn_db
# Celery / Redis (background task queue)
CELERY_BROKER_URL=redis://localhost:6379/0
CELERY_RESULT_BACKEND=redis://localhost:6379/0
# ESPN API client settings (optional — defaults shown)
ESPN_TIMEOUT=30
ESPN_MAX_RETRIES=3
ESPN_USER_AGENT=ESPN-Service/1.0
# ESPN API domain URLs (optional — override only if needed)
# Site API → scoreboard, teams, news, injuries, standings
ESPN_SITE_API_BASE_URL=https://site.api.espn.com
# Core API → events, odds, athletes, play-by-play
ESPN_CORE_API_BASE_URL=https://sports.core.api.espn.com
# Web v3 → athlete stats, gamelog, splits, overview
ESPN_WEB_V3_API_BASE_URL=https://site.web.api.espn.com
# CDN → full game packages (drives, plays, win probability)
ESPN_CDN_API_BASE_URL=https://cdn.espn.com
# Now → real-time news feed
ESPN_NOW_API_BASE_URL=https://now.core.api.espn.com