baton-worker
Docker app from Crazyteddy00's Repository
Overview
Requirements
Categories
Related apps
Explore more like this
Explore allDetails
registry.gitlab.com/crazyteddy00/baton/baton-worker:latestRuntime arguments
- Network
bridge- Privileged
- false
- Extra Params
--init
Template configuration
The worker's own folder. It keeps an up-to-date copy of yt-dlp here (checked at start and every 24 hours), its cache, and your YouTube cookies file if you use one. The container creates it if it is missing.
- Target
- /config
- Default
- /mnt/user/appdata/baton-worker
- Value
- /mnt/user/appdata/baton-worker
Where finished downloads wait for baton-server to file them. Must be the same folder as the Download inbox in baton-server, and outside your music folder. The default matches baton-server's default.
- Target
- /inbox
- Default
- /mnt/user/data/media/inbox
- Value
- /mnt/user/data/media/inbox
Required, no default. The address of baton-server's Worker port: your Unraid server's IP and the Worker port set on baton-server (default 4534), for example http://192.0.2.10:4534. Use http:// here, not https://: this traffic stays on your LAN. Change it if you changed baton-server's Worker port or your server's IP. This is not your public address.
- Target
- BATON_SERVER_URL
Required, no default. Exactly the same value as the Download worker token in baton-server. The worker uses it to sign in to the server.
- Target
- BATON_WORKER_TOKEN
Optional, empty by default. The path inside the container to a cookies.txt exported from YouTube Music while signed in, for example /config/cookies.txt (put the file in App data). Premium cookies get higher quality. Leave it empty unless the file is there: if it is missing, every download fails.
- Target
- BATON_WORKER_COOKIES
Leave this empty. It is the list of YouTube player types yt-dlp tries, in order; empty means ios,android,web_embedded,mweb,web,tv. Change it only if downloads stop working and a fix tells you to.
- Target
- BATON_WORKER_YT_CLIENTS
The most downloads this worker runs at the same time, 1 to 8. Default 4. The Downloads at a time setting on the app's Wanted screen (1 to 4) also limits it, so leave this at 4 and change that instead.
- Target
- BATON_WORKER_MAX_PARALLEL
- Default
- 4
- Value
- 4
Where the Download inbox is mounted inside the container. Leave it as /inbox.
- Target
- BATON_INBOX_PATH
- Default
- /inbox
- Value
- /inbox
The user the worker runs as and that owns the downloads it writes. Default 99, Unraid's nobody. Must match the other Baton container (baton-server), so the server can move and clean up the downloads. Change it only together with baton-server's.
- Target
- PUID
- Default
- 99
- Value
- 99
The group the worker runs as and that owns the downloads it writes. Default 100, Unraid's users. Must match the other Baton container (baton-server), so the server can move and clean up the downloads. Change it only together with baton-server's.
- Target
- PGID
- Default
- 100
- Value
- 100
Optional. Removes permissions from new files, as an octal number such as 002. Empty (the default) leaves Docker's usual 022. It only affects files created without fixed permissions, such as the downloaded tracks, and it never makes the folders the worker creates group-writable. Leave it empty unless you know you need it.
- Target
- UMASK