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/sonarr

make the folders inside the Jellyfin folder

sudo mkdir -p /mnt/media/movies
sudo mkdir -p /mnt/media/tv

Set 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/tv

Now 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-stopped

After 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 of localhost, use the local ip instead of the word localhost, since arr are in different container, the are not localhost to 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.

  1. Go to your Radarr Web UI (http://YOUR_SERVER_IP:7878).

  2. On the left menu, go to SettingsGeneral.

  3. Find the API Key field (it’s a long string of letters and numbers).

  4. Copy this API key to your clipboard.

Step 2: Connect Radarr inside Prowlarr

Now, we go to Prowlarr and tell it about Radarr.

  1. Go to your Prowlarr Web UI (http://YOUR_SERVER_IP:9696).

  2. On the left menu, go to SettingsApps.

  3. Click the big + button to “Add Application”.

  4. A list will pop up. Click on Radarr.

  5. 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.

  6. Click the Test button. It should spin and then say “Success!”

  7. Click Save.

Step 3: Verify in Radarr

Now for the magic part.

  1. Go back to your Radarr tab (http://YOUR_SERVER_IP:7878).

  2. Go to SettingsIndexers.

  3. 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 transmission and port 9091.

Connect Prowlarr:

You can now repeat this exact same process for Sonarr:

  1. Get the API key from Sonarr (SettingsGeneral).

  2. Go to Prowlarr (SettingsApps+).

  3. Add Sonarr, pasting in its API key and using its URL (http://YOUR_SERVER_IP:8989).

  4. 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”.

  1. Open Radarr (http://YOUR_SERVER_IP:7878).

  2. Click the Add New button in the top bar.

  3. Type Dune: Part Two in the search box.

  4. Click the correct movie from the results.

  5. 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.”

  6. Click the Add Movie button.

How to Add a New TV Show (Your Job)

Let’s say you want to start watching “Shōgun”.

  1. Open Sonarr (http://YOUR_SERVER_IP:8989).

  2. Click the Add New button.

  3. Type Shōgun in the search box.

  4. Click the correct show.

  5. 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.”

  6. Click the Add Show button.


What Your Server Does Automatically (The Magic)

This is what happens in the background the moment you click “Add”:

  1. 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.

  2. 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.

  3. Importing (Seconds):

    • Once Transmission finishes (in the /mnt/media/downloads/complete folder), 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/).

  4. Viewing (Minutes):

    • Jellyfin (which scans your /mnt/media drive) 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.