make the folders for the config files
sudo mkdir -p /srv/docker-data/prowlarr
sudo mkdir -p /srv/docker-data/radarr
sudo mkdir -p /srv/docker-data/sonarrmake the folders inside the Jellyfin folder
sudo mkdir -p /mnt/media/movies
sudo mkdir -p /mnt/media/tvSet the correct permission. See the setup of Syncthing for more info.
sudo chown -R 1000:1000 /srv/docker-data/prowlarr /srv/docker-data/radarr /srv/docker-data/sonarr
sudo chown -R 1000:1000 /mnt/media/movies /mnt/media/tvNow in Portainer web UI interface (in web editor) we set the config for all three services at the same time.
version: "3.5"
services:
prowlarr:
image: lscr.io/linuxserver/prowlarr:latest
container_name: prowlarr
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
volumes:
- /srv/docker-data/prowlarr:/config
ports:
- 9696:9696
restart: unless-stopped
radarr:
image: lscr.io/linuxserver/radarr:latest
container_name: radarr
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
volumes:
- /srv/docker-data/radarr:/config
- /mnt/media/movies:/movies # Path for your movie library
- /mnt/media/downloads/complete:/downloads # Path to completed torrents
ports:
- 7878:7878
restart: unless-stopped
sonarr:
image: lscr.io/linuxserver/sonarr:latest
container_name: sonarr
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
volumes:
- /srv/docker-data/sonarr:/config
- /mnt/media/tv:/tv # Path for your TV library
- /mnt/media/downloads/complete:/downloads # Path to completed torrents
ports:
- 8989:8989
restart: unless-stoppedAfter this, i just followed the AI instruction and it was setup:
Now the configuration
1. Prowlarr (The Indexer Manager)
-
Open it:
http://YOUR_SERVER_IP:9696 -
Go to Indexers → Add Indexer (+).
-
Add any public trackers you use (e.g., search for
1337x,TorrentGalaxy). You can also add private trackers if you have an account.
2. Radarr (The Movie Manager)
-
Open it:
http://YOUR_SERVER_IP:7878 -
Connect Transmission:
-
Go to Settings → Download Clients → Add (+).
-
Find and click on Transmission.
-
Name:
transmission -
Host:
transmission(This is key! The containers talk using their container names). -
Port:
9091[Also take care oflocalhost, use the localipinstead of the word localhost, since arr are in different container, the are notlocalhostto trasmission server] -
(Leave username/password blank unless you set one in Transmission).
-
Directory:
/downloads(This is Transmission’s container path for downloads). -
Click Test (it should say “Success!”) then Save.
-
Connect Prowlarr:
Step 1: Get Radarr’s API Key
First, we need to get Radarr’s “password” (its API key) so Prowlarr can talk to it.
-
Go to your Radarr Web UI (
http://YOUR_SERVER_IP:7878). -
On the left menu, go to Settings → General.
-
Find the API Key field (it’s a long string of letters and numbers).
-
Copy this API key to your clipboard.
Step 2: Connect Radarr inside Prowlarr
Now, we go to Prowlarr and tell it about Radarr.
-
Go to your Prowlarr Web UI (
http://YOUR_SERVER_IP:9696). -
On the left menu, go to Settings → Apps.
-
Click the big
+button to “Add Application”. -
A list will pop up. Click on Radarr.
-
A “New App - Radarr” window will open. Fill it in like this:
-
Name:
Radarr(this is fine). -
Sync Profile:
Add and Remove Indexers. -
Prowlarr Server:
http://YOUR_SERVER_IP:9696(Use your server’s IP). -
Radarr Server:
http://YOUR_SERVER_IP:7878(Use your server’s IP). -
Radarr API Key: Paste the key you just copied from Radarr.
-
-
Click the Test button. It should spin and then say “Success!”
-
Click Save.
Step 3: Verify in Radarr
Now for the magic part.
-
Go back to your Radarr tab (
http://YOUR_SERVER_IP:7878). -
Go to Settings → Indexers.
-
You will now see all the indexers you added in Prowlarr (like
1337x) automatically populated in this list! They will have a “Prowlarr” tag on them.
That’s it! You never have to add an indexer in Radarr again. Just add it in Prowlarr, and it will sync automatically.
Set Your Media Folder:
-
Go to Settings → Media Management.
-
Click Add Root Folder and select
/movies. This is the container path we defined. -
You’re set! You can now go to “Movies” and start adding movies you want.
3. Sonarr (The TV Show Manager)
-
Open it:
http://YOUR_SERVER_IP:8989 -
The process is identical to Radarr.
-
Connect Transmission: Go to Settings → Download Clients. Add Transmission using the host
transmissionand port9091.
Connect Prowlarr:
You can now repeat this exact same process for Sonarr:
-
Get the API key from Sonarr (
Settings→General). -
Go to Prowlarr (
Settings→Apps→+). -
Add Sonarr, pasting in its API key and using its URL (
http://YOUR_SERVER_IP:8989). -
Click Save, and Prowlarr will now also sync all your indexers to Sonarr.
Set Your Media Folder:
Set Your Media Folder: Click Add Root Folder and select /tv.
How it works:
Here is your real-life workflow. Your only job is to tell the server what you want. The server will handle the rest.
How to Add a New Movie (Your Job)
Let’s say you want to add the movie “Dune: Part Two”.
-
Open Radarr (
http://YOUR_SERVER_IP:7878). -
Click the Add New button in the top bar.
-
Type
Dune: Part Twoin the search box. -
Click the correct movie from the results.
-
A window pops up. You only need to check two things:
-
Quality Profile: Make sure it’s the quality you want (e.g.,
1080p). -
Search on Add: Check this box. This tells Radarr “Go find this movie right now.”
-
-
Click the Add Movie button.
How to Add a New TV Show (Your Job)
Let’s say you want to start watching “Shōgun”.
-
Open Sonarr (
http://YOUR_SERVER_IP:8989). -
Click the Add New button.
-
Type
Shōgunin the search box. -
Click the correct show.
-
A window pops up. Check these things:
-
Quality Profile: Set your desired quality.
-
Monitor: Choose what you want. “Missing Episodes” is good for a show that’s already aired. “Future Episodes Only” is for new shows you want to catch.
-
Search on Add: Check this box to tell Sonarr “Go find all the episodes I’m monitoring right now.”
-
-
Click the Add Show button.
What Your Server Does Automatically (The Magic)
This is what happens in the background the moment you click “Add”:
-
Searching (Seconds):
-
Radarr (or Sonarr) gets your request.
-
It asks Prowlarr for the movie.
-
Prowlarr asks all your torrent sites (indexers) at once.
-
It finds the best-matching file and sends it back to Radarr.
-
-
Downloading (Minutes/Hours):
-
Radarr sends the torrent file to Transmission.
-
You can open the Transmission UI (
http://YOUR_SERVER_IP:9091) to see the download in progress.
-
-
Importing (Seconds):
-
Once Transmission finishes (in the
/mnt/media/downloads/completefolder), Radarr sees it. -
Radarr copies the file, renames it (e.g.,
Dune Part Two (2024).mkv), and moves it to your final library (/mnt/media/movies/).
-
-
Viewing (Minutes):
-
Jellyfin (which scans your
/mnt/mediadrive) detects a new movie has arrived. -
It automatically downloads the poster, summary, and cast info.
-
You open your Jellyfin app on your TV, phone, or browser, and the movie is there, ready to watch.
-
That’s it. Your only task is to add what you want in Radarr and Sonarr. Your server does all the work, from finding the file to organizing it perfectly for Jellyfin.