The cache directory
The compose mounts the host path/mnt/cache/store into the services that read
and write cached content. To use a specific disk, mount it there:
deploy/docker-compose.yml:
The download scratch area (
/mnt/cache/ingest-scratch) is separate and
temporary — it holds a job’s files only until they’re published to the cache.Encryption at rest
SetSTORAGE_KEY (a hex key from openssl rand -hex 32) to encrypt stored
content at rest. It’s off by default. Stored debrid credentials can be
encrypted independently with CREDS_KEY.
Eviction
The cache is capped byEVICTION_CAP_BYTES (default 300 GB). A daily sweep
(at EVICTION_HOUR) removes the least-recently-used content once the cache
grows past the cap, so it never fills the disk. Popular content stays warm;
rarely-watched content is dropped and simply re-fetched on the next play.