Skip to content
littlebit labs
Product

Minimal Core

Auto API Custom API MCP Databases

By database

Postgres MySQL and MariaDB ClickHouse

Compare

vs Supabase vs Data API builder vs PostgREST vs Hasura vs DreamFactory

Built on Minimal Core

Chat Studio API Bay All products
Pricing Docs Company
Self-host Start Free, Always

Minimal Core

Auto API Custom API MCP Databases

More

All products Pricing Docs Company Self-host Start Free, Always
1Get your licence
2Download and check the compose file
3Add your licence
4Start the stack
5Sign in
Next step
Troubleshooting
Docs/Self-host

Self-host Minimal Core with Docker

The full stack on one machine, from one compose file: Minimal Core, Zitadel sign-in, the APISIX gateway, the licence Relay and a sample app. Zitadel signs in your team and can sign in your own customers too. Linux or macOS, Docker Engine 26 or later with Compose 2.20 or later (docker compose version), 2 vCPU and 4 GiB; images for linux/amd64 and linux/arm64.

Already run a gateway and sign-in? Run Minimal Core alone.

5 STEPS · COMPOSE FILE 0.4.0

1Get your licence

From the licence portal, download a Free licence. You need three things from it and one entry in it:

  • Your licence file (minimal-license-….json) and its LICENSE_SECRET.
  • Your organisation slug, shown on the Account page.
  • This machine’s public address on the portal’s Relay access list. Find it with curl -4 -s https://checkip.amazonaws.com.

Using Minimal means the Terms of Service, the Privacy Policy and the Consent Notice. Read them before you start.

2Download and check the compose file

Make a folder Docker can read (under your home directory) and fetch the compose file into it.

mkdir pitstop && cd pitstop && mkdir licence
curl -fsSL --proto '=https' --proto-redir '=https' -o docker-compose.yml \
  https://artifacts.littlebitlabs.com/api/packages/littlebitlabs/generic/compose/0.4.0/docker-compose-v0.4.0.yml
echo "a982835c31b5a89d71131a8722a67144b452d02db4d154217a78aeba408b778d  docker-compose.yml" | shasum -a 256 -c -   # Linux: sha256sum -c -

You should see docker-compose.yml: OK. This is compose file version 0.4.0. The checksum belongs to that version only.

3Add your licence

Copy the licence file in and write the one-line config with your slug.

cp /path/to/YOUR-KEY-FILE.json licence/licence.json && chmod 644 licence/licence.json
printf 'apiVersion: pitstop/v1\nlicence:\n  relay:\n    slug: YOUR-SLUG\n' > pitstop.yaml

You should have docker-compose.yml, pitstop.yaml and licence/licence.json in the folder.

4Start the stack

The secret is needed exactly once, at the first start. It is typed silently, never on a command line.

read -rs LICENSE_SECRET && export LICENSE_SECRET
docker compose up -d --wait
unset LICENSE_SECRET

You should see the command return once every service is up. docker compose ps then shows setup exited (0) and every other service Up, the health-checked ones (healthy). If not, see Troubleshooting.

5Sign in

Open the sign-in console at http://auth.localhost/ui/console with the login name admin@pitstop.auth.localhost. Print the initial password with docker compose run --rm admin-password; you change it at first sign-in. The sample app is at http://api.localhost/app/.

You should see the console ask for a new password. To check the whole install at any time, run the guided tour: docker compose run --rm tour. An editor reads, a viewer is refused, and the MCP door answers 401 without a token.

Next step

Docs package 0.4.0Getting started

Pick a mode (localhost, LAN or domain), choose a dataset, call the API with the Postman collection, and operate the stack. It is minimal-getting-started.md in the package.

This page is the short path for a local install; Getting started covers LAN and domain modes and day-to-day operation. For identity and the gateway in depth, read Book of Minimal, Vol. III.

Troubleshooting

no configuration file provided: not found

Compose looks for compose.yaml, compose.yml, docker-compose.yaml or docker-compose.yml. Save the file as docker-compose.yml as above, or add -f <your file> to every docker compose command.

Setup says it cannot see your install folder

The Docker engine cannot read the folder, so it arrived empty. Move it under your home directory, or share it with the Docker VM (Docker Desktop: Settings, Resources, File sharing; Colima: the VM’s mounts), then run docker compose up -d --wait again. A folder on an external volume does not work. Do not run docker compose down -v: that deletes the stack’s data.

Port conflicts

The stack publishes ports 80 and 443. If something else holds them, write PITSTOP_HTTP_PORT and PITSTOP_HTTPS_PORT into ./.env before the first start; the URLs the stack prints then carry the port.

Licence errors

The Relay’s log (docker compose logs relay) names the cause:

  • status 403: this machine’s address is not on the Relay access list yet. Add it in the portal under Relay access, then run docker compose up -d --wait. If the portal’s Refused addresses box stays empty, the slug names a different organisation than the licence: the licence, the secret, the slug and the allowlist must come from one account.
  • status 400: wrong slug for this key file, or the key file was replaced. Download it again.
  • the plain license file is no longer accepted: an old-format key file. Download the sealed one again.
  • wrong LICENSE_SECRET: the secret does not match this key set. In the portal, License, Replace secret.

minimal retries for about four minutes while the licence path is broken, then stops. Fix the cause, then run docker compose up -d --wait for fresh tries. It keeps all data.

Containers cannot resolve public names

If relay, caddy or zitadel log lookup … server misbehaving, the Docker VM has no DNS on user-defined networks (seen with Colima). Check with:

docker network create pitstop-probe && docker run --rm --network pitstop-probe alpine:3.20 nslookup relay.license.littlebitlabs.com; docker network rm pitstop-probe

If it fails, choose a resolver you trust (a public one sees every name looked up) and put it in an override file beside docker-compose.yml, which is loaded automatically (delete it to undo):

IP=1.1.1.1   # your chosen resolver
printf 'services:\n  relay: {dns: [%s]}\n  caddy: {dns: [%s]}\n  zitadel: {dns: [%s]}\n' "$IP" "$IP" "$IP" > docker-compose.override.yml
docker compose up -d --wait

Colima

Colima (a Lima VM) has been reported working with the two fixes above: a shared folder (mounts) and the DNS override. Podman, rootless Docker and a remote Docker host are untested.

Start over

docker compose down removes the containers and keeps the data. Only docker compose down -v resets the stack, and it deletes every pitstop_* volume on this Docker engine, irreversibly. Use it only when you mean to start from zero.

littlebit labs

Governance for databases that interface with humans, agents and machines.

Products

Minimal Core Chat Studio API Bay Agent Studio App Studio Ask Studio

Platform

Pricing Security Transparency FAQ Docs Changelog Status

Company

About Contact Book a session Terms of Service Privacy Policy Consent notice Cookie settings

Connect

GitHub X LinkedIn Discord YouTube RSS

© 2026 Littlebit Labs. All rights reserved.

Built for humans, agents and machines.

We keep only what is needed to run the site and understand traffic. Nothing is sold.