Remove defaults
This commit is contained in:
@@ -9,11 +9,11 @@ _ENV_PATH = Path(__file__).resolve().parent.parent / '.env'
|
||||
load_dotenv(_ENV_PATH)
|
||||
|
||||
# ── Database ──────────────────────────────────────────────
|
||||
DB_HOST = os.getenv('NIKE_DB_HOST', 'portia.incus')
|
||||
DB_HOST = os.getenv('NIKE_DB_HOST')
|
||||
DB_PORT = int(os.getenv('NIKE_DB_PORT', 5432))
|
||||
DB_USER = os.getenv('NIKE_DB_USER', 'nike')
|
||||
DB_PASSWORD = os.getenv('NIKE_DB_PASSWORD', '')
|
||||
DB_NAME = os.getenv('NIKE_DB_NAME', 'nike')
|
||||
DB_USER = os.getenv('NIKE_DB_USER',)
|
||||
DB_PASSWORD = os.getenv('NIKE_DB_PASSWORD')
|
||||
DB_NAME = os.getenv('NIKE_DB_NAME')
|
||||
|
||||
# ── TheSportsDB ───────────────────────────────────────────
|
||||
SPORTSDB_KEY = os.getenv('NIKE_SPORTSDB_KEY', '3') # '3' = free test key
|
||||
@@ -33,8 +33,8 @@ RAPIDAPI_KEY = os.getenv('NIKE_RAPIDAPI_KEY', '')
|
||||
API_FOOTBALL_KEY = os.getenv('NIKE_API_FOOTBALL_KEY', '')
|
||||
|
||||
# ── Server ────────────────────────────────────────────────
|
||||
SERVER_HOST = os.getenv('NIKE_HOST', '0.0.0.0')
|
||||
SERVER_PORT = int(os.getenv('NIKE_PORT', 8000))
|
||||
SERVER_HOST = os.getenv('NIKE_HOST')
|
||||
SERVER_PORT = int(os.getenv('NIKE_PORT')
|
||||
SERVER_NAME = "Nike — Football Data Platform"
|
||||
# IPs allowed to set X-Forwarded-Proto (your HAProxy host).
|
||||
# '*' trusts all — safe when Nike's port is firewalled to HAProxy only.
|
||||
|
||||
Reference in New Issue
Block a user