Skip to content
GitHub

Start

Quickstart

In about fifteen minutes you go from nothing to a running Holtkeeper that knows your repositories. One container holds everything: the panel, the API, the scheduler and a worker, with SQLite and artifacts in a volume. You sign in with the admin password, connect a GitLab instance, add a handful of repositories, and Holtkeeper analyses each of them once on its own.

  • A machine with Docker. The published image is built for linux/amd64.
  • A GitLab account Holtkeeper can act as, and a personal access token for it with the api scope. A dedicated bot account is best: review comments, merge requests and notes then come from it, and Holtkeeper ignores its own activity.

The repository ships a config that reads every secret from the environment and picks SQLite and local artifacts when no Postgres or S3 is set. Take it and the environment template from deploy/:

Terminal window
git clone https://github.com/holtkeeper/holtkeeper
mkdir holtkeeper-run && cd holtkeeper-run
cp ../holtkeeper/deploy/holtkeeper.config.ts .
cp ../holtkeeper/deploy/.env.example .env

Edit .env. For a single container you only need these:

.env
HOLTKEEPER_ROOT_PASSWORD=pick-a-long-password
# At least 32 characters each, e.g. `openssl rand -hex 32`.
HOLTKEEPER_SESSION_SECRET=
HOLTKEEPER_VAULT_KEY=
HOLTKEEPER_WEBHOOK_SECRET=
# Set it when people reach the panel by a real name.
# HOLTKEEPER_PUBLIC_URL=https://holtkeeper.example.com
# Only for plain-HTTP tests on localhost.
HOLTKEEPER_INSECURE_COOKIES=1

Leave the Postgres and S3 lines out: without HOLTKEEPER_DATABASE_URL and HOLTKEEPER_S3_BUCKET the config stores everything in /data.

  1. Run the image with the config mounted read-only and three volumes: data, job checkouts and tool downloads.

    Terminal window
    docker run -d --name holtkeeper -p 7420:7420 --env-file .env --read-only --tmpfs /tmp \
    -v "$PWD/holtkeeper.config.ts:/app/config/holtkeeper.config.ts:ro" \
    -v holtkeeper-data:/data -v holtkeeper-workspace:/workspace -v holtkeeper-mise:/mise \
    ghcr.io/holtkeeper/holtkeeper:main -c /app/config/holtkeeper.config.ts --role all

    Pin a version tag instead of main once you keep it running.

  2. Check that it is ready:

    Terminal window
    curl -s http://localhost:7420/readyz

    It answers 200 once the database migrated and the artifact store answers.

  3. Open http://localhost:7420.

Prefer Compose? deploy/docker-compose.yml has the same single container as a commented holtkeeper service; comment out web, worker and postgres and uncomment it. See Single container for backups and upgrades.

The default config signs in one admin, root, with the password from HOLTKEEPER_ROOT_PASSWORD. Five wrong attempts in a minute lock the form for a minute.

Example · Sign in to Holtkeeper
Sign in to HoltkeeperDocs
Password••••••••••••
Sign in

The password sign-in offers one method: the admin password.

After signing in you land on Home. It is empty: no forge, no repositories yet. A fresh install already has sensible defaults stored, such as a weekly AI budget of $150 and polling every five minutes.

Holtkeeper keeps forge tokens as sealed credentials, so you add the token first and the forge second. Both live in Settings › Integrations.

  1. Under Credentials, choose Add credential. Pick the GitLab kind, give it a name such as gitlab-bot, the instance URL (https://gitlab.example.com) and paste the token as the secret. It is never shown again.

  2. Choose Add forge in the section header.

  3. Fill in the forge:

    • Id: a short name such as work. Repositories are addressed as work:acme/checkout-web, so the id cannot change later.
    • URL: the GitLab base URL.
    • Token: the credential from step 1.
    • Bot username: the account behind the token, when it is a bot. Leave it empty when the token belongs to a person.
  4. Save.

In the panel · Settings › Integrations › Add forge
SettingsIntegrationsAdd forge
IdworkRepositories are addressed as <forge>:<path>, so the id cannot change later.
URLhttps://gitlab.example.com
Tokengitlab-bot
Bot usernameholtkeeper-bot
Add forge

Connect a forge covers webhooks, SSH keys and private packages; none of them is needed to start.

Holtkeeper works on the repositories in its fleet: the paths a forge includes, plus what teams own. Repositories keep the forge’s own folders (acme/round/web); a team owns some of them by path pattern. You can add repositories before any team exists and give them owners later.

  1. Open Repos on the rail and choose Add repository.
  2. Step 1: pick the forge work.
  3. Step 2: pick projects from the token’s list, or paste paths or GitLab URLs, one per line. Holtkeeper checks that the token can read each one.
  4. Step 3: choose where they go. With no team yet, the paths join the forge’s fleet list; once teams exist, pick A team owns them and the team, or Forge fleet only. Finish.
In the panel · Repos › Add repository
Add repositoryStep 2 of 3
acme/round/webReadable by holtkeeper-botOK
acme/round/apiReadable by holtkeeper-botOK
acme/kit/ui-kitNot found: invite holtkeeper-bot to the projectNot added

Step 2 of 3: paths checked in one batch against the forge token.

More on path patterns, folders and teams: Add repositories and Teams.

A repository the fleet listing finds for the first time gets every read-only analyzer once, on its default branch: dependencies, advisories, licenses, stack, public API, coverage and bundles among them. You do not schedule anything. Follow the jobs in Ops › Runs; they start within a minute or two.

When they finish, Repos fills in. Each row has an overall health and one cell per area; a cell opens the part of the repository hub that explains it.

In the panel · Repos
RepositoriesConfigureAdd repository
3 repositories1 healthy1 with warnings1 failingUpdates 0 webhook · 3 polling
Repository Health Security Deps Licenses
acme/admin-ui Failing 2 high 14 behind OK
acme/checkout-web Warnings OK 6 behind OK
acme/docs-site Healthy OK OK OK

Rows go worst first. Repositories not analysed yet show as such until their first runs finish.

From here on analyses stay current by themselves: polling notices new commits, merge requests and tags, and the freshness sweep re-runs what went stale. Home shows the same fleet as health ticks.

In the panel · Home
HomeReview inbox