Lidarr — a PVR for music: monitor artists and albums, grab releases from your indexers via a download client, then tag and organize them into your music library automatically. Deployed as a host-networked Nomad service with config and media volumes.
Needs nomad-pack on PATH. The script only adds the nomploy registry and runs this pack.
Source ↗ Project ↗ ★ 5.7k ⚑ Report an issue
Save as values.hcl, edit, then run:
# The name of the Nomad job.
job_name = "lidarr"
# The Nomad namespace to deploy into.
namespace = "default"
# The datacenters to deploy to.
datacenters = ["*"]
# The Lidarr container image. Pin a tag in production.
image = "lscr.io/linuxserver/lidarr:latest"
# Host port for the Lidarr web UI.
port = 8686
# User ID the app runs as (PUID).
puid = 1000
# Group ID the app runs as (PGID).
pgid = 1000
# Container timezone (TZ), e.g. Europe/Bratislava.
tz = "UTC"
# Named volume for Lidarr config (/config): the database and settings.
config_volume = "lidarr_config"
# Named volume for music + downloads (/data). Share this with your download client and music server (navidrome) for hardlinks/atomic moves.
data_volume = "media_data"
# Placement constraints. Pin to the node holding the volumes. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
constraints = []
# Resources for the Lidarr task.
resources = {
cpu = 500
memory = 512
}
| Name | Type | Default | Description |
|---|---|---|---|
| job_name | string | "lidarr" | The name of the Nomad job. |
| namespace | string | "default" | The Nomad namespace to deploy into. |
| datacenters | list | ["*"] | The datacenters to deploy to. |
| image | string | "lscr.io/linuxserver/lidarr:latest" | The Lidarr container image. Pin a tag in production. |
| port | number | 8686 | Host port for the Lidarr web UI. |
| puid | number | 1000 | User ID the app runs as (PUID). |
| pgid | number | 1000 | Group ID the app runs as (PGID). |
| tz | string | "UTC" | Container timezone (TZ), e.g. Europe/Bratislava. |
| config_volume | string | "lidarr_config" | Named volume for Lidarr config (/config): the database and settings. |
| data_volume | string | "media_data" | Named volume for music + downloads (/data). Share this with your download client and music server (navidrome) for hardlinks/atomic moves. |
| constraints | list | [] | Placement constraints. Pin to the node holding the volumes. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true". |
| resources | object | {
cpu = 500
memory = 512
} | Resources for the Lidarr task. |
No variables match.
This pack stores data in 2 Docker named volumes:
lidarr_configmedia_data
restic
# Run on the node hosting this pack. Point restic at your repo first: # export RESTIC_REPOSITORY="s3:https://<account>.r2.cloudflarestorage.com/<bucket>" # export RESTIC_PASSWORD="<repo-password>" # export AWS_ACCESS_KEY_ID=<key> AWS_SECRET_ACCESS_KEY=<secret> restic backup \ /var/lib/docker/volumes/lidarr_config/_data \ /var/lib/docker/volumes/media_data/_data
rclone (sync to S3/R2)
rclone sync /var/lib/docker/volumes/lidarr_config/_data backup:<bucket>/lidarr_config rclone sync /var/lib/docker/volumes/media_data/_data backup:<bucket>/media_data
Paths assume the default Docker volume location (/var/lib/docker/volumes). Restore by stopping the job, restoring files into the same volume, and re-running the pack.
Lidarr — a PVR for music. Monitor artists and albums, automatically grab releases from your indexers through a download client, then tag and organize them into your library with quality profiles.
Single host-networked Nomad service with config and media volumes.
nomad-pack registry add nomploy https://github.com/Nomploy/nomad-packs
nomad-pack run lidarr --registry=nomploy
| Variable | Default | Description |
|---|---|---|
port |
8686 |
Web UI port. |
config_volume |
lidarr_config |
/config — database and settings. |
data_volume |
media_data |
/data — music library + downloads. Share with your download client and music server. |
puid / pgid |
1000 / 1000 |
User/group (PUID/PGID). |
tz |
UTC |
Container timezone (TZ). |
image |
lscr.io/linuxserver/lidarr:latest |
Container image. Pin a tag in production. |
resources |
{ cpu = 500, memory = 512 } |
Task resources. |
Connect the prowlarr pack for indexers and the qbittorrent pack as the download client, and set your root
folder to /data/music. Keep Lidarr, the download client, and the navidrome pack on the same /data volume
for fast hardlinks. Serves plain HTTP — front it with a reverse proxy for TLS. Pin the job to the node holding the
volumes with constraints.