Nomploy Nomad Packs

← All packs

transmission v0.1.0

Media

Transmission — a lightweight, cross-platform BitTorrent client with a clean web UI, great for use with the *arr stack. Deployed as a single host-networked Nomad service.

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

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

1 task http 9091peer 51413 3 volumes image lscr.io/linuxserver/transmission:latest tracks :latest image bumped today
Variables 14
values.hcl

Save as values.hcl, edit, then run:

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

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

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

# The Transmission container image. Pin a tag in production.
image = "lscr.io/linuxserver/transmission:latest"

# Host port for the Transmission web UI.
port = 9091

# BitTorrent peer port (TCP + UDP). Forward this on your router/firewall for good connectivity.
peer_port = 51413

# Named volume mounted at /config (settings, resume data).
data_volume = "transmission_data"

# Named volume mounted at /downloads — completed and in-progress downloads.
downloads_volume = "transmission_downloads"

# Named volume mounted at /watch — drop .torrent files here to auto-add them.
watch_volume = "transmission_watch"

# User ID that owns the files (PUID).
puid = 1000

# Group ID that owns the files (PGID).
pgid = 1000

# 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
"transmission"
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/transmission:latest"
The Transmission container image. Pin a tag in production.
port number
9091
Host port for the Transmission web UI.
peer_port number
51413
BitTorrent peer port (TCP + UDP). Forward this on your router/firewall for good connectivity.
data_volume string
"transmission_data"
Named volume mounted at /config (settings, resume data).
downloads_volume string
"transmission_downloads"
Named volume mounted at /downloads — completed and in-progress downloads.
watch_volume string
"transmission_watch"
Named volume mounted at /watch — drop .torrent files here to auto-add them.
puid number
1000
User ID that owns the files (PUID).
pgid number
1000
Group ID that owns the files (PGID).
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 3 Docker named volumes: transmission_datatransmission_downloadstransmission_watch

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/transmission_data/_data \
  /var/lib/docker/volumes/transmission_downloads/_data \
  /var/lib/docker/volumes/transmission_watch/_data

rclone (sync to S3/R2)

rclone sync /var/lib/docker/volumes/transmission_data/_data backup:<bucket>/transmission_data
rclone sync /var/lib/docker/volumes/transmission_downloads/_data backup:<bucket>/transmission_downloads
rclone sync /var/lib/docker/volumes/transmission_watch/_data backup:<bucket>/transmission_watch

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

transmission

Transmission — a lightweight, no-nonsense BitTorrent client with a clean web UI and a well-supported RPC API. A great download client for the *arr stack (Sonarr/Radarr/Prowlarr) or standalone.

Single host-networked Nomad service with config, downloads and watch volumes.

Deploy

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

Configure

Variable Default Description
port 9091 Web UI / RPC port.
peer_port 51413 BitTorrent peer port (TCP + UDP). Forward it on your router for good connectivity.
image lscr.io/linuxserver/transmission:latest Container image. Pin a tag in production.
data_volume transmission_data /config — settings and resume data.
downloads_volume transmission_downloads /downloads — your downloads.
watch_volume transmission_watch /watch — drop .torrent files here to auto-add.
puid / pgid 1000 / 1000 User/group that owns the files (PUID/PGID).
tz UTC Container timezone (TZ).
resources { cpu = 300, memory = 256 } Task resources.

Pairs with prowlarr, sonarr and radarr — share the /downloads path so they can import completed files. The web UI has no auth by default; set credentials in Transmission's settings or put it behind an authenticating reverse proxy. Pin the job to the node holding the volumes with constraints.