User Tools

Site Tools


systems:docker_main:install_docker_containers:install_sonarr

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
systems:docker_main:install_docker_containers:install_sonarr [2021/07/15 16:56] petersystems:docker_main:install_docker_containers:install_sonarr [2021/07/16 08:10] (current) – [Install Sonarr] peter
Line 1: Line 1:
 ====== Systems - Docker Main - Install Docker Containers - Install Sonarr ====== ====== Systems - Docker Main - Install Docker Containers - Install Sonarr ======
  
-Sonarr+Sonarr automates TV downloads from public and private trackers.
  
 ---- ----
  
-Install Sonarr.+===== Create the Sonarr Directories ===== 
 + 
 +Sonarr will store its configuration data in a directory on the Host VM. 
 + 
 +On the Ubuntu VM Host, create a directory for this config data.
  
 <code bash> <code bash>
 +mkdir /home/peter/sonarr
 +mkdir /home/peter/sonarr/config
 +mkdir /home/peter/sonarr/tv
 +mkdir /home/peter/downloads
 +</code>
 +
 +<WRAP info>
 +**NOTE:** The **downloads** directory will be used by other services too, so not within the **sonarr** directory.
 +</WRAP>
 +
 +
 +----
 +
 +===== Determine the UID and GID =====
 +
 +On the Ubuntu VM Host:
 +
 +<code bash>
 +id peter
 +</code>
 +
 +returns:
 +
 +<code bash>
 +uid=1000(peter) gid=1000(peter) groups=1000(peter)...
 +</code>
 +
 +<WRAP info>
 +**NOTE:**  Take a note of the UID and GID numbers.
 +
 +  * In this case 1000.
 +</WRAP>
 +
 +----
 +
 +===== Install Sonarr =====
 +
 +In Portainer:
 +
 +  * Select **Stack**.
 +  * Click **Add Stack**.
 +  * Name:  **Sonarr**.
 +  * Web editor: <file bash docker-compose>
 --- ---
 version: "2.1" version: "2.1"
Line 25: Line 72:
       - 8989:8989       - 8989:8989
     restart: unless-stopped     restart: unless-stopped
-</code>    +</file> 
 + 
 +<WRAP info> 
 +**NOTE:**  Change settings as required. 
 + 
 +  * **/home/peter/sonarr/config**:  This directory will need to be created on the host. 
 +  * **/home/peter/sonarr/tv**:  This directory contains the TV shows. 
 +  * **PUID** and **GUID**:  Set to the numbers determined earlier. 
 +  * Port **8989**:  Change as required. 
 +</WRAP> 
 + 
 +---- 
 + 
 +===== Confirm Sonarr is running ===== 
 + 
 +Open Portainer. 
 + 
 +Press **F5** to refresh. 
 + 
 +<WRAP info> 
 +**NOTE:** This should show the Sonarr container running. 
 +</WRAP> 
 + 
 +---- 
 + 
 +===== Open Sonarr ===== 
 + 
 +Visit http://192.168.1.30:8989 in a browser. 
 + 
 +<WRAP info> 
 +**NOTE:**  The IP address is whatever the Ubuntu VM is using. 
 + 
 +  * The **8989** port is the port configured for Sonarr. 
 + 
 +  * It is suggested to set this URL in the web browser to be the default loading page. 
 + 
 +</WRAP> 
 + 
 +---- 
 + 
 +===== Setup Sonarr ===== 
 + 
 +Configure as required. 
 + 
 +For example, change file naming: 
 + 
 +<code> 
 +{Series Title} - S{season:00}E{episode:00} - {Episode Title} {Quality Full} 
 + 
 +to 
 + 
 +{Series Title}.S{season:00}E{episode:00}.{Episode Title}.{MediaInfo VideoCodec}.{Quality Title} 
 +</code> 
 + 
 +---- 
 + 
 +===== References ===== 
 + 
 +https://hub.docker.com/r/linuxserver/sonarr 
 + 
 +https://fleet.linuxserver.io/image?name=linuxserver/sonarr 
 + 
 + 
 + 
systems/docker_main/install_docker_containers/install_sonarr.1626368200.txt.gz · Last modified: 2021/07/15 16:56 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki