Skip to content

riczescaran/homelab-media-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Self-hosted media streaming using Jellyfin + arr stack

This project is a docker-compose stack that includes Jellyfin, Radarr, Sonarr, and Sabnzbd. The stack is used to automate the process of downloading, organizing, and streaming media content.

Why you made this?

It is a fun project to work on and can be useful for people who want to have their own media server. Most of the information is available online but it is scattered and can be confusing for beginners. This project aims to simplify the process of setting up a media server using Docker. I am not responsible for any illegal activities that may be done using this project :)

Why not using torrent?

Usenet is a more secure and faster way to download media content. It is also less likely to be monitored by ISPs. Torrent are also known to be less reliable and slower than Usenet but are still a viable option for some users.

Is this even legal?

Downloading copyrighted material is illegal. However, downloading content that is not copyrighted or is in the public domain is legal. It is the user's responsibility to ensure that they are not downloading copyrighted material. Make sure to check the laws in your country before downloading any content.

Pre-requisites

  • Docker
  • Docker Compose
  • Set a static IP address for the machine running the services. In my case I am using IP address 192.168.0.100.
  • Usenet Provider and Indexer. The following are the services I have used:
    • NZBGeek (Indexer). Why I chose this service:
      • Affordable pricing
      • Offers a wide range of content
      • Offers lifetime membership
    • Eweka (Provider). Why I chose this service:
      • Affordable pricing
      • Unlimited speed
      • Unlimited downloads
      • Offers high retention period

Note

You can use any Usenet provider and indexer of your choice. It usually depends on your budget and the content you want to download.

Optional

  • If you want to expose the services to the internet under CGNAT, you can use TailScale. It is a free service that allows you to create a private network between your devices. You can also use your custom domain by pointing it to the IP address of the machine running the services.

  • If you want to monitor your arr stack services using mobile app, you can use LunaSea. It is a free app that allows you to monitor and manage your services from your mobile device.


Running the services

  1. Copy .env.example to .env. Change JELLYFIN_PUBLISHED_URL if you are using a different IP address.
  2. Create a new docker network using the following command:
    docker network create proxy_network
  3. Run the following command to start the services:
    docker-compose up -d
  4. Check if all the services are running using the following command:
    docker-compose ps
  5. If all the services are running, you can access them using the following URLs:
    • Jellyfin: http://localhost:8096
    • Jellyseerr: http://localhost:5055
    • Radarr: http://localhost:7878
    • Sonarr: http://localhost:8989
    • Prowlarr: http://localhost:9696
    • Sabnzbd: http://localhost:8080
    • Homepage: http://localhost:3000

Setup Jellyfin

  1. Open web browser and navigate to http://localhost:8096
  2. Fill in the required details in each step and press Next
  3. Add libraries for movies and TV shows. In my case, I have added the following libraries:
    • Movies:
      • Folders: /data/movies
      • Display name: Movies
    • Shows:
      • Folders: /data/tvshows
      • Display name: Shows
  4. Press Next until you reach the final step and press Finish

Setup Sabnzbd

  1. Open web browser and navigate to http://localhost:8080

  2. Fill in the required credentials using your preferred Provider. In my case, I have used Eweka and NewsDemon.

  3. Navigate to Config -> Folders

    • Set Temporary Download Folder to /incomplete-downloads
    • Set Complete Download Folder to /downloads
  4. Navigate to Config -> Categories

    • Create a new category radarr and press Save
    • Create a new category sonarr and press Save

    Note: Delete other categories if present (Not mandatory)

  5. Navigate to Config -> General

    • Copy the API key from API Key field and save it for later use

Set up Radarr

  1. Open web browser and navigate to http://localhost:7878
  2. Navigate to Settings -> Media Management and add root folders for movies: /movies
  3. Navigate to Settings -> Download Client and add Sabnzbd with the following configurations:
    • Add API key from Sabnzbd configuration
    • Categories: radarr
    • Tags: Leave blank
  4. Navigate to Settings -> General to get the API key for Radarr and save it for setting up Prowlarr

Set up Sonarr

  1. Open web browser and navigate to http://localhost:8989
  2. Navigate to Settings -> Media Management and add root folders for TV shows: /tv
  3. Navigate to Settings -> Download Client and add Sabnzbd with the following configurations:
    • Category: sonarr
    • Add API key from Sabnzbd configuration
    • Tags: Leave blank
  4. Navigate to Settings -> General to get the API key for Sonarr and save it for setting up Prowlarr

Setup Prowlarr

  1. Open web browser and navigate to http://localhost:9696

  2. Navigate to Settings -> Apps and add the following applications with the following configurations:

    • Radarr
      • Name: Radarr
      • Sync Level: Full Sync
      • Tags: Leave blank
      • Prowlar Server: http://prowlarr:9696
      • Radarr Server: http://radarr:7878
      • API Key: API key from Radarr
      • Press Test to check if the connection is successful and press Save
    • Sonarr
      • Name: Sonarr
      • Sync Level: Full Sync
      • Tags: Leave blank
      • Prowlar Server: http://prowlarr:9696
      • Sonarr Server: http://sonarr:8989
      • API Key: API key from Sonarr
      • Press Test to check if the connection is successful and press Save
  3. Navigate to Indexers and add your preferred indexers. In my case, I have added NZBGeek.

  4. To verify that the indexers are synced with Radarr and Sonarr, go to Settings -> Indexers in both services. You should see the indexers you added in Prowlarr listed there. See the screenshots below for reference:

    Radarr_Prowlarr Sonarr_Prowlarr


Set up Jellyseerr

  1. Open web browser and navigate to http://localhost:5055

  2. Choose Use your Jellyfin account and fill in the required details.

  3. Press Sync Libraries to sync the libraries from Jellyfin. You should see the Movies and Shows libraries listed. Tick all the libraries you want to monitor and press Next

  4. Add Radarr and Sonarr services with the following configurations:

    • Radarr

      • Default Server: Checked
      • Server Name: Radarr
      • Hostname or IP Address: http://radarr
      • Port: 7878
      • API Key: API key from Radarr
      • Quality Profile: HD-1080p
      • Root Folder: /movies
      • Minimum Availability: Released
      • Enable Scan: Checked
    • Sonarr

      • Default Server: Checked
      • Server Name: Sonarr
      • Hostname or IP Address: http://sonarr
      • Port: 8989
      • API Key: API key from Sonarr
      • Series Type: Standard
      • Quality Profile: HD-1080p
      • Root Folder: /tv
      • Language Profile: Deprecated
      • Anime Series Type: Standard
      • Anime Quality Profile: HD-1080p
      • Anime Root Folder: /tv
      • Anime Language Profile: Leave unchanged
      • Season Folders: Checked
      • Enable Scan: Checked

Important

Press Test to check if the connection. Once successful, it will enable the remaining fields to be filled.

  1. Press Next and Finish to complete the setup

Setup Homepage

  1. Open web browser and navigate to http://localhost:3000 to see if homepage is running. See the screenshot below for reference:

    Homepage

  2. To enable widgets, modify the _data\homepage\services.yaml file and set the correct IP addresses and API keys for the services. You can also add or remove services as needed. See the screenshot below for reference:

    Homepage_Widgets


Screenshots

Jellyfin

Jellyfin

Jellyseerr

Jellyseerr

Radarr

Radarr

Sonarr

Sonarr

Prowlarr

Prowlarr

Sabnzbd

Sabnzbd

About

Self-hosted media streaming using Jellyfin + arr stack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published