Nomploy Nomad Packs

← All packs

dumbbudget v0.1.0

Finance

DumbBudget — a stupidly simple personal budget and expense tracker with a PIN lock and multi-currency support. Deployed as a single host-networked Nomad service.

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

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

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

Save as values.hcl, edit, then run:

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

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

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

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

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

# Named volume mounted at /app/data (the transactions database).
data_volume = "dumbbudget_data"

# PIN lock, 4-10 digits (DUMBBUDGET_PIN). REQUIRED — DumbBudget will not start without it. Set your own.
pin = ""

# ISO 4217 currency code (CURRENCY), e.g. USD, EUR, GBP.
currency = "USD"

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

# 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
"dumbbudget"
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/dumbbudget:latest"
The DumbBudget container image. Pin a tag in production.
port number
3000
Host port for the DumbBudget web UI.
data_volume string
"dumbbudget_data"
Named volume mounted at /app/data (the transactions database).
pin string
""
PIN lock, 4-10 digits (DUMBBUDGET_PIN). REQUIRED — DumbBudget will not start without it. Set your own.
currency string
"USD"
ISO 4217 currency code (CURRENCY), e.g. USD, EUR, GBP.
base_url string
""
Public URL DumbBudget is reachable at (BASE_URL). Empty = http://localhost:<port>.
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: dumbbudget_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/dumbbudget_data/_data

rclone (sync to S3/R2)

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

dumbbudget

DumbBudget — a stupidly simple personal budget and expense tracker. Add income and expenses, categorize them, filter by date, and see totals — behind a simple PIN lock, with multi-currency support. No accounts or cloud, just a tidy ledger 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 dumbbudget --registry=nomploy

Configure

Variable Default Description
port 3000 Web UI port (PORT).
pin "" Required. PIN lock, 4–10 digits (DUMBBUDGET_PIN). Set your own — the app won't start without it.
currency USD ISO 4217 currency code (CURRENCY).
base_url "" Public URL (BASE_URL). Empty = http://localhost:<port>.
image dumbwareio/dumbbudget:latest Container image. Pin a tag in production.
data_volume dumbbudget_data /app/data — the transactions database.
resources { cpu = 300, memory = 256 } Task resources.

Set a pin before deploying — DumbBudget requires it and will not start otherwise. A prestart init task chowns the data volume to uid 1000. Pin the job to the node holding the volume with constraints.