Nomploy Nomad Packs

← All packs

dumbpad v0.1.0

Notes & docs

DumbPad — a stupidly simple, no-database notepad in your browser with autosave and optional PIN protection. Deployed as a single host-networked Nomad service.

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

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

2 tasks http 3000 1 volume image dumbwareio/dumbpad:latest tracks :latest image bumped today
Variables 11
values.hcl

Save as values.hcl, edit, then run:

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

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

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

# The DumbPad container image. Pin a tag in production.
image = "dumbwareio/dumbpad:latest"

# Host port for the DumbPad web UI.
port = 3000

# Named volume mounted at /app/data (your notes).
data_volume = "dumbpad_data"

# Public URL DumbPad is reachable at (BASE_URL). Empty = http://localhost:<port>.
base_url = ""

# Optional PIN protection, 4-10 digits (DUMBPAD_PIN). Empty = no auth.
pin = ""

# Title shown in the header (SITE_TITLE).
site_title = "DumbPad"

# 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
"dumbpad"
The name of the Nomad job.
namespace string
"default"
The Nomad namespace to deploy into.
datacenters list
["*"]
The datacenters to deploy to.
image string
"dumbwareio/dumbpad:latest"
The DumbPad container image. Pin a tag in production.
port number
3000
Host port for the DumbPad web UI.
data_volume string
"dumbpad_data"
Named volume mounted at /app/data (your notes).
base_url string
""
Public URL DumbPad is reachable at (BASE_URL). Empty = http://localhost:<port>.
pin string
""
Optional PIN protection, 4-10 digits (DUMBPAD_PIN). Empty = no auth.
site_title string
"DumbPad"
Title shown in the header (SITE_TITLE).
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: dumbpad_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/dumbpad_data/_data

rclone (sync to S3/R2)

rclone sync /var/lib/docker/volumes/dumbpad_data/_data backup:<bucket>/dumbpad_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

dumbpad

DumbPad — a stupidly simple, no-database notepad in your browser. Open it, type, and it autosaves; keep multiple named notes, switch between them, and optionally lock it behind a PIN. No accounts, no clutter — just a scratchpad that persists to disk.

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 dumbpad --registry=nomploy

Configure

Variable Default Description
port 3000 Web UI port (PORT).
pin "" Optional PIN, 4–10 digits (DUMBPAD_PIN). Empty = no auth.
base_url "" Public URL (BASE_URL). Empty = http://localhost:<port>.
site_title DumbPad Header title (SITE_TITLE).
image dumbwareio/dumbpad:latest Container image. Pin a tag in production.
data_volume dumbpad_data /app/data — your notes.
resources { cpu = 300, memory = 256 } Task resources.

Set a pin (or put it behind an authenticating reverse proxy) before exposing it — with no PIN, anyone who can reach the port can read and edit your notes. A prestart init task chowns the data volume to uid 1000. Pin the job to the node holding the volume with constraints.