Nomploy Nomad Packs

← All packs

tunarr v0.1.0

Media

Tunarr — create live TV channels from your Plex/Jellyfin media libraries and expose them as an HDHomeRun/M3U tuner + XMLTV guide (a dizqueTV successor). Deployed as a single host-networked Nomad service.

nomad-pack run tunarr --registry nomploy
…or one line (add registry + run)
curl -fsSL https://packs.nomploy.com/install.sh | sh -s -- tunarr

Needs nomad-pack on PATH. The script only adds the nomploy registry and runs this pack.

2 tasks http 8000 1 volume image chrisbenincasa/tunarr:latest tracks :latest image bumped today
Variables 9
values.hcl

Save as values.hcl, edit, then run:

nomad-pack run tunarr -f values.hcl --registry nomploy
# The name of the Nomad job.
job_name = "tunarr"

# The Nomad namespace to deploy into.
namespace = "default"

# The datacenters to deploy to.
datacenters = ["*"]

# The Tunarr container image. Pin a tag in production.
image = "chrisbenincasa/tunarr:latest"

# Host port for the Tunarr web UI.
port = 8000

# Named volume mounted at /config/tunarr (database, settings and cache).
data_volume = "tunarr_data"

# Container timezone (TZ), e.g. Europe/Bratislava.
tz = "UTC"

# Placement constraints. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
constraints = []

# The task resources.
resources = {
    cpu    = 300
    memory = 256
  }
NameTypeDefaultDescription
job_name string
"tunarr"
The name of the Nomad job.
namespace string
"default"
The Nomad namespace to deploy into.
datacenters list
["*"]
The datacenters to deploy to.
image string
"chrisbenincasa/tunarr:latest"
The Tunarr container image. Pin a tag in production.
port number
8000
Host port for the Tunarr web UI.
data_volume string
"tunarr_data"
Named volume mounted at /config/tunarr (database, settings and cache).
tz string
"UTC"
Container timezone (TZ), e.g. Europe/Bratislava.
constraints list
[]
Placement constraints. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
resources object
{
    cpu    = 300
    memory = 256
  }
The task resources.
Back up this pack

This pack stores data in one Docker named volume: tunarr_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/tunarr_data/_data

rclone (sync to S3/R2)

rclone sync /var/lib/docker/volumes/tunarr_data/_data backup:<bucket>/tunarr_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.

Readme

tunarr

Tunarr — create your own live TV channels from your Plex/Jellyfin media, then watch them through those apps as if they were broadcast. It exposes an HDHomeRun-style tuner plus an M3U playlist and XMLTV guide, with a slick web UI for building channels, schedules and commercials. The spiritual successor to dizqueTV.

Single host-networked Nomad service with a persistent data volume.

Deploy

nomad-pack registry add nomploy https://github.com/Nomploy/nomad-packs
nomad-pack run tunarr --registry=nomploy

Configure

Variable Default Description
port 8000 Web UI port.
image chrisbenincasa/tunarr:latest Container image. Pin a tag in production.
data_volume tunarr_data /config/tunarr — database, settings and cache.
tz UTC Container timezone (TZ).
resources { cpu = 300, memory = 256 } Task resources. Add cores if you enable transcoding.

Connect Tunarr to your media server(s) and FFmpeg in the web UI, build channels, then add the tuner/M3U + XMLTV URLs to Jellyfin/Plex/Emby. A prestart init task makes the data volume writable. For hardware transcoding, pass through the render device. Pin the job to the node holding the volume with constraints.