# Complete Media Server Stack

> Jellyfin media server with Sonarr, Radarr, Prowlarr, qBittorrent, and Jellyseerr for requests

- Category: Media & Entertainment
- Difficulty: intermediate
- Components: jellyfin, sonarr, radarr, prowlarr, qbittorrent, jellyseerr
- Tags: jellyfin, sonarr, radarr, prowlarr, qbittorrent, media-automation
- Source: https://docker.recipes/media/complete-media-server

## Overview

Jellyfin is a completely free and open-source media server that puts you in control of your content without any tracking, premium features, or subscriptions. Originally forked from Emby in 2018, Jellyfin has grown into a robust alternative to Plex, offering hardware transcoding, live TV support, and mobile apps while maintaining complete privacy. Unlike commercial solutions, Jellyfin never phones home or collects user data, making it ideal for privacy-conscious users who want to stream their media collection anywhere.

This media automation stack combines Jellyfin's streaming capabilities with a complete *arr suite for automated content management. Sonarr monitors and downloads TV episodes, Radarr handles movie acquisition, Prowlarr manages indexers across both services, qBittorrent serves as the download client, and Jellyseerr provides a Netflix-style request interface for users. The integration creates a hands-off media pipeline where users can request content through Jellyseerr, which triggers Sonarr or Radarr to search via Prowlarr's indexers, download through qBittorrent, and automatically organize files for Jellyfin streaming.

This stack is perfect for cord-cutters building a home media server, families wanting centralized entertainment, or anyone tired of managing multiple streaming subscriptions. The automation eliminates manual downloading and organizing, while Jellyfin's robust streaming ensures smooth playback across phones, tablets, smart TVs, and browsers. With proper setup, family members can request shows like they would add to a Netflix queue, but everything streams from your own hardware with no monthly fees.

## Features

- Complete privacy with no tracking, telemetry, or premium features - Jellyfin never phones home
- Automated TV and movie acquisition through Sonarr and Radarr with quality profiles and release monitoring
- Centralized indexer management via Prowlarr supporting 500+ torrent trackers and Usenet indexers
- Netflix-style request interface through Jellyseerr with user management and approval workflows
- Hardware-accelerated transcoding for smooth streaming across devices with different capabilities
- Automatic file organization and renaming with metadata fetching for clean library presentation
- Failed download handling and automatic re-searching when releases are corrupted or incomplete
- Multi-user profiles with individual watch history, parental controls, and personalized recommendations

## Use cases

- Home media server for families wanting to cut cable and stream personal collections
- Automated downloading setup for users tired of manually searching and organizing media files
- Privacy-focused streaming solution for users who don't trust commercial platforms with viewing data
- Centralized media management for households with multiple users requesting different content
- Remote streaming server allowing access to home media library while traveling
- Backup streaming solution when internet is slow or commercial services are unavailable
- Media archival system for preserving digital collections with automated organization

## Prerequisites

- Minimum 4GB RAM recommended (Jellyfin needs 2GB+, other services 512MB each)
- At least 100GB free storage space for downloads and processed media
- Ports 5055, 6881, 7878, 8080, 8096, 8989, and 9696 available on your system
- Basic understanding of BitTorrent, indexers, and media file organization
- Access to private trackers or Usenet indexers for quality content sources
- Knowledge of video codecs and transcoding if serving multiple device types

## docker-compose.yml

```yaml
services:
  jellyfin:
    image: jellyfin/jellyfin:latest
    container_name: jellyfin
    restart: unless-stopped
    ports:
      - "${JELLYFIN_PORT:-8096}:8096"
    volumes:
      - ./jellyfin/config:/config
      - ./media/movies:/data/movies
      - ./media/tv:/data/tv
      - ./media/music:/data/music
    environment:
      - PUID=${PUID:-1000}
      - PGID=${PGID:-1000}
      - TZ=${TZ:-UTC}

  sonarr:
    image: lscr.io/linuxserver/sonarr:latest
    container_name: sonarr
    restart: unless-stopped
    ports:
      - "${SONARR_PORT:-8989}:8989"
    volumes:
      - ./sonarr/config:/config
      - ./media/tv:/tv
      - ./downloads:/downloads
    environment:
      - PUID=${PUID:-1000}
      - PGID=${PGID:-1000}
      - TZ=${TZ:-UTC}

  radarr:
    image: lscr.io/linuxserver/radarr:latest
    container_name: radarr
    restart: unless-stopped
    ports:
      - "${RADARR_PORT:-7878}:7878"
    volumes:
      - ./radarr/config:/config
      - ./media/movies:/movies
      - ./downloads:/downloads
    environment:
      - PUID=${PUID:-1000}
      - PGID=${PGID:-1000}
      - TZ=${TZ:-UTC}

  prowlarr:
    image: lscr.io/linuxserver/prowlarr:latest
    container_name: prowlarr
    restart: unless-stopped
    ports:
      - "${PROWLARR_PORT:-9696}:9696"
    volumes:
      - ./prowlarr/config:/config
    environment:
      - PUID=${PUID:-1000}
      - PGID=${PGID:-1000}
      - TZ=${TZ:-UTC}

  qbittorrent:
    image: lscr.io/linuxserver/qbittorrent:latest
    container_name: qbittorrent
    restart: unless-stopped
    ports:
      - "${QBIT_PORT:-8080}:8080"
      - "6881:6881"
      - "6881:6881/udp"
    volumes:
      - ./qbittorrent/config:/config
      - ./downloads:/downloads
    environment:
      - PUID=${PUID:-1000}
      - PGID=${PGID:-1000}
      - TZ=${TZ:-UTC}
      - WEBUI_PORT=8080

  jellyseerr:
    image: fallenbagel/jellyseerr:latest
    container_name: jellyseerr
    restart: unless-stopped
    ports:
      - "${JELLYSEERR_PORT:-5055}:5055"
    volumes:
      - ./jellyseerr/config:/app/config
    environment:
      - TZ=${TZ:-UTC}
    depends_on:
      - jellyfin
      - sonarr
      - radarr
```

## .env

```bash
# Complete Media Server Stack
JELLYFIN_PORT=8096
SONARR_PORT=8989
RADARR_PORT=7878
PROWLARR_PORT=9696
QBIT_PORT=8080
JELLYSEERR_PORT=5055

# User/Group IDs
PUID=1000
PGID=1000
TZ=America/New_York
```

## Usage notes

- Jellyfin (media) at http://localhost:8096
- Jellyseerr (requests) at http://localhost:5055
- Sonarr (TV) at http://localhost:8989
- Radarr (Movies) at http://localhost:7878
- Prowlarr (indexers) at http://localhost:9696
- qBittorrent at http://localhost:8080 (admin/adminadmin)

## Troubleshooting

- Sonarr/Radarr shows 'No indexers available': Configure indexers in Prowlarr first, then sync to applications
- qBittorrent login fails with default credentials: Check logs for generated password or reset in config file
- Jellyfin shows empty libraries after adding content: Verify folder permissions match PUID/PGID values and trigger library scan
- Downloads stuck in qBittorrent: Check that download and complete paths match volume mounts in Sonarr/Radarr
- Jellyseerr requests not triggering downloads: Ensure Sonarr/Radarr are properly configured in Jellyseerr settings with correct API keys
- Transcoding fails or stutters during playback: Enable hardware acceleration in Jellyfin dashboard if GPU is available, or reduce quality profiles

