PINNED Media Stack

Media Stack Installation — qBittorrent, Prowlarr, Radarr, Sonarr, Plex, Tautulli, Sonarr & Seerr Fully Integrated

Build a self-running home media server with Docker: request a movie in Jellyseerr and Radarr, Sonarr, qBittorrent, Prowlarr and Plex find, download, rename and stream it.

A Mohammed Habib Aug 30, 2026 26 min read 367 views Updated Oct 24, 2026
Cover for Media Stack Installation — qBittorrent, Prowlarr, Radarr, Sonarr, Plex, Tautulli, Sonarr & Seerr Fully Integrated

This guide builds a home media server that runs itself. You ask for a movie or show in a web page, and a chain of apps finds it, downloads it, renames it, files it into your library and tells Plex it's there. The apps are qBittorrent, Prowlarr, Radarr, Sonarr, Plex, Tautulli and Jellyseerr, all running in Docker on one Ubuntu server.

I built this because my old routine was downloading files by hand, renaming them and hoping Plex noticed. After a week off I'd have 47 torrents in a Downloads folder and no idea what was what. Now I don't touch files at all.

What you need

  • A server running Ubuntu 24.04 LTS. A spare PC or mini PC is fine. See the hardware table in Step 0.
  • Storage for your media. A big local drive or a mounted NAS share.
  • A free Plex account. A Plex Pass is optional; it's only needed for hardware transcoding.
  • Another computer on the same network with a web browser.
  • Basic comfort typing commands into a terminal. I explain each one.

You don't need prior Docker experience.

A note on legality: these tools automate downloading via BitTorrent. Only download content you have the right to. Many people use this stack for public-domain films, Linux ISOs, or media they already own.


What it is

Stack qBittorrent + Prowlarr + Radarr + Sonarr + Plex + Tautulli + Jellyseerr
Purpose Fully automated media acquisition, organization, and playback
Platform Ubuntu 24.04 LTS (Docker + Docker Compose)
License Mix of GPL, MIT, and proprietary (Plex)
Repository Individual GitHub repos (links at the end)

The apps

App Purpose Port
qBittorrent Torrent client 8080
Prowlarr Indexer manager (syncs to Sonarr/Radarr) 9696
Radarr Movie automation 7878
Sonarr TV automation 8989
Plex Media server 32400
Tautulli Plex monitoring/analytics 8181
Jellyseerr Media request portal 5055

In plain terms:

  • qBittorrent downloads files.
  • An indexer is a site that lists available torrents. Prowlarr keeps your list of indexers in one place and shares it with Radarr and Sonarr.
  • Radarr (movies) and Sonarr (TV) decide what to download, send it to qBittorrent, then rename and move the finished files. People call these the "*arr apps".
  • Plex plays your library on TVs, phones and browsers.
  • Tautulli shows who is watching what on Plex.
  • Jellyseerr is the request page. You or your family search for a title and click Request.

Seerr: in 2026 Jellyseerr and Overseerr merged into one project called Seerr (image ghcr.io/seerr-team/seerr). The setup screens in Step 8 are the same idea in both. If you're starting fresh, check the Seerr docs for its current compose example.

How they connect

CALL FLOW
Prowlarr Radarr/Sonarr qBittorrent Tracker /downloads /movies or /tv Plex User Tautulli
send .torrent/magnet
add torrent with category
download files
import + rename + move
organized files
trigger library scan
stream
track what's watched

Why this is tricky: seven apps that must trust each other

Starting seven containers is the easy part. The work is wiring them together:

  • Radarr and Sonarr need qBittorrent's login to add torrents and check progress, each in its own category.
  • Prowlarr needs the API key from each *arr app to push indexers to them.
  • Plex needs to hear from Radarr and Sonarr when new files arrive.
  • Jellyseerr needs Radarr and Sonarr API keys to submit requests.
  • Tautulli needs access to Plex to watch streams.
  • All of them need to agree on where files live.

An API key is a long password one app gives another so they can talk without a human logging in. You'll copy several of them around.

Get one folder path wrong and Radarr imports from /downloads while Plex scans an empty /movies. That's the most common failure, and this guide spells out every path.


Step 0: Prepare the server

Hardware

Component Minimum Recommended
CPU 4 cores (x86_64) 6+ cores, Quick Sync for transcoding
RAM 8 GB 16–32 GB
Boot Drive 256 GB SSD 500 GB NVMe
Storage 1 TB 4+ TB (or NAS mount)
Network 1 GbE 2.5/10 GbE

Transcoding means Plex converts a video on the fly when a device can't play the original format. Quick Sync is the video engine built into most Intel CPUs, and it makes transcoding much cheaper.

Install Docker

Docker runs each app in its own isolated container. Docker Compose starts all of them from one config file.

# Update system
sudo apt update && sudo apt upgrade -y

# Install Docker
curl -fsSL https://get.docker.com | sudo sh
sudo usermod -aG docker $USER
newgrp docker

# Install Docker Compose (included with Docker Desktop, or)
sudo apt install docker-compose-plugin -y
docker compose version

# Verify
docker run hello-world

The usermod line lets your user run Docker without sudo. newgrp docker applies that in the current terminal; in new terminals, log out and back in once.

Check it worked: docker run hello-world prints "Hello from Docker!".

Create the folders

Every app shares one folder layout so paths stay consistent:

sudo mkdir -p /media-stack/{downloads,movies,tv,plex-transcode}
sudo mkdir -p /media-stack/downloads/{complete,incomplete}

# Set permissions (apps run as UID 1000 in this setup)
sudo chown -R 1000:1000 /media-stack
sudo chmod -R 775 /media-stack

/media-stack sits at the root of the disk, so creating it needs sudo. Each app's settings live in Docker named volumes (see the compose file), so no config folders are needed here.

UID 1000 is the user ID of the first account on a typical Ubuntu install. Check yours with id -u. If it isn't 1000, use your number in the chown line and in every PUID/PGID line below.

Key point: Every container maps the same /media-stack folders on the host. Inside the containers we use standard paths (/config, /downloads, /movies, /tv). That way Radarr, Sonarr and qBittorrent all see the same files at the same paths.

Check it worked: ls -ln /media-stack lists the folders owned by 1000 1000.


Step 1: The Docker Compose file

Create /media-stack/docker-compose.yml (for example with sudo nano /media-stack/docker-compose.yml) and paste this in:

# All services share the same network so they can reach each other by container name
networks:
  media-stack:
    driver: bridge

# Named volumes hold each app's settings
volumes:
  qbittorrent-config:
  prowlarr-config:
  radarr-config:
  sonarr-config:
  plex-config:
  tautulli-config:
  jellyseerr-config:

services:

  # ============================================================
  # QBITTORRENT — Torrent client
  # ============================================================
  qbittorrent:
    image: lscr.io/linuxserver/qbittorrent:5.2.3
    container_name: qbittorrent
    networks:
      - media-stack
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
      - WEBUI_PORT=8080
    volumes:
      - qbittorrent-config:/config
      - /media-stack/downloads:/downloads
    ports:
      - "8080:8080"     # WebUI
      - "6881:6881"     # TCP peer
      - "6881:6881/udp" # UDP peer
    restart: unless-stopped

  # ============================================================
  # PROWLARR — Indexer manager
  # ============================================================
  prowlarr:
    image: lscr.io/linuxserver/prowlarr:latest
    container_name: prowlarr
    networks:
      - media-stack
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
    volumes:
      - prowlarr-config:/config
    ports:
      - "9696:9696"
    restart: unless-stopped

  # ============================================================
  # RADARR — Movie automation
  # ============================================================
  radarr:
    image: lscr.io/linuxserver/radarr:latest
    container_name: radarr
    networks:
      - media-stack
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
    volumes:
      - radarr-config:/config
      - /media-stack/movies:/movies
      - /media-stack/downloads:/downloads
    ports:
      - "7878:7878"
    restart: unless-stopped

  # ============================================================
  # SONARR — TV automation
  # ============================================================
  sonarr:
    image: lscr.io/linuxserver/sonarr:latest
    container_name: sonarr
    networks:
      - media-stack
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
    volumes:
      - sonarr-config:/config
      - /media-stack/tv:/tv
      - /media-stack/downloads:/downloads
    ports:
      - "8989:8989"
    restart: unless-stopped

  # ============================================================
  # PLEX — Media server
  # ============================================================
  plex:
    image: lscr.io/linuxserver/plex:latest
    container_name: plex
    networks:
      - media-stack
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
      - VERSION=docker
      - PLEX_CLAIM=claim-XXXXXXXXXXXX  # Get from https://www.plex.tv/claim/
    volumes:
      - plex-config:/config
      - /media-stack/plex-transcode:/transcode
      - /media-stack/movies:/movies
      - /media-stack/tv:/tv
    ports:
      - "32400:32400"   # Web UI
      - "1900:1900/udp" # DLNA
      - "5353:5353/udp" # Bonjour/Avahi
      - "8324:8324"     # Plex for Roku
      - "32410:32410/udp" # GDM network discovery
      - "32412:32412/udp"
      - "32413:32413/udp"
      - "32414:32414/udp"
      - "32469:32469"   # DLNA
    devices:
      - /dev/dri:/dev/dri  # Intel Quick Sync for hardware transcoding
    restart: unless-stopped

  # ============================================================
  # TAUTULLI — Plex monitoring
  # ============================================================
  tautulli:
    image: lscr.io/linuxserver/tautulli:latest
    container_name: tautulli
    networks:
      - media-stack
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
    volumes:
      - tautulli-config:/config
    ports:
      - "8181:8181"
    restart: unless-stopped

  # ============================================================
  # JELLYSEERR — Media request portal
  # ============================================================
  jellyseerr:
    image: fallenbagel/jellyseerr:latest
    container_name: jellyseerr
    networks:
      - media-stack
    environment:
      - LOG_LEVEL=info
      - TZ=America/New_York
    volumes:
      - jellyseerr-config:/app/config
    ports:
      - "5055:5055"
    restart: unless-stopped

Before you save, change these:

  • TZ=America/New_York: your own time zone, in the same format (for example Europe/London).
  • PLEX_CLAIM: sign in at plex.tv/claim and paste the code. A claim code only lasts a few minutes, so grab it right before you start the stack. It links the new server to your Plex account.
  • /dev/dri: only works if your server has an Intel or AMD GPU. If ls /dev/dri shows nothing, delete the two devices: lines or Plex won't start.

Older versions of this file started with version: "3.8". Current Docker Compose ignores that line and prints a warning, so I removed it.

Start everything

cd /media-stack
docker compose up -d

# Verify all containers are running
docker compose ps

# Check logs for any errors
docker compose logs -f

up -d downloads the images and starts the containers in the background. Press Ctrl+C to stop following the logs; the containers keep running.

Check it worked: docker compose ps lists seven containers, all with a status of running (or Up). Give them 2–3 minutes, then open each web page, replacing YOUR_SERVER_IP with your server's address (find it with hostname -I):

App URL
qBittorrent http://YOUR_SERVER_IP:8080
Prowlarr http://YOUR_SERVER_IP:9696
Radarr http://YOUR_SERVER_IP:7878
Sonarr http://YOUR_SERVER_IP:8989
Plex http://YOUR_SERVER_IP:32400/web
Tautulli http://YOUR_SERVER_IP:8181
Jellyseerr http://YOUR_SERVER_IP:5055

Step 2: Set up qBittorrent

First login

The username is admin. There's no fixed default password any more: the container prints a temporary one to its log at startup. Find it with:

docker logs qbittorrent

Look for the line about a temporary password, then log in.

Change the password right away, or a new temporary one is generated every time the container restarts:

  1. Go to Tools → Options → Web UI.
  2. Set your own username and password.
  3. Click Save.

Download folders

Go to Tools → Options → Downloads.

Setting Value
Default Save Path /downloads/complete
Keep incomplete torrents in /downloads/incomplete
Append .!qB to incomplete files Enabled
Automatically add torrents from Disabled (the *arr apps add torrents)

These are paths inside the container. They map to /media-stack/downloads/... on the server.

Categories

A category is a label on each torrent. Radarr tags its downloads radarr and only manages torrents with that label, so movies and TV never get mixed up.

In the left sidebar, right-click Categories and choose Add category.

Category Name Save Path
radarr /downloads/complete
sonarr /downloads/complete

Important: the category name in qBittorrent must exactly match what you type in the Category field in Radarr and Sonarr (Steps 4 and 5). Lowercase and identical is the easy way to get that right.

How the *arr apps log in

qBittorrent doesn't have a separate API key. Radarr and Sonarr log in with the Web UI username and password you just set, so keep them handy.

qBittorrent has a "Bypass authentication for clients on localhost" option. Leave it off. The other containers connect over the Docker network from their own addresses, not localhost, so it doesn't help here.


Step 3: Set up Prowlarr

First run

Open http://YOUR_SERVER_IP:9696. The first time, Prowlarr asks you to set up authentication. Pick Forms (Login Page) and create a username and password.

Add indexers

Go to Indexers → Add Indexer, search by name, and click Test then Save for each one.

Public indexers that don't need an account:

Indexer Type Notes
1337x Torrent General
EZTV Torrent TV-specific
YTS Torrent Movies, small file sizes
TorrentGalaxy Torrent General
Nyaa Torrent Anime (if needed)

Public indexers come and go. RARBG, which appeared in older guides, shut down in May 2023, so skip it. If an indexer fails its test, try another.

For private trackers, add them with your passkey or API key from that site.

Connect Prowlarr to Radarr and Sonarr

This step saves you the most work: Prowlarr pushes your whole indexer list into Radarr and Sonarr, and keeps it updated.

You need each app's API key. In Radarr or Sonarr, open Settings → General and copy the API Key. Radarr and Sonarr also ask you to set a login the first time you open them, the same as Prowlarr.

Settings → Apps → Add Application → Radarr

Field Value
Name Radarr
Sync Level Full Sync
Prowlarr Server http://prowlarr:9696
Radarr Server http://radarr:7878
API Key (from Radarr: Settings → General → API Key)

Settings → Apps → Add Application → Sonarr

Field Value
Name Sonarr
Sync Level Full Sync
Prowlarr Server http://prowlarr:9696
Sonarr Server http://sonarr:8989
API Key (from Sonarr: Settings → General → API Key)

Note: use container names (prowlarr, radarr, sonarr) instead of IP addresses. Docker's built-in DNS resolves them on the shared media-stack network, and they keep working when a container restarts with a new IP.

Click Test on each, then Save.

Check it worked: within a minute, Radarr → Settings → Indexers and Sonarr → Settings → Indexers both list your Prowlarr indexers.


Step 4: Set up Radarr (movies)

First run

Open http://YOUR_SERVER_IP:7878 and set up a login when asked.

Download client

Go to Settings → Download Clients → Add (+) → qBittorrent.

Field Value
Name qBittorrent
Host qbittorrent
Port 8080
Username (your qBittorrent username)
Password (your qBittorrent password)
Category radarr
Recent Priority High
Older Priority High

Check it worked: click Test and you get a green check mark. Then Save.

Root folder

The root folder is where finished movies end up.

Go to Settings → Media Management → Root Folders → Add Root Folder and choose /movies.

Quality profiles

A quality profile tells Radarr which versions of a movie are acceptable and which one is good enough to stop looking. Edit these under Settings → Profiles. Here is what I aim for:

PACKET ANALYSIS
Profile
HD-1080p
Qualities
Bluray-1080p > Web-1080p > HDTV-1080p > Bluray-720p > Web-720p > HDTV-720p
Cutoff
Bluray-1080p
Size limit
~8-15 GB per movie
PACKET ANALYSIS
Profile
UHD-4K
Qualities
Bluray-2160p > Web-2160p > HDTV-2160p
Cutoff
Bluray-2160p
Size limit
~25-80 GB per movie

The cutoff is the quality where Radarr stops upgrading. File size limits per quality are set separately, under Settings → Quality.

File naming

Go to Settings → Media Management, turn on Rename Movies, and set:

Setting Value
Standard Movie Format {Movie CleanTitle} ({Release Year}) {Quality Full}
Movie Folder Format {Movie CleanTitle} ({Release Year}) [imdb-{ImdbId}]
Replace Spaces No (or Yes, with .)

Example result: /movies/The Matrix (1999) [imdb-tt0133093]/The Matrix (1999) Bluray-1080p.mkv

Putting the IMDb ID in the folder name helps Plex match the right movie when titles are similar.

Tell Plex about new movies

Do this after Plex is set up in Step 6, because you need your Plex token.

Go to Settings → Connect → Add (+) → Plex Media Server.

Field Value
Name Plex
Host plex
Port 32400
Auth Token (your Plex token, see Step 6)
Update Library Enabled

Leave the import and upgrade triggers on. Radarr then tells Plex to rescan as soon as it imports or upgrades a movie.


Step 5: Set up Sonarr (TV)

Sonarr works almost the same as Radarr.

First run

Open http://YOUR_SERVER_IP:8989 and set up a login when asked.

Download client

Go to Settings → Download Clients → Add (+) → qBittorrent.

Field Value
Name qBittorrent
Host qbittorrent
Port 8080
Username (your qBittorrent username)
Password (your qBittorrent password)
Category sonarr
Recent Priority High
Older Priority High

Check it worked: click Test for a green check mark, then Save.

Root folder

Go to Settings → Media Management → Root Folders → Add Root Folder and choose /tv.

Quality profile

Under Settings → Profiles:

PACKET ANALYSIS
Profile
HD-1080p-TV
Qualities
Bluray-1080p > Web-1080p > HDTV-1080p > Bluray-720p > Web-720p > HDTV-720p
Cutoff
Bluray-1080p
Size limit
~2-6 GB per episode

File naming

Go to Settings → Media Management, turn on Rename Episodes, and set:

Setting Value
Standard Episode Format {Series TitleYear} - S{season:00}E{episode:00} - {Episode CleanTitle} {Quality Full}
Season Folder Format Season {season:00}
Series Folder Format {Series TitleYear} [tvdb-{TvdbId}]
Replace Spaces No (or Yes, with .)

Example result: /tv/Breaking Bad (2008) [tvdb-81189]/Season 01/Breaking Bad (2008) - S01E01 - Pilot Bluray-1080p.mkv

Season folders are on by default when you add a series.

Tell Plex about new episodes

After Step 6, go to Settings → Connect → Add (+) → Plex Media Server and fill it in exactly as for Radarr: host plex, port 32400, your Plex token, Update Library enabled.


Step 6: Set up Plex

First run

  1. Open http://YOUR_SERVER_IP:32400/web and sign in with your Plex account.
  2. Name the server, for example MediaStack.
  3. Leave remote access off for now. You can turn it on later.

If Plex says no server was found, your claim code probably expired. See Troubleshooting.

Libraries

Go to Settings → Libraries → Add Library.

Library Type Folder Scanner Agent
Movies /movies Plex Movie Plex Movie
TV Shows /tv Plex TV Series Plex TV Series

Check it worked: both libraries appear in the sidebar. They're empty until the first download finishes.

Hardware transcoding (Plex Pass only)

Hardware-accelerated streaming is a Plex Pass feature. Without Plex Pass, Plex still transcodes using the CPU.

Go to Settings → Transcoder.

Setting Value
Transcoder quality Automatic
Background transcoding x264 preset Default
Use hardware acceleration when available Enabled
Use hardware-accelerated video encoding Enabled

Note: Intel Quick Sync needs /dev/dri passed into the container, which the compose file already does. For an NVIDIA card, install the NVIDIA Container Toolkit on the server, then add runtime: nvidia and NVIDIA_VISIBLE_DEVICES=all to the Plex service in the compose file.

Find your Plex token

Radarr, Sonarr and Tautulli need your Plex token, a key that acts like your Plex login. Plex's official method:

  1. In Plex Web, open any movie or episode.
  2. Click the ⋯ menu and choose Get Info, then View XML.
  3. The page that opens has X-Plex-Token= in its address. Copy the value after the =.

Treat the token like a password. Don't paste it into forums or screenshots.

Local discovery

Go to Settings → Network and click Show Advanced.

Setting Value
Enable local network discovery (GDM) Enabled
DLNA Enabled (optional)

GDM lets Plex apps on your TV and phone find the server automatically on your home network.


Step 7: Set up Tautulli

First run

Open http://YOUR_SERVER_IP:8181. The setup wizard asks you to:

  1. Sign in with your Plex account.
  2. Pick your Plex server, or enter it by hand using the values below.
  3. Optionally import existing watch history.

Plex connection

If you need to enter it by hand (or fix it later under Settings → Plex Media Server):

Field Value
Plex IP/Hostname plex
Plex Port 32400
Plex Token (your Plex token)
Use SSL No

Check it worked: click Verify and Tautulli confirms the server.

Notifications (optional)

Go to Settings → Notification Agents → Add a new notification agent. Ideas:

Agent Triggers
Email Recently Added, Playback Start, Server Down
Discord Recently Added, Playback Start
Telegram Recently Added, Server Down
Webhook All events (for custom integrations)

The Activity section on the home page shows live streams: who's watching what, direct play or transcoding, bandwidth, and the quality being streamed.


Step 8: Set up Jellyseerr

First run

  1. Open http://YOUR_SERVER_IP:5055.
  2. Choose Plex as your media server and sign in with your Plex account.
  3. Select your Plex server and the Movies and TV libraries to sync.

Connect Radarr

Go to Settings → Services → Add Radarr Server.

Field Value
Default Server Checked
Server Name Radarr
Hostname or IP Address radarr
Port 7878
API Key (from Radarr: Settings → General → API Key)
External URL http://YOUR_SERVER_IP:7878

Click Test. Once it succeeds, Jellyseerr loads Radarr's quality profiles and root folders. Pick your profile (for example HD-1080p) and the /movies root folder, then save.

Connect Sonarr

Go to Settings → Services → Add Sonarr Server and fill it in the same way:

Field Value
Default Server Checked
Server Name Sonarr
Hostname or IP Address sonarr
Port 8989
API Key (from Sonarr: Settings → General → API Key)
External URL http://YOUR_SERVER_IP:8989

Click Test, then choose the quality profile, the /tv root folder, and turn on Season Folders.

There's also a 4K Server checkbox. That's for a second, separate Radarr or Sonarr instance dedicated to 4K. With one instance of each, leave it unchecked.

Users and limits

Under Settings → Users you can set:

  • Default permissions for new users. Include Auto-Approve if you trust everyone, or leave it off so you approve each request yourself.
  • Global request limits, for example 5 movies and 10 seasons per week.

To add people, go to Users. Import Plex Users pulls in friends you already share Plex with. Create Local User makes an account from an email address; Jellyseerr can email the password if you've set up email under Settings → Notifications.


Step 9: Test the whole chain

Start with one movie before adding anything else.

Test 1: request a movie

  1. In Jellyseerr, search for a movie and click Request.
  2. In Radarr, the movie appears under Movies, and Activity → Queue shows it downloading.
  3. In qBittorrent, the torrent appears with category radarr.
  4. When it finishes, Radarr imports it from /downloads/complete, renames it and moves it into /movies.
  5. Radarr tells Plex, and the movie appears in your Plex Movies library.
  6. If you set up a "Recently Added" notification, Tautulli sends it.

Test 2: request a TV show

  1. In Jellyseerr, search for a show, pick the seasons you want, and click Request.
  2. Sonarr adds it and searches; qBittorrent shows torrents with category sonarr.
  3. Finished episodes land in /tv/<Show> (<Year>) [tvdb-...]/Season 01/.
  4. The show appears in your Plex TV library.

Test 3: play it

  1. Play the movie or episode in Plex.
  2. Open Tautulli. The stream shows on the home page, including whether it's direct play or transcoding.
  3. Later, Tautulli's History and Graphs pages show the playback.

If something stalls, check each app's Activity or log page in order (Jellyseerr, Radarr/Sonarr, qBittorrent, Plex). The first app that didn't do its job is where the problem is.


Step 10: Reverse proxy (optional)

A reverse proxy sits in front of your apps and gives each one a clean HTTPS address like radarr.yourdomain.com. Nginx Proxy Manager and Traefik are popular choices.

Nginx Proxy Manager example

Domain Forward To Scheme
qbittorrent.yourdomain.com http://YOUR_SERVER_IP:8080 http
prowlarr.yourdomain.com http://YOUR_SERVER_IP:9696 http
radarr.yourdomain.com http://YOUR_SERVER_IP:7878 http
sonarr.yourdomain.com http://YOUR_SERVER_IP:8989 http
plex.yourdomain.com http://YOUR_SERVER_IP:32400 http
tautulli.yourdomain.com http://YOUR_SERVER_IP:8181 http
requests.yourdomain.com http://YOUR_SERVER_IP:5055 http

Turn on SSL with Let's Encrypt for each subdomain.

Be careful what you expose. qBittorrent, Prowlarr, Radarr and Sonarr control downloads on your server. I keep them reachable only from my home network or over a VPN, and only expose Plex and the request page to the internet.

qBittorrent behind a proxy

Go to Tools → Options → Web UI → Reverse proxy support.

Setting Value
Enable reverse proxy support Enabled
Trusted reverse proxy IPs 172.16.0.0/12 (Docker subnet)
X-Forwarded-Host header Enabled

Step 11: Backups and updates

Back up the settings

Every app's settings live in Docker volumes. Docker names them after the project folder, so they're called media-stack_radarr-config and so on, stored under /var/lib/docker/volumes/. Your media files aren't included; back those up separately.

# Stop containers
cd /media-stack && docker compose down

# Backup all config volumes
sudo mkdir -p /backup
sudo tar -czf /backup/media-stack-configs-$(date +%Y%m%d).tar.gz \
  /var/lib/docker/volumes/media-stack_*

# Restart
docker compose up -d

Stopping the containers first means no app is halfway through writing its database while you copy it.

Check it worked: ls -lh /backup shows a .tar.gz file of a reasonable size (tens or hundreds of MB, mostly Plex).

Automated backup script

Save this as /media-stack/backup.sh:

#!/bin/bash
# /media-stack/backup.sh
BACKUP_DIR="/backup/media-stack"
DATE=$(date +%Y%m%d_%H%M%S)

mkdir -p $BACKUP_DIR
cd /media-stack

docker compose stop
tar -czf "$BACKUP_DIR/configs-$DATE.tar.gz" \
  /var/lib/docker/volumes/media-stack_*
docker compose start

# Keep only last 7 backups
ls -t $BACKUP_DIR/configs-*.tar.gz | tail -n +8 | xargs rm -f

Make it executable, then open root's crontab (the script reads Docker's volume folder, which needs root):

sudo chmod +x /media-stack/backup.sh
sudo crontab -e

Add this line at the bottom of the file that opens, then save. It runs the backup every Sunday at 03:00:

0 3 * * 0 /media-stack/backup.sh

Update all containers

cd /media-stack

# Pull latest images
docker compose pull

# Recreate containers with new images
docker compose up -d

# Clean up old images
docker image prune -f

qBittorrent is pinned to 5.2.3 in the compose file, so it won't update until you change that tag. The others follow latest.


Troubleshooting

"Permission denied" or Radarr/Sonarr can't import. The folder owner doesn't match PUID/PGID. Run id -u and id -g, make sure the compose file uses those numbers, and rerun the chown command from Step 0.

Downloads finish but never get imported. Usually a path or category mismatch. Check that the category in qBittorrent matches the one in Radarr/Sonarr exactly, and that both containers mount /media-stack/downloads at /downloads. Radarr's Activity → Queue shows a warning icon with the reason.

qBittorrent login stopped working after a restart. You never changed the temporary password, so a new one was generated. Get it with docker logs qbittorrent, then set a permanent one under Tools → Options → Web UI.

The Test button fails in Radarr or Sonarr. Check you used qbittorrent as the host (not localhost), port 8080, and the right username and password.

An indexer fails its test in Prowlarr. Public sites go down or move often. Some sit behind Cloudflare and need an extra helper called FlareSolverr. The easy fix is to try a different indexer.

Plex can't find the server, or it's not linked to your account. The claim code expired before the container started. Get a new one from plex.tv/claim, update PLEX_CLAIM, and run docker compose up -d again.

Plex fails to start after adding /dev/dri. Your server has no GPU device there. Remove the devices: lines.

Port 8080 is already in use. Another program owns it. Change the left side of the mapping (for example "8081:8080") and open qBittorrent on 8081. Inside Docker, Radarr and Sonarr still use port 8080.

Downloads fill the disk twice. Radarr and Sonarr see /downloads and /movies as separate mounts, so imports are copies, and the original stays while it seeds. Remove finished torrents in qBittorrent once you no longer need to seed, or look into a single shared /data mount if you want hardlinks.


What I'd tell anyone building one

  1. Create the categories first. Most broken setups I've seen come down to a category in qBittorrent that doesn't match what Radarr or Sonarr sends. Make radarr and sonarr in qBittorrent before adding the download client in the *arr apps.
  2. Use container names, not IPs. Docker resolves qbittorrent, radarr, sonarr and the rest on the shared network. Container IPs can change on restart; names don't.
  3. Map the same host paths everywhere. qBittorrent downloads to /downloads. Radarr and Sonarr import from /downloads. Plex scans /movies and /tv. If these don't line up across containers, files get stuck.
  4. Don't skip the Plex connection in Radarr and Sonarr. Without it, new files only show up at Plex's next scheduled scan. With it, they show up right after import.
  5. Test with one movie first. Don't bulk-add 500 movies before you've watched one go all the way through. Then scale up.
  6. Put qBittorrent behind a VPN. Route only qBittorrent through a VPN container such as gluetun so your ISP doesn't see torrent traffic. The other apps don't need it.
  7. Start with modest quality profiles. A 4K remux is 50–80 GB; a 1080p Blu-ray rip is 8–15 GB. Start at 1080p and add 4K only if you have the storage and bandwidth. Radarr can upgrade later.

Next steps

  • Add the gluetun VPN container in front of qBittorrent.
  • Set up the reverse proxy from Step 10 so family can reach the request page from outside.
  • If you're starting from scratch, consider the Seerr image instead of Jellyseerr, since that's where development continues.

Get it


Last updated: 2026-08-30. Tested on Ubuntu 24.04 LTS with Docker 27.x. Versions: qBittorrent 5.2.3, Prowlarr v3, Radarr v6, Sonarr v4, Plex 1.40+, Tautulli 2.14+, Jellyseerr 2.0+.

Comments (0)

Join the discussion — sign in to comment.

Sign in

No comments yet — be the first to share your thoughts.