Skip to content

Self-hosting CribTracker

CribTracker is free and open source. No feature is locked, whether you self-host or use the My CribTracker. This page is about running it yourself, which is the better option when you can — and it is not difficult. If you can run Docker, you can run CribTracker.

  • Your hardware, your disk. Every family’s data sits in a volume you control. Nothing is uploaded anywhere.
  • No account to create. No sign-up, no email verification loop, no company holding a copy of your baby’s records.
  • No telemetry. Not opt-in, not anonymized — there is none to enable.
  • No service to outgrow. Nothing to migrate away from and nothing that can expire, because the only thing it depends on is hardware you already own.
  • Photos under your control. Stored in a directory on your disk, not in someone’s object store.
  • The master key is yours. The single most important thing in a CribTracker install is a value only you hold, and you can back it up independently of anything else. My CribTracker cannot offer that.

Honesty about the trade-off, because a self-hosted tool pushes work onto you:

CribTracker handles You handle
Keeping the app working Keeping the host patched and running
Encrypting the database at rest Backing up the volume and the master key
Auth, roles, family sharing TLS if you expose it to the internet
Photo and record storage Disk space, which photos will eat

The one that catches people out is the master key. See below.

Terminal window
git clone https://github.com/stewartshea/cribtracker.git
cd cribtracker
./scripts/init-env.sh # writes .env with freshly generated secrets
docker compose up -d

Then open http://localhost:3001. The API health check is on http://localhost:3000/health.

init-env.sh generates CRIBTRACKER_MASTER_KEY and JWT_SECRET with openssl rand -hex 32, writes a .env at mode 0600, and refuses to overwrite an existing file. That refusal protects the only copy of your key.

New installs use the CRIBTRACKER_* names. An install made before the rebrand can keep its legacy variables — NIDO_MASTER_KEY, NIDO_DATA_DIR, NIDO_BLOB_DIR, and the NIDO_BACKUP_* settings — because the server still accepts them, so an existing .env needs no change.

Full detail, including the deploy/docker-compose/ variant for a server: Installation →.

The one thing to do before you log in.

Every family’s database is encrypted with a key derived from CRIBTRACKER_MASTER_KEY. It cannot be recovered and it cannot be rotated. If you lose it, the data is unrecoverable — with no error to warn you first. If you change it later, the same thing happens to every family.

Terminal window
grep CRIBTRACKER_MASTER_KEY /path/to/cribtracker/.env

Put that value in a password manager, somewhere other than the data volume. A copy of the key on the same disk as the data protects you from nothing. Then read Backup & restore, which covers both halves and includes a restore you should test once.

  • Docker with Compose v2 — the only hard requirement
  • Roughly 1 GB for the images, plus whatever your photos need. Years of daily photos will dwarf every database CribTracker writes.
  • Node.js 22+ only if you plan to run the services outside containers

You do not need a domain, a public IP, or a TLS certificate to start.

CribTracker is free because there is nothing to charge for. The software is Apache-2.0, your data never leaves the machine you installed it on, and there is no revenue model attached to it. That holds for My CribTracker too — it is free, it has no paid tiers, and it runs the same code.

If it saves you time, the project accepts sponsorship — which buys maintainer time and nothing else. No feature is behind it, and none ever will be.

Prefer to read the code first?

The whole application is Apache-2.0 and about two containers. The tenant model is one encrypted SQLite file per family, explained in Architecture, and what is and isn’t encrypted is in Security model.