Leo
Leo
Docs/home server/media automation/automation download/sonarr

Last updated Jun 3, 2026

Sonarr#

Sonarr manages TV shows. Add a series, set a quality profile, and Sonarr monitors for new episodes, grabs them via SABnzbd, and imports them into your library once downloaded.

Docker Compose#

sonarr:
  image: lscr.io/linuxserver/sonarr:latest
  container_name: sonarr
  environment:
    - PUID=1000
    - PGID=1000
    - TZ=Europe/Zurich
  volumes:
    - /srv/media-stack/config/sonarr:/config
    - /mnt/media/tv:/tv
    - /mnt/media/downloads:/downloads
  ports:
    - "8989:8989"
  networks:
    - media_net
  restart: unless-stopped

Both /tv and /downloads must be visible inside the container. This is what allows Sonarr to hard-link files during import instead of copying them.

Initial Configuration#

Open http://<docker-vm-ip>:8989.

1. Add SABnzbd as download client#

Go to Settings → Download Clients → Add:

FieldValue
TypeSABnzbd
Hostsabnzbd (container name)
Port8080
API KeyFrom SABnzbd → Config → General
Categorytv

2. Connect Prowlarr#

Prowlarr syncs indexers to Sonarr automatically via an API connection. Go to Settings → Indexers — you should see your indexers appear there after configuring the connection in Prowlarr.

Alternatively, add Prowlarr manually:

Go to Settings → Indexers → Add → Prowlarr:

FieldValue
Prowlarr Serverhttp://prowlarr:9696
API KeyFrom Prowlarr → Settings → General

3. Set root folder#

Go to Settings → Media Management → Root Folders and add /tv.

4. Configure quality profiles#

Go to Settings → Quality Profiles. The default profiles work fine to start. You can tighten them once you know what your indexers have available.

Adding shows#

Use the Series tab to search for and add shows. Sonarr will immediately search for any existing episodes and monitor for future ones.

Ports#

PortPurpose
8989Sonarr web UI