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.
What you need
Section titled “What you need”- 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
apiscope. A dedicated bot account is best: review comments, merge requests and notes then come from it, and Holtkeeper ignores its own activity.
1. Prepare the config and secrets
Section titled “1. Prepare the config and secrets”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/:
git clone https://github.com/holtkeeper/holtkeepermkdir holtkeeper-run && cd holtkeeper-runcp ../holtkeeper/deploy/holtkeeper.config.ts .cp ../holtkeeper/deploy/.env.example .envEdit .env. For a single container you only need these:
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=1Leave the Postgres and S3 lines out: without HOLTKEEPER_DATABASE_URL and HOLTKEEPER_S3_BUCKET the config stores everything in /data.
2. Start the container
Section titled “2. Start the container”-
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 allPin a version tag instead of
mainonce you keep it running. -
Check that it is ready:
Terminal window curl -s http://localhost:7420/readyzIt answers
200once the database migrated and the artifact store answers. -
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.
3. Sign in
Section titled “3. Sign in”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.
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.
4. Connect GitLab
Section titled “4. Connect GitLab”Holtkeeper keeps forge tokens as sealed credentials, so you add the token first and the forge second. Both live in Settings › Integrations.
-
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. -
Choose Add forge in the section header.
-
Fill in the forge:
- Id: a short name such as
work. Repositories are addressed aswork: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.
- Id: a short name such as
-
Save.
Connect a forge covers webhooks, SSH keys and private packages; none of them is needed to start.
5. Add repositories
Section titled “5. Add repositories”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.
- Open Repos on the rail and choose Add repository.
- Step 1: pick the forge
work. - 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.
- 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.
Step 2 of 3: paths checked in one batch against the forge token.
More on path patterns, folders and teams: Add repositories and Teams.
6. Watch the first analysis
Section titled “6. Watch the first analysis”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.
| 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.