{"id":683,"date":"2021-01-27T20:38:19","date_gmt":"2021-01-27T20:38:19","guid":{"rendered":"http:\/\/bullyrooks.com\/?p=683"},"modified":"2021-01-27T20:38:19","modified_gmt":"2021-01-27T20:38:19","slug":"install-the-sonarr-container","status":"publish","type":"post","link":"https:\/\/bullyrooks.com\/index.php\/2021\/01\/27\/install-the-sonarr-container\/","title":{"rendered":"Install the Sonarr Container"},"content":{"rendered":"\n<p>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&#8217;re missing from shows that you&#8217;re interested in.  It will use your sabnzbd and bittorrent sources to automatically download content that you&#8217;re missing.  Finally, it uses a web UI to make this all simple to understand and manage from anywhere.  Lets get into it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installing the Sonarr Container<\/h2>\n\n\n\n<p>The image repository information is located <a href=\"https:\/\/hub.docker.com\/r\/linuxserver\/sonarr\" data-type=\"URL\" data-id=\"https:\/\/hub.docker.com\/r\/linuxserver\/sonarr\">here<\/a> which includes the documentation.  Again, we&#8217;re using docker-compose, so it should be fairly easy.<\/p>\n\n\n\n<p>Edit your <code>docker-compose.yml<\/code> 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 (<code>sonarr<\/code>) should be in-line with the other service we&#8217;ve installed (<code>sabnzbd<\/code>)<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sonarr:\n    image: ghcr.io\/linuxserver\/sonarr\n    container_name: sonarr\n    environment:\n      - PUID=\"${PUID}\"\n      - PGID=\"${PGID}\"\n      - TZ=\"${TZ}\"\n    volumes:\n      - \/volume1\/docker\/sonarr:\/config\n      - \/volume1\/video\/completed\/shows:\/tv\n      - \/volume1\/video\/transmission\/complete:\/bt-downloads\n      - \/volume1\/video\/sabnzbd\/complete:\/usenet-downloads\n    ports:\n      - 31080:8989\n    restart: unless-stopped<\/code><\/pre>\n\n\n\n<p>We&#8217;re going to get PUID\/PGID\/TZ from our environment configuration.  However, we&#8217;re mapping additional volumes here.<\/p>\n\n\n\n<p><code>\/tv<\/code> is where sonarr will manage your library.  Sonarr will locate completed downloads and move them to this directory when the download is completed.<\/p>\n\n\n\n<p><code>\/bt-downloads<\/code> is where sonarr will locate downloaded bittorrent downloads and <code>\/usenet-downloads<\/code> is where sonarr will locate downloaded usenet files.<\/p>\n\n\n\n<p>You may need to modify these if you&#8217;re not using the same directory structure I am.  I&#8217;m also mapping to a new port so that I can access the sonarr UI across docker.  <\/p>\n\n\n\n<p>ctrl-o, enter, ctrl-x (in nano) will write out and exit.<\/p>\n\n\n\n<p>Now stop the existing docker compose instance<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo docker-compose down<\/code><\/pre>\n\n\n\n<p>and restart it with the new configuration<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo docker-compose up -d<\/code><\/pre>\n\n\n\n<p>We should see it in portainer<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"960\" height=\"28\" src=\"https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/Screen-Shot-2021-01-27-at-1.35.11-PM-1024x30.png?resize=960%2C28&#038;ssl=1\" alt=\"\" class=\"wp-image-684\" srcset=\"https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/Screen-Shot-2021-01-27-at-1.35.11-PM.png?resize=1024%2C30&amp;ssl=1 1024w, https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/Screen-Shot-2021-01-27-at-1.35.11-PM.png?resize=300%2C9&amp;ssl=1 300w, https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/Screen-Shot-2021-01-27-at-1.35.11-PM.png?resize=768%2C22&amp;ssl=1 768w, https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/Screen-Shot-2021-01-27-at-1.35.11-PM.png?w=1375&amp;ssl=1 1375w\" sizes=\"auto, (max-width: 960px) 100vw, 960px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<p>and we should be able to login via <code>http:\/\/${your nas ip}:31080<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"960\" height=\"554\" src=\"https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/Screen-Shot-2021-01-27-at-1.36.02-PM-1024x591.png?resize=960%2C554&#038;ssl=1\" alt=\"\" class=\"wp-image-685\" srcset=\"https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/Screen-Shot-2021-01-27-at-1.36.02-PM.png?resize=1024%2C591&amp;ssl=1 1024w, https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/Screen-Shot-2021-01-27-at-1.36.02-PM.png?resize=300%2C173&amp;ssl=1 300w, https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/Screen-Shot-2021-01-27-at-1.36.02-PM.png?resize=768%2C443&amp;ssl=1 768w, https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/Screen-Shot-2021-01-27-at-1.36.02-PM.png?w=1262&amp;ssl=1 1262w\" sizes=\"auto, (max-width: 960px) 100vw, 960px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<p>In the next section we&#8217;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.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"entry-summary\">\nSonarr is a tool which will track all of the tv shows&hellip;\n<\/div>\n<div class=\"link-more\"><a href=\"https:\/\/bullyrooks.com\/index.php\/2021\/01\/27\/install-the-sonarr-container\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &ldquo;Install the Sonarr Container&rdquo;<\/span>&hellip;<\/a><\/div>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,18],"tags":[26,24,6],"course":[17],"class_list":["post-683","post","type-post","status-publish","format-standard","hentry","category-home-networking","category-media","tag-docker-compose","tag-sonarr","tag-synology","course-media-server-appliations","entry"],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":729,"url":"https:\/\/bullyrooks.com\/index.php\/2021\/01\/29\/create-a-radarr-container\/","url_meta":{"origin":683,"position":0},"title":"Create a Radarr Container","author":"Bullyrook","date":"January 29, 2021","format":false,"excerpt":"Radarr is almost exactly the same as Sonarr except its for movies instead. Installing a container and configuring the application is very similar to sonarr. Creating the Container The docker repository for radarr is here. The configuration documentation is here as well. Again, SSH into your NAS and edit the\u2026","rel":"","context":"In &quot;Home Networking&quot;","block_context":{"text":"Home Networking","link":"https:\/\/bullyrooks.com\/index.php\/category\/technology\/home-networking\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/image-91.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/image-91.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/image-91.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/image-91.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/image-91.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":630,"url":"https:\/\/bullyrooks.com\/index.php\/2021\/01\/26\/what-are-the-media-server-applications\/","url_meta":{"origin":683,"position":1},"title":"What are the Media Server Applications?","author":"Bullyrook","date":"January 26, 2021","format":false,"excerpt":"In order to retrieve content for your media server, you'll need to install a collection of applications. I'm going to focus on Sonarr (which is used to signal which shows or series you want to retrieve) and Radarr (which is used to signal which movies you want to retrieve). These\u2026","rel":"","context":"In &quot;Home Networking&quot;","block_context":{"text":"Home Networking","link":"https:\/\/bullyrooks.com\/index.php\/category\/technology\/home-networking\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":687,"url":"https:\/\/bullyrooks.com\/index.php\/2021\/01\/28\/configuring-sonarr\/","url_meta":{"origin":683,"position":2},"title":"Configuring Sonarr","author":"Bullyrook","date":"January 28, 2021","format":false,"excerpt":"Sonarr has been installed and now we need to configure it. Settings Click on Settings and start with the Media Management tab. Make sur that Advanced Settings is Shown. Select Yes to Rename Episodes. Select Yes to delete empty folders. Hit Save. On the Indexers Tab we're going to configure\u2026","rel":"","context":"In &quot;Home Networking&quot;","block_context":{"text":"Home Networking","link":"https:\/\/bullyrooks.com\/index.php\/category\/technology\/home-networking\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/image-69.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":703,"url":"https:\/\/bullyrooks.com\/index.php\/2021\/01\/28\/installing-jackett\/","url_meta":{"origin":683,"position":3},"title":"Installing Jackett","author":"Bullyrook","date":"January 28, 2021","format":false,"excerpt":"Jackett is a database for bittorrent indexers. This allows you to refer to internal resources when configuring radarr and sonarr, which then get mapped to external API. It makes it really easy to add more bittorrent indexers to expand the breadth of your searches. Running Jackett Container The docker project\u2026","rel":"","context":"In &quot;Home Networking&quot;","block_context":{"text":"Home Networking","link":"https:\/\/bullyrooks.com\/index.php\/category\/technology\/home-networking\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/image-79.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":733,"url":"https:\/\/bullyrooks.com\/index.php\/2021\/01\/30\/configuring-radarr\/","url_meta":{"origin":683,"position":4},"title":"Configuring Radarr","author":"Bullyrook","date":"January 30, 2021","format":false,"excerpt":"We're almost there! Lets configure Radarr quickly so that we can download movies. General Configuration Settings\/Media Management. Click Show Advanced. Check Rename Movies. Hit Save Changes. Configure Indexers This is almost exactly the same as sonarr. I'm just going to cover this with screenshots. Sabnzbd Bittorrent Configure Download Clients Click\u2026","rel":"","context":"In &quot;Home Networking&quot;","block_context":{"text":"Home Networking","link":"https:\/\/bullyrooks.com\/index.php\/category\/technology\/home-networking\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/image-92.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/image-92.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/image-92.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":643,"url":"https:\/\/bullyrooks.com\/index.php\/2021\/01\/27\/prepare-synology-for-media-components\/","url_meta":{"origin":683,"position":5},"title":"Prepare Synology for Media Components","author":"Bullyrook","date":"January 27, 2021","format":false,"excerpt":"We'll need to do a little setup on Synology first in order to create the appropriate user account and directory structure. Create the Media Components User Account Get into the DSM on the NAS. Open Control Panel and select User Create a new user that docker will run your media\u2026","rel":"","context":"In &quot;Home Networking&quot;","block_context":{"text":"Home Networking","link":"https:\/\/bullyrooks.com\/index.php\/category\/technology\/home-networking\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/image-39.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/bullyrooks.com\/index.php\/wp-json\/wp\/v2\/posts\/683","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bullyrooks.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bullyrooks.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bullyrooks.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bullyrooks.com\/index.php\/wp-json\/wp\/v2\/comments?post=683"}],"version-history":[{"count":1,"href":"https:\/\/bullyrooks.com\/index.php\/wp-json\/wp\/v2\/posts\/683\/revisions"}],"predecessor-version":[{"id":686,"href":"https:\/\/bullyrooks.com\/index.php\/wp-json\/wp\/v2\/posts\/683\/revisions\/686"}],"wp:attachment":[{"href":"https:\/\/bullyrooks.com\/index.php\/wp-json\/wp\/v2\/media?parent=683"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bullyrooks.com\/index.php\/wp-json\/wp\/v2\/categories?post=683"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bullyrooks.com\/index.php\/wp-json\/wp\/v2\/tags?post=683"},{"taxonomy":"course","embeddable":true,"href":"https:\/\/bullyrooks.com\/index.php\/wp-json\/wp\/v2\/course?post=683"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}