Skip to content

radarr

Radarr - movie library manager.

radarr

Prepare

podman pull lscr.io/linuxserver/radarr:latest
mkdir -p $HOME/apps/{variables,container_data}
touch $HOME/apps/variables/radarr.env
mkdir -p $HOME/apps/container_data/radarr

Edit environment file

Edit the environment file and paste your default values for this service:

nano $HOME/apps/variables/radarr.env

Example contents:

PUID=1025
PGID=1000
TZ=Europe/Athens

Installation

touch $HOME/.config/containers/systemd/radarr.container
# radarr.container
[Unit]
Description=radarr
[Container]
ContainerName=radarr
HostName=radarr
AutoUpdate=registry
Image=lscr.io/linuxserver/radarr:latest
Network=skynet.network
DNS=10.0.0.250
EnvironmentFile=%h/apps/variables/radarr.env
Volume=%h/apps/container_data/radarr:/config
Volume=/mnt/poseidon/media/movies:/movies
Volume=/mnt/downloads:/downloads
Volume=/mnt/downloads/watch:/watch
#linuxserver.io specific
UIDMap=1025:0:1
UIDMap=0:1:1025
[Service]
Restart=always
TimeoutStartSec=300

[Install]
WantedBy=default.target

Configuration of Nginx (Reverse Proxy)

Create nginx conf.

touch /$HOME/apps/container_data/nginx/radarr.conf

Configuration for nginx conf for port 80.

server {
  listen 80;
  server_name movies.skynet.lan;
  access_log /var/log/nginx/radarr_access.log;
  error_log /var/log/nginx/radarr_error.log;
  location / {
    proxy_pass http://radarr:7878/;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  }
}

Restart Nginx

systemctl --user restart nginx

Usage

Open http://movies.skynet.lan

Troubleshooting

podman logs -f radarr
journalctl --user -u nginx -n 200