forked from bitmagnet-io/bitmagnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Worker Keys
o51r15 edited this page Jul 11, 2026
·
2 revisions
bitmagnet uses a worker architecture where each feature runs as an independent worker. Enable workers by adding --keys=<key> to the command: block in your compose file.
| Worker | Key | Description | Needs config |
|---|---|---|---|
| HTTP server | http_server |
Web UI and GraphQL API on port 3333 | No |
| Queue server | queue_server |
Processes the classification queue (TMDB, OMDb) | No |
| DHT crawler | dht_crawler |
Crawls the BitTorrent DHT network for new torrents | No |
| Prowlarr crawler | prowlarr_crawler |
Polls configured Prowlarr indexers on a schedule | Yes — see Prowlarr Integration |
| DB trim | db_trim |
Purges old/dead torrents based on per-source rules | Yes — see DB Size Management |
All-in-one (no VPN):
command:
- worker
- run
- --keys=http_server
- --keys=queue_server
- --keys=dht_crawler
- --keys=prowlarr_crawler
- --keys=db_trimMain instance (sidecar deployment — DHT runs in separate container):
command:
- worker
- run
- --keys=http_server
- --keys=queue_server
- --keys=prowlarr_crawler
- --keys=db_trimDHT sidecar (behind gluetun VPN):
command:
- worker
- run
- --keys=dht_crawler
- --keys=http_serverThe sidecar needs http_server so the main instance can probe its health status. See DHT Sidecar Setup.
OMDb enrichment is not a separate worker — it runs inline in the classifier pipeline during content processing. Enable it via omdb.enabled and omdb.api_key in config.yml. See OMDb Enrichment.