Skip to content

The ARRs

Here I created the compose files for radarr, sonarr, lidarr, and prowlarr. Each container will get access to the folders containing the media it will be handling, access to the torrents folder to pull downloaded files, and a folder to store config data in the /var/lib folder.

Documentation for the arr's can be found at the servarr wiki here.

Radarr

services:
  radarr:
    image: lscr.io/linuxserver/radarr:latest
    container_name: radarr
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
    volumes:
      - /mnt/media/holiday_movies:/holiday_movies
      - /mnt/media/movies:/movies
      - /mnt/torrents:/torrents
      - /var/lib/radarr:/config
    network_mode: container:gluetun
    restart: unless-stopped

Sonarr

services:
  sonarr:
    image: lscr.io/linuxserver/sonarr:latest
    container_name: sonarr
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
    volumes:
      - /mnt/media/tvshows:/tvshows
      - /mnt/torrents:/torrents
      - /var/lib/sonarr:/config
    network_mode: container:gluetun
    restart: unless-stopped

Lidarr

services:
  lidarr:
    image: lscr.io/linuxserver/lidarr:latest
    container_name: lidarr
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
    volumes:
      - /mnt/media/music:/music
      - /mnt/torrents:/torrents
      - /var/lib/lidarr:/config
    network_mode: container:gluetun
    restart: unless-stopped

Prowlarr

services:
  prowlarr:
    image: lscr.io/linuxserver/prowlarr:latest
    container_name: prowlarr
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
    volumes:
      - /var/lib/prowlarr:/config
    network_mode: container:gluetun
    restart: unless-stopped

Gluetun

After adding the ports to the gluetun container, it now looks like this:

services:
  gluetun:
    image: qmcgaw/gluetun
    container_name: gluetun
    cap_add:
      - NET_ADMIN
    ports:
      - 8888:8888/tcp
      - 8388:8388
      - 8112:8112 #deluge webui
      - 6881:6881 #deluge inbound torrent traffic
      - 9080:9080 #sabnzb
      - 8686:8686 #lidarr
      - 9696:9696 #prowlarr
      - 7878:7878 #radarr
      - 8989:8989 #sonarr
    volumes:
      - /var/lib/gluetun:/gluetun
    environment:
      - VPN_SERVICE_PROVIDER=mullvad
      - VPN_TYPE=wireguard
      - WIREGUARD_PRIVATE_KEY=provided by mullvad
      - WIREGUARD_ADDRESSES=provided by mullvad
      - SERVER_COUNTRIES=USA
      - TZ=America/New_York
      - UPDATER_PERIOD=24h
      - UNBLOCK=usenetserver.com
      - FIREWALL_OUTBOUND_SUBNETS=192.168.0.0/24
    devices:
      - /dev/net/tun:/dev/net/tun
    restart: unless-stopped
networks: {}

Each of the arr's then need to be configured in their respective web gui to point to the media folders, torrents folders, and on how to handle media. Once again, documentation is found in the wiki.