Cache every played or saved video on the server via background jobs with a validation gate and a Broken re-download button
This commit is contained in:
@@ -11,6 +11,15 @@ services:
|
||||
APP_VERSION: "1.0.0"
|
||||
# Optional: override yt-dlp binary path if you mount a custom one
|
||||
# YTDLP_PATH: "/usr/local/bin/yt-dlp"
|
||||
# Server media cache (server/media-cache.js) — defaults shown.
|
||||
# MEDIA_DIR: "/app/data/media" # on the ytplayer-data volume
|
||||
# MEDIA_CACHE_MAX_BYTES: "10737418240" # 10 GiB, LRU eviction past this
|
||||
# MEDIA_MIN_FREE_BYTES: "5368709120" # skip caching below 5 GiB free disk
|
||||
# MEDIA_AUTO_MAX_SECONDS: "3600" # longest video auto-cached on play
|
||||
# MEDIA_TRANSCODE: "1" # 0 disables the x264 lane
|
||||
# MEDIA_CRF: "28"
|
||||
# MEDIA_PRESET: "slow"
|
||||
# MEDIA_THREADS: "2"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-sf", "http://localhost:3000/api/version"]
|
||||
interval: 30s
|
||||
|
||||
Reference in New Issue
Block a user