9 Docker
hotio edited this page 2019-11-16 12:09:33 +01:00

To get up and running with Lidarr on Docker you can use the unofficial docker image provided by LinuxServer or hotio.

https://github.com/linuxserver/docker-lidarr

docker create \
  --name=lidarr \
  -v <path to data>:/config \
  -v <path to downloads>:/downloads \
  -v <path to music>:/music \
  -e PGID=<gid> -e PUID=<uid> \
  -p 8686:8686 \
  linuxserver/lidarr

https://github.com/hotio/docker-lidarr

docker create \
  --name=lidarr \
  -v <path to data>:/config \
  -v <path to downloads>:/downloads \
  -v <path to music>:/music \
  -e PGID=<gid> -e PUID=<uid> \
  -e TZ=Etc/UTC \
  -p 8686:8686 \
  hotio/lidarr

A more detailed guide to setting up Sonarr, Radarr and Lidarr in docker is available here.

Parameters

Parameter Function
-p 8686 the port(s)
-v /config Contains your config files
-v /downloads Path to your download folder for music
-v /music Path to your music library
-e PGID for GroupID
-e PUID for UserID
-e TZ your timezone
-e UMASK_SET or -e UMASK the umask to use

These parameters may be out of date if the image is updated. For more documentation that's up-to-date, see the Docker image's github README: linuxserver or hotio.

docker-compose

Example docker-compose.yml file:

version: '2'
services:
  lidarr:
    container_name: lidarr
    image: linuxserver/lidarr
    ports:
      - "8686:8686"
    volumes:
      - ./config:/config
      - ./music:/music
      - ./downloads:/downloads
version: '2'
services:
  lidarr:
    container_name: lidarr
    image: hotio/lidarr
    ports:
      - "8686:8686"
    volumes:
      - ./config:/config
      - ./music:/music
      - ./downloads:/downloads