mirror of
https://github.com/truewhile/MeBox.git
synced 2026-09-28 11:16:37 +08:00
43 lines
1.5 KiB
Bash
43 lines
1.5 KiB
Bash
# MediaStationGo — environment variables (copy to `.env` if needed).
|
|
#
|
|
# Every config key is overridable via MEDIASTATION_<UPPER_KEY>=value.
|
|
# Below are the values most people change.
|
|
|
|
MEDIASTATION_APP_PORT=8080
|
|
MEDIASTATION_APP_DEBUG=false
|
|
MEDIASTATION_APP_DATA_DIR=./data
|
|
|
|
# Comma-or-array allow-list. Empty = allow * (dev).
|
|
# MEDIASTATION_APP_CORS_ORIGINS=https://media.example.com
|
|
|
|
# Override the seeded admin password (used only when no admin exists).
|
|
ADMIN_INITIAL_PASSWORD=admin123
|
|
|
|
# Strong random JWT secret (auto-generated when empty).
|
|
# MEDIASTATION_SECRETS_JWT_SECRET=please-change-me
|
|
|
|
# Optional private license server.
|
|
# MEDIASTATION_LICENSE_SERVER_URL=http://127.0.0.1:8001
|
|
# MEDIASTATION_LICENSE_HMAC_SECRET=must-match-license-server
|
|
|
|
# 3rd-party scrape providers.
|
|
# MEDIASTATION_SECRETS_TMDB_API_KEY=
|
|
# MEDIASTATION_SECRETS_BANGUMI_ACCESS_TOKEN=
|
|
|
|
# HLS transcoding guardrails. Defaults favor low CPU on NAS devices.
|
|
# MEDIASTATION_TRANSCODER_ENABLED=true
|
|
# MEDIASTATION_TRANSCODER_HARDWARE_ACCEL=false
|
|
# MEDIASTATION_TRANSCODER_REALTIME=true
|
|
# MEDIASTATION_TRANSCODER_THREADS=2
|
|
# MEDIASTATION_TRANSCODER_MAX_CONCURRENT=1
|
|
# MEDIASTATION_TRANSCODER_IDLE_TIMEOUT_SECONDS=120
|
|
|
|
# Telegram Bot / notify outbound network.
|
|
# Leave empty if direct network or v2rayA redirect already covers Docker bridge traffic.
|
|
# MEDIASTATION_TELEGRAM_API_BASE_URL=https://api.telegram.org
|
|
# MEDIASTATION_TELEGRAM_PROXY_URL=http://host.docker.internal:20171
|
|
# HTTP_PROXY=
|
|
# HTTPS_PROXY=
|
|
# ALL_PROXY=
|
|
# NO_PROXY=127.0.0.1,localhost
|