# Configuration of a standalone worker (the "worker" binary). Copy to .env # on the worker machine. A worker needs nothing from the core's .env. # See docs/WORKERS.md. # Base URL of the core. Use https across the internet. CORE_URL=https://bot.example.com # This worker's token, from "core worker add " on the core. WORKER_TOKEN= # What this worker can do or where it runs, for example residential,eu. WORKER_TAGS= # Downloads at the same time. WORKER_CONCURRENCY=2 # Scratch space. Each worker process needs its own directory. WORKER_TEMP_DIR=data/worker-tmp # Link lookups running next to the downloads. WORKER_PROBE_SLOTS=2 # Must be well under the core's QUEUE_LEASE (30s by default). WORKER_HEARTBEAT=10s # Local health endpoint, or "off". WORKER_HEALTH_LISTEN=:8081 YTDLP_PATH=yt-dlp FFMPEG_PATH=ffmpeg # Added to every yt-dlp call, for example a proxy. YTDLP_EXTRA_ARGS= # How often yt-dlp updates itself. 0 turns it off. YTDLP_AUTO_UPDATE=24h DOWNLOAD_TIMEOUT=30m PROBE_TIMEOUT=45s LOG_LEVEL=info LOG_FORMAT=json