Nomploy Nomad Packs

← All packs

ryot v0.1.0

Productivity

Ryot (Roll Your Own Tracker) — a self-hosted tracker for everything you consume: movies, TV, books, video games, podcasts, audiobooks, manga and more, with rich stats and reminders. Batteries-included with a bundled PostgreSQL. Deployed as a single host-networked Nomad service.

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

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

2 tasks http 8000db 5432 1 volume image ignisda/ryot:latest tracks :latest image bumped today
Variables 13
values.hcl

Save as values.hcl, edit, then run:

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

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

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

# The Ryot container image. Pin a tag in production.
image = "ignisda/ryot:latest"

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

# The PostgreSQL image for the bundled database.
postgres_image = "postgres:17-alpine"

# Host port for the bundled PostgreSQL (loopback only).
db_port = 5432

# Password for the Ryot database user. CHANGE THIS.
db_password = "change-me-ryot-db"

# Admin access token for the GraphQL API / privileged operations (SERVER_ADMIN_ACCESS_TOKEN). CHANGE THIS to a long random string.
admin_access_token = "change-me-a-long-random-string"

# Named volume for the PostgreSQL data directory (holds all your tracking data).
db_data_volume = "ryot_db"

# Resources for the PostgreSQL task.
db_resources = {
    cpu    = 300
    memory = 256
  }

# 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
"ryot"
The name of the Nomad job.
namespace string
"default"
The Nomad namespace to deploy into.
datacenters list
["*"]
The datacenters to deploy to.
image string
"ignisda/ryot:latest"
The Ryot container image. Pin a tag in production.
port number
8000
Host port for the Ryot web UI.
postgres_image string
"postgres:17-alpine"
The PostgreSQL image for the bundled database.
db_port number
5432
Host port for the bundled PostgreSQL (loopback only).
db_password set me string
"change-me-ryot-db"
Password for the Ryot database user. CHANGE THIS.
admin_access_token set me string
"change-me-a-long-random-string"
Admin access token for the GraphQL API / privileged operations (SERVER_ADMIN_ACCESS_TOKEN). CHANGE THIS to a long random string.
db_data_volume string
"ryot_db"
Named volume for the PostgreSQL data directory (holds all your tracking data).
db_resources object
{
    cpu    = 300
    memory = 256
  }
Resources for the PostgreSQL task.
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: ryot_db

⚠ This pack bundles a database. A cold copy of the volume can be inconsistent — for a reliable backup, dump the DB (pg_dump / mysqldump) or stop the job while backing up.

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/ryot_db/_data

rclone (sync to S3/R2)

rclone sync /var/lib/docker/volumes/ryot_db/_data backup:<bucket>/ryot_db

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

ryot

Ryot (Roll Your Own Tracker) — a self-hosted tracker for everything you consume: movies, TV, books, video games, podcasts, audiobooks, manga, anime and more. Log progress, keep watchlists and reading lists, import from Trakt/Goodreads/etc., and see rich stats. This pack is batteries-included with a bundled PostgreSQL.

Single host-networked group: ryot + postgres.

Deploy

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

Configure

Variable Default Description
port 8000 Web UI port.
admin_access_token change-me-… Change this. Admin/API token (SERVER_ADMIN_ACCESS_TOKEN).
db_password change-me-… Change this. Bundled PostgreSQL password.
image ignisda/ryot:latest App image. Pin a tag in production.
postgres_image postgres:17-alpine Bundled database image.
db_data_volume ryot_db PostgreSQL data — all your tracking data.
db_port 5432 Loopback PostgreSQL port.
resources / db_resources … Per-task resources.

Ryot runs database migrations automatically on start; the first account you register becomes the owner. Because Postgres holds all your data, pin the job to the node holding the volume with constraints and back it up.