Upgrading
Nido is not on a managed platform, so upgrades are yours to run. The good news: upgrading the images does not touch your data.
Before you start
Section titled “Before you start”# 1. back up the volume and confirm the key is safe# See ../guides/backup-and-restore/ for the command and a script to keep.# Do not continue until you have a copy of NIDO_MASTER_KEY.
# 2. note what you're ondocker compose psA backup is not optional before an upgrade. It is the only thing standing between a bad release and a family that has lost a year of sleep records.
Upgrade
Section titled “Upgrade”git pulldocker compose up -d --build # build from sourceOr, if you run the published images:
docker compose pulldocker compose up -dVerify
Section titled “Verify”# the API's healthcheckcurl -fsS http://localhost:3000/healthdocker compose ps # both services Up, API healthyThen log in and confirm a baby’s records are present. The encrypted files should open with the existing key untouched.
What an upgrade can and cannot change
Section titled “What an upgrade can and cannot change”The data format is treated as a compatibility boundary:
- Safe across versions — container images, the web client, API routes, added features
- Requires a migration and a documented procedure — anything that changes how a family key is derived, or the on-disk layout of a family database
Roll back
Section titled “Roll back”Rolling the images back is safe, because the old version reads the same files.
If you build from source:
git checkout <previous-sha>docker compose up -d --buildIf you run the published images, set both image tags in the Compose file to the
previous v<date> or sha-<commit>, then pull:
docker compose pulldocker compose up -dThis works only as long as the newer version did not change the data format or
run a destructive migration. For that reason the project publishes every image
tag as sha-<commit>, so a rollback can be pinned to exactly the commit that
was running before — not merely “the previous release”. Roll back to a release
tag where one is enough, and to sha-<commit> when you need the exact build.
Choosing a version
Section titled “Choosing a version”Releases are tagged v<date>; :latest moves to the newest one, so it is not
a version you can depend on. Pin a release tag instead:
api: image: ghcr.io/stewartshea/nido/api:v2026.10.26web: image: ghcr.io/stewartshea/nido/web:v2026.10.26To see what has been released:
gh release list --repo stewartshea/nidogh release view <tag> --repo stewartshea/nidoOr read the releases page. The notes are generated from merged pull requests, so when a release’s changes touch the database, read the migration itself rather than relying on the summary — see Releases.
The roadmap lists what is in flight and what is still planned.