stremio/apps/master-api/.env.example
Jos Vooges | STH 22d46ffac7 Add Windows token-tray MVP for Viaplay session refresh.
Agent API accepts X-Tray-Key pushes; Electron tray captures cookies and upserts accounts by email.
2026-09-22 23:24:44 +02:00

40 lines
1.2 KiB
Text

NODE_ENV=development
PORT=3000
HOST=0.0.0.0
DATABASE_URL=postgresql://media:media_secret@localhost:5432/media_cluster
REDIS_URL=redis://localhost:6379
SESSION_SECRET=dev-secret-change-in-production-min-32-chars
ADMIN_EMAIL=admin@localhost
ADMIN_PASSWORD=changeme123
PUBLIC_URL=http://localhost:3000
# Windows token-tray agent (X-Tray-Key). Leeg = agent-API uit.
# TOKEN_TRAY_SECRET=change-me-at-least-16-chars
TMDB_API_KEY=
# OMDb / IMDb — optionele env-fallback; liever Admin → Instellingen → OMDb (versleuteld in DB)
OMDB_API_KEY=
PLAYBACK_IDLE_TIMEOUT_SECONDS=1200
PLAYBACK_ABSOLUTE_LIFETIME_SECONDS=43200
NODE_HEARTBEAT_INTERVAL_SECONDS=30
NODE_OFFLINE_THRESHOLD_SECONDS=90
HIDE_UNAVAILABLE_TITLES=true
# Rijke IPTV-EPG (fallback als Admin → Instellingen → TV leeg is)
# Voorkeur: URL's beheren in Admin UI (meerdere feeds mogelijk).
IPTV_EPG_XML_URL=https://epg.faabserver.nl/epg/odido.xml
# Google Play Closed Testing (optioneel — zie GOOGLE_PLAY_ACCESS_SETUP.md)
# GOOGLE_CLOUD_PROJECT_ID=
# GOOGLE_SERVICE_ACCOUNT_EMAIL=
# GOOGLE_SERVICE_ACCOUNT_PRIVATE_KEY=
# GOOGLE_WORKSPACE_ADMIN_EMAIL=
# PLAY_ACCESS_GROUP_ID=
# PLAY_ACCESS_GROUP_EMAIL=
# GOOGLE_PLAY_OPT_IN_URL=
# GOOGLE_PLAY_SYNC_INTERVAL_MS=86400000