Skip to content

Radarr in Docker on a Synology NAS

UpdateDate
Added Docker Compose details
Added new folder mappings to ensure atomic moves and Hard-linking
03/05/2021

In this guide I will take you through the steps to get Radarr up and running in Docker. As more people move away from using Couchpotato I thought it was time to get this guide up, the setup itself is very similar to Sonarr.

Downloading the Container

Open up Docker within DSM and navigate to the ‘Registry’ tab and search for ‘Radarr’ in the list of available containers select the one made by Linux|Server as shown below, right click on it and select ‘Download’ or click the button at the top of the window.

Download Radarr from Linux|Server

You can check the status of the download over on the ‘Image’ tab, while we wait for the download to complete lets move onto the next step.

Setting up a Docker User for Hydra and Obtaining the PGID and PUID

In previous versions of this guide we used your default admin account for each container, this is not very secure so please now follow the separate setup guide and then head back here.

Setting up the container

Now we have downloaded the container and got hold of our user IDs we can move onto the next stage, where we will configure the Docker container. First go back into Docker and click on the ‘Image’ tab, in the list of your containers select the ‘Linux|Server Radarr’ image and click on ‘Launch’

You will now see the initial setup screen, if you want to you can change the name of the container to something else, or if you are using a number of services on a machine with a limited amount of memory or lower powered CPU you can also setup resource limitations, this is generally not required.

The initial setup screen

Next up we are going to click on the ‘Advanced Settings’ button, this will take you to a new window with a number of tabs which we are going to work through and setup with the correct settings. On the first tab you can decide to put an icon on your desktop, you will need to specify the IP address and port so you may want to come back to this once we have decided on the port number later in the guide. The other option is to enable ‘Auto Restart’ I would suggest turning this on as this will ensure Radarr will automatically start up whenever you reboot your NAS.

Going advanced

Volumes / Mounts

We can now move onto the volume tab in which we will be specifying the directories where Radarr will be able find our existing movies, the location where your movies are downloaded to and a folder to store its configuration files.

As you can see in the screenshot you will need to browse to each of the directories and add a corresponding mount point inside the Docker container.

I generally keep all of my configuration settings in my Docker directory so they can easily be backed up. The other folders you will need to amend based on your own folder locations.

You will notice there is a consistent mount path for each of the folders that you choose to mount to the container, this is important as Docker will see all of your individual folders as one consistent filesystem rather than separate volumes. This will mean you should see much faster file moves (aka Atomic Moves) and also if you are using torrents it means you can enable hard-links

Add your existing movie and download locations

Network

You do not need to setup anything on this page.

Port Settings

We will now configure our port settings, Do not leave the port to AUTO as it can potentially change with every restart of the container and you will have to go fishing for it each time.

In our case we will just use the same port for Local and Container

Setup your port

Links

You do not need to setup anything on this page.

Environment Variables (PGID,  PUID and Timezone)

Next we are going to setup a couple of environment variables this is the user details we took note of earlier so the Docker image has the right access to the shares we just added. As well as this a new requirement is that we add the correct Timezone to the container you can do this as shown in the screen shot below, you can find a list of timezone here https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

Adding the environment variables

Almost Done

You have now completed the setup of the container, click on OK to move back to the initial settings screen and then click next, you will be shown an overall summary of the settings we have specified, this is a good time to double check everything is correct. Finally click on Finish and the container should start to boot.

Final Summary

You should now be able to access Radarr via the IP of your NAS followed by the port number you specified.

Docker Compose

You can use the below code saved as radarr.yml to do the entire process above in one quick command via SSH. Ensuring you change the variables to your own media paths.

version: "3.2"
services:
  linuxserver-radarr:
    image: linuxserver/radarr:latest
    container_name: radarr
    environment:
      - PGID=YOURPGID
      - PUID=YOURPUID
      - TZ=Europe/London
    volumes:
      - /volume1/movies:/media/movies
      - /volume1/movies kids:/media/movies kids
      - /volume1/docker/radarr:/config
      - /volume1/downloads:/media/downloads
    ports:
      - 7878:7878/tcp
    restart: unless-stopped
sudo docker-compose -f /volume1/docker/radarr.yml up -d --remove-orphans

Throw me some bits

If you have found my site useful please consider pinging me a tip as it helps cover the cost of running the site, it could even buy me a beer 🙂

  • Bitcoin
  • Ethereum
  • Tether
  • Xrp
  • Polkadot
  • Binance coin
  • Litecoin
  • Bitcoin cash
  • Dogecoin
  • Tron
  • Monero
  • Omisego
Scan to Donate Bitcoin to bc1qfznx5kxad9k9z5t9y79mkm9ukfexan9a6wrzl0

Donate Bitcoin to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin

Scan to Donate Ethereum to 0x162fc7781D3C6c6f27197A3A92567b5DAF258f19

Donate Ethereum to this address

Scan the QR code or copy the address below into your wallet to send some Ethereum

Scan to Donate Tether to 0x162fc7781D3C6c6f27197A3A92567b5DAF258f19

Donate Tether to this address

Scan the QR code or copy the address below into your wallet to send some Tether

Scan to Donate Xrp to rKGpNHetksTn4dgwgpiTkg8JM4uJ3J6pam

Donate Xrp to this address

Scan the QR code or copy the address below into your wallet to send some Xrp

Scan to Donate Polkadot to 153iRH61nXQZUXMveZxCmYyzjf1cWYVnxpHpfifoNchQuXbY

Donate Polkadot to this address

Scan the QR code or copy the address below into your wallet to send some Polkadot

Scan to Donate Binance coin to bnb14ye5rju74u5ythneaum2rjvp8eqep6wq8flghx

Donate Binance coin to this address

Scan the QR code or copy the address below into your wallet to send some Binance coin

Scan to Donate Litecoin to LfNfer3aSqLx4p8KfbbkT96ArXLXLDPxoD

Donate Litecoin to this address

Scan the QR code or copy the address below into your wallet to send some Litecoin

Scan to Donate Bitcoin cash to qrc7scd2drzsd7kywpsjfklvkmm26fqc2vd7uyvdx9

Donate Bitcoin cash to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin cash

Scan to Donate Dogecoin to DCwbNzfYHx22MDSyEVLWgfjxziYHtcgwAM

Donate Dogecoin to this address

Scan the QR code or copy the address below into your wallet to send some Dogecoin

Scan to Donate Tron to TL1Q3vY9mHnDMedHRyU8ERUAY8SzJ4FXiV

Donate Tron to this address

Scan the QR code or copy the address below into your wallet to send some Tron

Scan to Donate Monero to 45qwFr42XiA8egC5z2HdSQ2FzzP9VR1MvD5Sicg4EhGvdvTutx9GsF6DeU8DHAsTZy2ShBERjCB5rdy8iQ9CFnFu9Z6Adgw

Donate Monero to this address

Scan the QR code or copy the address below into your wallet to send some Monero

Scan to Donate Omisego to 0x162fc7781D3C6c6f27197A3A92567b5DAF258f19

Donate Omisego to this address

Scan the QR code or copy the address below into your wallet to send some Omisego

Published inDockerSynology

66 Comments

  1. ArNoLife ArNoLife

    Hi ! Any chance to have this good tutorial with a 2 Factor Authorization for admins on the NAS ? Maybe by creating a special user with no 2FA, restricted access on directories ?

    • Dr_Frankenstein Dr_Frankenstein

      Hey, you should be able to do all these with 2fa turned on. My main accounts all have 2fa but the Docker ones do not as I have limited all there access to just the specific directories and turned off there ability to access any other parts of DSM

  2. FBench FBench

    Hi,
    First of all thanks a lot for the installation guide. Has been tremendously helpful.
    I have a question regarding Radarr. I have installed Radarr and Sonarr, but Radarr for some reasons is creating a connection to my server as admin, with an IP Address 172.17.0.x. I can see it in the widget showing me connections, as well as in the log. I changed my admin passwrd, and now radarr cannot connect anymore but create warnings in the log.
    Not sure why it connects. Not sure why Sonarr doesn’t. Not sure how to use the network setup in docker between bridge and host etc.

    Thanks a lot

  3. JMAC JMAC

    First of all thanks for making these guides. I’ve basically learned enough from reading your guides that i’ve been able to struggle through some other docker stuff. Can you please explain to me how to handle this line

    -v /etc/localtime:/etc/localtime:ro \

    its seems to be required for many containers but the docker GUI does seem to let me browse to /etc/localtime I noticed all of your demos use the EV instead of this file system way. Many thanks if you could!

      • JMAC JMAC

        I tried it for a couple but it seems to be beyond me. If you were to do a guide on getting some sort of a Torrent Client/VPN combo container working I’d happily donate to your site.

        • Dr_Frankenstein Dr_Frankenstein

          Now its funny you mention this as I am actually looking for a guide myself, I paid for a cheap VPS and I am currently getting my own personal VPN server setup to route some torrent traffic through it.

          • Rorschach Rorschach

            I’d love some guidance on the torrent client/VPN combos as well. Binhex has some that people say work well, but for the life of me I can’t get them working with PIA. I wish you the best of luck in figuring it out!

  4. Till Till

    And – by the way – is this documented anywhere by Synology? I only found this PUID and PGID info on forums. Also, some forums use “user_id” rather than PUID – are you aware of this and what’s the difference?

    • Dr_Frankenstein Dr_Frankenstein

      Essentially as long as you are using the correct environment variable the contain is asking for you could use either?

  5. Till Till

    Hi there, great instructions.

    I do want to install another docker image, but I do not understand one of the parameters listed on its page:

    https://hub.docker.com/r/qvicksilver/logitechmediaserver/

    At the end of the parameter list, it says: “qvicksilver/logitechmediaserver ”

    I do not know how to implement this parameter in my synology docker. Is it an env var? If yes, what’s the var name and what its value?

    The whole purpose is to maybe get around using PGID and PUID.

    Regards, Till

    • Dr_Frankenstein Dr_Frankenstein

      That last part just tells docker what container you want to pull. If you are using the Syno interface you can skip that command element as you already downloaded the image from the UI

      • Till Till

        Thanks for the simple yet comprehendible info. Duh.

        So is there any way generally in granting docker access to syno shared folders other than finding out PUID and PGID via CLI, and, of course, granting “everyone” access to a particular share?
        (Granting “everyone” read access to a shared folder did the trick for me, but it’s a little unsafe).

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.