Self-hostGet running
Single container
One container with the all role serves the panel, runs the scheduler and works through jobs. The database is a SQLite file and artifacts sit next to it in the /data volume, so there is nothing else to run. This suits a trial or a small fleet on one host.
What you need
Section titled “What you need”- Docker (or another OCI runtime) on a host that can reach your GitLab, for example
https://gitlab.example.com. - The image:
ghcr.io/holtkeeper/holtkeeper(tagged with the release version, such as1.4.0for the tagv1.4.0, with the full commit SHA, andmain), or one you build yourself. - A config file. Copy
deploy/holtkeeper.config.tsfrom the repository; it reads every secret from the environment and uses SQLite and/datawhen no database or bucket variables are set.
To build the image locally, build the sandbox base first:
docker build -t holtkeeper-worker:latest docker/workerdocker build -t holtkeeper:latest .Secrets
Section titled “Secrets”Put the secrets in an env file next to the config. Generate each secret with openssl rand -hex 32; they need at least 32 characters.
HOLTKEEPER_ROOT_PASSWORD=change-meHOLTKEEPER_SESSION_SECRET=HOLTKEEPER_VAULT_KEY=HOLTKEEPER_WEBHOOK_SECRET=HOLTKEEPER_PUBLIC_URL=https://holtkeeper.example.comHOLTKEEPER_PUBLIC_URL is the address people and GitLab use; the webhooks Holtkeeper registers point at it. Every variable is listed in Environment variables.
Run it
Section titled “Run it”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:<version> -c /app/config/holtkeeper.config.ts --role all| Mount | Holds | Back up |
|---|---|---|
/data |
The SQLite database and artifacts | yes |
/workspace |
Repository checkouts and the git mirror cache | no |
/mise |
Tools jobs install (Node, Go, …) | no |
/tmp |
Scratch space and HOME, so package manager caches |
no |
The config must sit inside /app so its @holtkeeper/* imports resolve. The image runs as uid 10001, works with a read-only root filesystem and has a health check on /healthz.
Open http://localhost:7420 (or your public URL) and sign in as root with HOLTKEEPER_ROOT_PASSWORD. Then add your GitLab forge and its fleet in Settings › Integrations, and teams on Repos › Teams.
How jobs run here
Section titled “How jobs run here”The starting config sets jobs.execution.mode to mise: jobs run inside this container with the tool versions each repository asks for, installed into /mise. The container is the sandbox; there is no container engine inside it. See Job execution for the other modes and their trade-offs.
Passkeys instead of a password
Section titled “Passkeys instead of a password”The password config gives one root user. For named accounts with passkeys, use the chart’s config (deploy/helm/holtkeeper/files/holtkeeper.config.ts) instead and set HOLTKEEPER_AUTH=users; see Sign-in.
When to move on
Section titled “When to move on”Move to Compose or Kubernetes when one container cannot keep up with the queue or you want workers on other machines. That needs Postgres and S3: SQLite only works for processes that share the file.
Related
Section titled “Related”- Backups — copy the SQLite file consistently.
- Health and metrics — probes and Settings › System.
- Deployment reference — the same command with every flag.