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.
Needs nomad-pack on PATH. The script only adds the nomploy registry and runs this pack.
Source ↗ Project ↗ ★ 328 ⚑ Report an issue
Save as values.hcl, edit, then run:
# 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
}
| Name | Type | Default | Description |
|---|---|---|---|
| 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. |
No variables match.
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.
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.
nomad-pack registry add nomploy https://github.com/Nomploy/nomad-packs
nomad-pack run dumbbudget --registry=nomploy
| 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
pinbefore deploying — DumbBudget requires it and will not start otherwise. A prestart init task chowns the data volume to uid1000. Pin the job to the node holding the volume withconstraints.