Add P2P tables, config flags and db helpers
This commit is contained in:
@@ -18,6 +18,15 @@ services:
|
||||
# Shared secret the lyrics-worker uses to list songs and upload lyrics.
|
||||
# Set in Dokploy's Environment tab (same value feeds both services).
|
||||
LYRICS_WORKER_TOKEN: "${LYRICS_WORKER_TOKEN:-}"
|
||||
# Peer-to-peer sharing (docs/p2p-architecture.md). ON by default.
|
||||
P2P_ENABLED: "${P2P_ENABLED:-1}"
|
||||
# Malware scan before a file's hash is admitted. OFF by default; needs an
|
||||
# image built with INSTALL_CLAMAV=1. Hashing + media validation always run.
|
||||
P2P_MALWARE_SCAN: "${P2P_MALWARE_SCAN:-0}"
|
||||
# P2P_STALE_DAYS: "7" # holder shown as stale after this many days unchecked
|
||||
# P2P_KEEP_MIN_VIEWS: "3" # server keeps copies with ≥ this many views…
|
||||
# P2P_KEEP_DAYS: "30" # …in this many days
|
||||
# P2P_KEEP_RECENT_DAYS: "14" # …or played this recently
|
||||
# Optional: force yt-dlp search instead of InnerTube API
|
||||
# SEARCH_INNERTUBE: "0" # force yt-dlp search
|
||||
# Optional: override yt-dlp binary path if you mount a custom one
|
||||
|
||||
Reference in New Issue
Block a user