Skip to content

Running it with Docker

Requires Docker with Compose v2. Nothing is built on your machine: the compose file pulls the prebuilt ghcr.io/wyne/yarukoto image (amd64 and arm64), so all you need is the compose file itself.

Terminal window
git clone https://github.com/wyne/yarukoto.git
cd yarukoto

Generate an access token — this is the only credential, so make it a real random one:

Terminal window
echo "YARUKOTO_TOKEN=$(openssl rand -hex 32)" > .env

Start it:

Terminal window
docker compose up -d

Open http://localhost:8080. Because the page is served by the server itself, the app detects that automatically and asks only for the access token — paste the value from your .env:

Terminal window
cat .env

To confirm it’s healthy:

Terminal window
curl -fsS localhost:8080/api/v1/health

That also names the build that’s running:

{"ok":true,"version":"1.1.0","commit":"366ba58…","commitShort":"366ba58","builtAt":"2026-01-30T12:04:11Z","features":["taskReminders"]}

version is the latest app release the build includes, and the short sha tells apart builds made from main between two releases. Both appear in the app under Settings > Server, so you can tell whether an instance actually picked up an update. commit is empty for a local build unless you stamp it: GIT_SHA=$(git rev-parse HEAD) docker compose build. Published images (ghcr.io/wyne/yarukoto) always carry it, and the short sha matches their sha-<short> tag.

Terminal window
docker compose pull
docker compose up -d

Your database lives in ./data on the host and is untouched by updates. Watchtower and similar tools work too; pin a sha-<short> tag instead of latest if you’d rather choose when to move.

To build the image from your checkout instead of pulling it, layer docker-compose.build.yml on top:

Terminal window
GIT_SHA=$(git rev-parse HEAD) docker compose -f docker-compose.yml -f docker-compose.build.yml up -d --build

It runs the Metro bundler and compiles better-sqlite3, so give it a few GB of memory and a few minutes. GIT_SHA is optional; it stamps the build so /health can name the commit.