.env file or pass them directly to Docker.
Required variables
Your TorBox API key used to authenticate with TorBox. You can find this in your TorBox account settings.This variable is required for the application to function.
Mount configuration
The mounting method to use for your media files.Valid values:
strm- Creates.strmtext files that point to your media (recommended for Jellyfin/Emby)fuse- Creates a virtual filesystem using FUSE (recommended for Plex/VLC/other players)
The filesystem path where your media files will be accessible.Docker considerations:
- This path should match the container’s mount point (typically
/torbox) - The path must be accessible to other applications like Plex or Jellyfin
- You need to map this path to your host system using Docker volumes
- The path must exist and be owned by the user running the application
- Common paths:
/home/username/torboxor~/torbox
How frequently the application checks for new files in your TorBox account.Valid values:
slowest- Every 24 hoursvery_slow- Every 12 hoursslow- Every 6 hoursnormal- Every 3 hours (default)fast- Every 2 hoursultra_fast- Every 1 hourinstant- Every 6 minutes (requiresENABLE_METADATA=true, may cause rate limiting)
Metadata and organization
Enable automatic metadata scanning and organization of your media files.When enabled (
true):- TorBox attempts to identify each file using the Metadata Search API
- Files are automatically organized into
moviesorseriesfolders - Files are properly named for media server recognition
- Unlocks the
instantrefresh time option - You may encounter 429 (rate limit) errors during heavy scanning
false):- All video files are placed in the
moviesfolder without scanning - Faster processing with no API rate limits
- Better for users who manually organize their libraries
Metadata scanning is automatically disabled when
RAW_MODE=true.Present files in their original structure, similar to WebDAV.When enabled (
true):- Files appear in the same structure as your TorBox downloads
- No automatic organization or renaming
ENABLE_METADATAis automatically disabled- Useful for advanced users who want full control
false):- Files are organized into
moviesandseriesfolders - Metadata scanning is available (if enabled)
Configuration examples
Using a .env file
Create a.env file in your project directory:
.env
Using Docker run command
Using Docker Compose
docker-compose.yaml
With FUSE mount method
docker-compose.yaml