Blinko — a self-hosted, privacy-first note-taking app for quickly capturing thoughts and ideas, with Markdown, tags, full-text search and optional AI features. Batteries-included with a bundled PostgreSQL. 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 ↗ ★ 11k ⚑ Report an issue
Save as values.hcl, edit, then run:
# The name of the Nomad job.
job_name = "blinko"
# The Nomad namespace to deploy into.
namespace = "default"
# The datacenters to deploy to.
datacenters = ["*"]
# The Blinko container image. Pin a tag in production.
image = "blinkospace/blinko:latest"
# Host port for the Blinko web UI.
port = 1111
# The PostgreSQL image for the bundled database.
postgres_image = "postgres:16"
# Host port for the bundled PostgreSQL (loopback only).
db_port = 5432
# Password for the Blinko database user. CHANGE THIS.
db_password = "change-me-blinko-db"
# Named volume mounted at /app/.blinko (uploaded files).
data_volume = "blinko_data"
# Named volume for the PostgreSQL data directory (holds your notes).
db_data_volume = "blinko_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
}
| Name | Type | Default | Description |
|---|---|---|---|
| job_name | string | "blinko" | The name of the Nomad job. |
| namespace | string | "default" | The Nomad namespace to deploy into. |
| datacenters | list | ["*"] | The datacenters to deploy to. |
| image | string | "blinkospace/blinko:latest" | The Blinko container image. Pin a tag in production. |
| port | number | 1111 | Host port for the Blinko web UI. |
| postgres_image | string | "postgres:16" | 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-blinko-db" | Password for the Blinko database user. CHANGE THIS. |
| data_volume | string | "blinko_data" | Named volume mounted at /app/.blinko (uploaded files). |
| db_data_volume | string | "blinko_db" | Named volume for the PostgreSQL data directory (holds your notes). |
| 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. |
No variables match.
This pack stores data in 2 Docker named volumes:
blinko_dbblinko_data
⚠ 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/blinko_db/_data \ /var/lib/docker/volumes/blinko_data/_data
rclone (sync to S3/R2)
rclone sync /var/lib/docker/volumes/blinko_db/_data backup:<bucket>/blinko_db rclone sync /var/lib/docker/volumes/blinko_data/_data backup:<bucket>/blinko_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.
Blinko — a self-hosted, privacy-first note-taking app for quickly capturing thoughts. Jot notes in Markdown, organize with tags, search full-text, and optionally use AI to summarize and retrieve — with mobile apps and a browser extension. This pack is batteries-included with a bundled PostgreSQL.
Single host-networked group: blinko + postgres.
nomad-pack registry add nomploy https://github.com/Nomploy/nomad-packs
nomad-pack run blinko --registry=nomploy
| Variable | Default | Description |
|---|---|---|
port |
1111 |
Web UI port. |
db_password |
change-me-… |
Change this. Bundled PostgreSQL password. |
image |
blinkospace/blinko:latest |
App image. Pin a tag in production. |
postgres_image |
postgres:16 |
Bundled database image. |
data_volume |
blinko_data |
/app/.blinko — uploaded files. |
db_data_volume |
blinko_db |
PostgreSQL data — your notes. |
db_port |
5432 |
Loopback PostgreSQL port. |
resources / db_resources |
… | Per-task resources. |
Blinko runs database migrations automatically on start; the first account you create becomes the admin. Enable AI features later with your own OpenAI-compatible endpoint (e.g. ollama) in settings. Because Postgres holds your notes, pin the job to the node holding the volumes with
constraintsand back it up.