Skip to content

Run it yourself

Remembrancer ships as one Docker image, ghcr.io/odonckers/remembrancer, for amd64 and arm64.

Terminal window
docker compose up -d # uses docker-compose.yml

Data lives in ./data.

Whoever signs up first owns the server. Until you have, keep it off your network by publishing the port on localhost only ("127.0.0.1:8080:8080" in the compose file), then widen it. This uses PGlite, a full Postgres compiled to WebAssembly, running inside the container. It suits one household or a small team.

For more data or more users, run a separate Postgres:

Terminal window
export POSTGRES_PASSWORD=$(openssl rand -hex 24)
docker compose -f docker-compose.postgres.yml up -d

Any Postgres 15 or newer works. Set DATABASE_URL to point at it. Migrations run at start-up.

Variable Default Meaning
PORT 8080 Port to listen on.
DATABASE_URL unset Postgres URL. Unset means embedded Postgres in DATA_DIR.
DATA_DIR /data in Docker Where the embedded database lives.
SIGNUP first_user first_user: only the first account may sign up. open: anyone. closed: no one.
PUBLIC_URL http://localhost:PORT The address people use to reach it. Used in links.
TRUST_PROXY 0 How many reverse proxies sit in front. Set to 1 behind one proxy so rate limits see real client addresses.
PUID / PGID 1000 The user and group that own files in DATA_DIR. Match your NAS user.
REMEMBRANCER_MODE self_hosted Leave as is. hosted turns on plans and billing.

Synology, QNAP, Unraid and TrueNAS can all run the compose file. Point the volume at a shared folder, for example /volume1/docker/remembrancer:/data, and set PUID/PGID to the owner of that folder (id youruser over SSH shows them).

Agents send bearer tokens, so put Remembrancer behind HTTPS before exposing it beyond your home network. Any reverse proxy works: Caddy, Traefik, nginx, or your NAS’s built-in one. Tailscale is a simple way to reach it from anywhere without opening ports.

  • Embedded: stop the container and copy ./data. Or, while running, export from the dashboard.
  • Postgres: pg_dump as usual.

Check the audit chain at any time:

Terminal window
docker compose exec remembrancer node dist/cli.js verify-ledger <tenant-id>
Terminal window
docker compose pull && docker compose up -d

Read the changelog first. Before 1.0, minor versions may change the API.