Skip to main content
Docker is the recommended installation method for TorBox Media Center. It simplifies deployment and ensures consistent behavior across different systems.

Prerequisites

Choose your mount method

TorBox Media Center supports two mounting methods:

Docker run command

docker run -it -d \
    --name=torbox-media-center \
    --restart=always \
    --init \
    -v /home/$(whoami)/torbox:/torbox \
    -e TORBOX_API_KEY=<EDIT_THIS_KEY> \
    -e MOUNT_METHOD=strm \
    -e MOUNT_PATH=/torbox \
    anonymoussystems/torbox-media-center:latest
Replace <EDIT_THIS_KEY> with your actual TorBox API key from torbox.app/settings.

Docker Compose

docker-compose.yaml
name: torbox-media-center
services:
    torbox-media-center:
        container_name: torbox-media-center
        stdin_open: true
        tty: true
        restart: always
        volumes:
            - /home/$(whoami)/torbox:/torbox
        environment:
            - TORBOX_API_KEY=<input your api key>
            - MOUNT_METHOD=strm
            - MOUNT_PATH=/torbox
            - RAW_MODE=false
            - ENABLE_METADATA=false
            - MOUNT_REFRESH_TIME=slow
        image: anonymoussystems/torbox-media-center:latest
You can use this compose file with Portainer or run it with docker compose up -d.

Volume configurations

The volume mount determines where your media files will be accessible on your host system.

Standard configuration

-v /home/$(whoami)/torbox:/torbox
Files will be accessible at /home/yourusername/torbox on your host system.

Custom host location

-v /mnt/torbox:/torbox
Files will be accessible at /mnt/torbox on your host system.

Custom container path

-v /mnt/torbox:/data
-e MOUNT_PATH=/data
Files stored at /mnt/torbox on the host, but the container uses /data internally. Make sure MOUNT_PATH matches the container path.

Environment variables

Required: Optional:
  • MOUNT_METHOD - Either strm or fuse (default: strm)
  • MOUNT_PATH - Path inside the container where files are mounted (default: /torbox)
  • MOUNT_REFRESH_TIME - How often to check for new files: slowest (24h), very_slow (12h), slow (6h), normal (3h), fast (2h), ultra_fast (1h), or instant (6min, requires metadata) (default: normal)
  • ENABLE_METADATA - Enable metadata scanning to organize files into movies/series folders (default: false)
  • RAW_MODE - Use raw file structure without metadata organization (default: false)

Converting to Docker Compose

If you have a Docker run command and want to convert it to Docker Compose format, use Composerize. Simply paste your Docker run command and it will generate the equivalent compose configuration.

Image tags

  • latest - Latest stable release (recommended)
  • main - Bleeding edge from the main branch (for testing)
  • sha-<hash> - Specific commit version (e.g., sha-bdd4339)

Next steps

After starting the container:
  1. Check the logs to ensure it’s running correctly:
    docker logs -f torbox-media-center
    
  2. Your media files will appear at the mount path you specified (e.g., /home/yourusername/torbox)
  3. Configure your media server (Jellyfin, Emby, Plex) to use the mounted path:
    • Movies: <mount_path>/movies
    • TV Shows: <mount_path>/series
See the Troubleshooting guide if files aren’t appearing or your media server can’t access them.