Skip to content

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.

Terminal window
# 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 on
docker compose ps

A 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.

Terminal window
git pull
docker compose up -d --build # build from source

Or, if you run the published images:

Terminal window
docker compose pull
docker compose up -d
Terminal window
# the API's healthcheck
curl -fsS http://localhost:3000/health
docker compose ps # both services Up, API healthy

Then log in and confirm a baby’s records are present. The encrypted files should open with the existing key untouched.

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

Rolling the images back is safe, because the old version reads the same files.

If you build from source:

Terminal window
git checkout <previous-sha>
docker compose up -d --build

If you run the published images, set both image tags in the Compose file to the previous v<date> or sha-<commit>, then pull:

Terminal window
docker compose pull
docker compose up -d

This 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.

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.26
web:
image: ghcr.io/stewartshea/nido/web:v2026.10.26

To see what has been released:

Terminal window
gh release list --repo stewartshea/nido
gh release view <tag> --repo stewartshea/nido

Or 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.