Set YTDLP_COOKIES_HOST in server/.env and compose mounts the host cookies.txt read-only at /cookies.txt and wires YTDLP_COOKIES automatically — no compose edits per host. Falls back to /dev/null when unset so the container still starts. Add server/.env.example, gitignore server/.env, and document the flow. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
14 lines
489 B
Plaintext
14 lines
489 B
Plaintext
# Copy to server/.env and fill in. docker-compose reads it automatically.
|
|
|
|
# Lidarr (preferred source)
|
|
LIDARR_API_KEY=
|
|
|
|
# API key clients must send to musicfetch-api
|
|
MUSICFETCH_API_KEY=
|
|
|
|
# Optional: authenticated YouTube cookies to dodge the bot-check
|
|
# ("Sign in to confirm you're not a bot") and rate limits.
|
|
# Set to the host path of a Netscape-format cookies.txt (see README
|
|
# "Getting YouTube cookies"). Leave unset to run without cookies.
|
|
# YTDLP_COOKIES_HOST=/host/path/cookies.txt
|