Install the Sonarr Container

Install the Sonarr Container

Installing Media Server Applications on Synology

Learn how to install sabnzbd, transmission, jackett, sonarr and radarr via docker on your Synology NAS

full course
  1. What are the Media Server Applications?
  2. Prepare Synology for Media Components
  3. Sabnzbd Prerequisites
  4. Install the SABnzbd Container
  5. Configure SABnzbd
  6. Install the Sonarr Container
  7. Configuring Sonarr
  8. Installing Jackett
  9. Installing Transmission with OpenVPN
  10. Adding Bittorrent to Sonarr
  11. Create a Radarr Container
  12. Configuring Radarr

Sonarr is a tool which will track all of the tv shows (series and documentaries) that you own as well as any content that you’re missing from shows that you’re interested in. It will use your sabnzbd and bittorrent sources to automatically download content that you’re missing. Finally, it uses a web UI to make this all simple to understand and manage from anywhere. Lets get into it.

Installing the Sonarr Container

The image repository information is located here which includes the documentation. Again, we’re using docker-compose, so it should be fairly easy.

Edit your docker-compose.yml file. Add this text at the end of the file. Make sure that your spacing is correct, because yml is very sensitive. The first line (sonarr) should be in-line with the other service we’ve installed (sabnzbd)

sonarr:
    image: ghcr.io/linuxserver/sonarr
    container_name: sonarr
    environment:
      - PUID="${PUID}"
      - PGID="${PGID}"
      - TZ="${TZ}"
    volumes:
      - /volume1/docker/sonarr:/config
      - /volume1/video/completed/shows:/tv
      - /volume1/video/transmission/complete:/bt-downloads
      - /volume1/video/sabnzbd/complete:/usenet-downloads
    ports:
      - 31080:8989
    restart: unless-stopped

We’re going to get PUID/PGID/TZ from our environment configuration. However, we’re mapping additional volumes here.

/tv is where sonarr will manage your library. Sonarr will locate completed downloads and move them to this directory when the download is completed.

/bt-downloads is where sonarr will locate downloaded bittorrent downloads and /usenet-downloads is where sonarr will locate downloaded usenet files.

You may need to modify these if you’re not using the same directory structure I am. I’m also mapping to a new port so that I can access the sonarr UI across docker.

ctrl-o, enter, ctrl-x (in nano) will write out and exit.

Now stop the existing docker compose instance

sudo docker-compose down

and restart it with the new configuration

sudo docker-compose up -d

We should see it in portainer

and we should be able to login via http://${your nas ip}:31080

In the next section we’ll setup Sonarr and confirm that we can import an existing library as well as verify that we can automatically find and download new content.

0 comments on “Install the Sonarr ContainerAdd yours →

Leave a Reply

Your email address will not be published.