Sonarr •

Sonarr is a free and open-source media management tool that can automatically download, organize and manage your television and anime collection.  Organize your existing collection, add new shows from the TVDB or import lists to keep up-to-date.  Always be sure that your media has the correct metadata for your Plex or Jellyfin media server.

Overview

Screen Shot 2025-03-07 at 00.05.38.png

Sonarr is a free and open-source media management tool that can automatically download, organize and manage your television and anime collection.  Organize your existing collection, add new shows from the TVDB or import lists to keep up-to-date.  Always be sure that your media has the correct metadata for your Plex or Jellyfin media server.

Media

Screenshots

Sonarr v4.0.13.2932

Screen Shot 2025-03-07 at 00.05.38.png Screen Shot 2025-03-07 at 00.05.41.png Screen Shot 2025-03-07 at 00.05.45.png
Screen Shot 2025-03-07 at 00.05.52.png Screen Shot 2025-03-07 at 00.06.00.png Screen Shot 2025-03-07 at 00.06.07.png
Screen Shot 2025-03-07 at 00.06.12.png Screen Shot 2025-03-07 at 00.09.24.png

Setup & Configuration

We need to install the service through Portainer and configure any necessary settings.

Setup & Configuration

Preparation

There are some things we need to do in preparation to install this service.

Volumes

Persistent Data

This is where the service will store its own application data and ensures we can quickly update the service image.

Ensure your user has permissions to access the folder.

Media Folders

Sonarr will need access to the folders where you store your television files. 

Ensure your user has permissions to access the folder.

Download Folders

Sonarr will need access to the folder where you torrent or usenet folder store their completed downloads.

Ensure your user has permissions to access the folder.

Environment

TZ

This is the current time zone formatted using the tz database.

For example: America/Vancouver

PUID

This is the numeric ID of the user account on Debian.  If you are unsure, open a terminal and run:

id -u
PGID

 

Setup & Configuration

Installation

The service can be installed through the Portainer web interface. 

Learn about creating a new stack.

Docker Compose

Use the following code to install the service:

---
services:
  sonarr:
    image: lscr.io/linuxserver/sonarr:latest
    container_name: sonarr
    network_mode: bridge
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/Vancouver
    volumes:
      # Persistent Data
      - /srv/sonarr:/config

      # Media Folders
      - /mnt/television:/mmt/television

      # Downloads Folder
      - /mnt/downloads:/mnt/downloads
    ports:
      - 8989:8989
    restart: unless-stopped
Setup & Configuration

Updating

Re-Deploy the Stack

This service has been optimized for running in Docker thanks to LinuxServer.io.  

This allows you to re-deploy the stack through Portainer to download the latest updates. 


User Manual

Development

This software is released under the GPL-3.0 license

Sonarr has been used as the basis for other apps like Radarr or Lidarr.  Sonarr is made available for Docker through the efforts of LinuxServer.io and their commitment to simplifying self-hosting.

You can learn more about how to contribute to Sonarr through their documentation

The Sonarr development team also accepts donations.

Resources

Official

LinuxServer.io