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
2Clone and set up
3Start
4Check it is running
5Connect Minimal Studio
Troubleshooting
Docs/Self-host/Minimal Core alone

Run Minimal Core alone with Docker

Minimal Core, its licence Relay and Postgres as three Docker Compose containers on your Mac, reached on localhost only. Your own gateway and sign-in sit in front of it. Needs Docker with Compose v2 or later, running, plus python3 and openssl.

Want sign-in and a gateway included? Use the full stack.

5 STEPS · MINIMAL-SETUP

1Get your licence

From the licence portal (Downloads), download a Free licence:

  • minimal-license-<slug>.json and minimal-license-secret-<slug>.json.
  • This machine’s public address on the Relay access list in the portal. 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.

2Clone and set up

From the public minimal-setup repository:

git clone https://github.com/littlebitlabs/minimal-setup.git
cd minimal-setup/compose
./setup.sh <slug> <license.json> <license-secret.json>

To choose ports other than 3045 and 3046, see Port already allocated before you run setup.sh.

3Start

./fetch-binaries.sh
docker compose up -d --build

4Check it is running

After about 30 seconds:

docker compose ps                                       # postgres, relay, minimal: Up (healthy)
curl http://127.0.0.1:3045/minimal/proof/v1/ping        # {"code":200,"status":"OK","message":"pong"}

You should see the output in the comments. Minimal Core is at http://127.0.0.1:3045. Its MCP server is at http://127.0.0.1:3046.

5Connect Minimal Studio

Minimal Studio is the developers’ workbench for Minimal Core: it connects to your server and is where you do the work. Install it, open the Admin tab and enter:

  • Server URL: http://127.0.0.1:3045
  • Server key: copy it with the command below
  • User id: sys:provisioner-01
  • Role: admin
grep -m1 server_key config/minimal.yml | sed -E 's/.*server_key: *"([^"]*)".*/\1/' | pbcopy

Back up compose/.env. The database is encrypted with the key inside it.

Troubleshooting

Relay is unhealthy, log says unexpected status 403

This machine’s public address is not on the Relay access list. Add it in the licence portal, then run docker compose up -d.

Cannot connect to the Docker daemon

Docker Desktop is not running. Run open -a Docker, wait about 20 seconds, and retry.

Port already allocated

Another process holds 3045 or 3046. Set MINIMAL_PORT or MCP_PORT in .env, then run docker compose up -d. To choose ports before the first setup:

MINIMAL_PORT=13045 MCP_PORT=13046 ./setup.sh <slug> <license.json> <license-secret.json>

.env exists when running setup.sh

Setup was already done here. This is a safety stop that protects the encryption key. Skip setup.sh and run ./fetch-binaries.sh and docker compose up -d --build.

bind source path does not exist: .../schema/postgres.sql

The schema is not fetched. Run ./fetch-binaries.sh.

does not match its pin

The download is not the pinned file. Do not use it.

Replace the Minimal Core binary

Put a Linux binary at compose/minimal/bin/linux-arm64/minimal (linux-amd64 on Intel), then rebuild only Minimal Core. Postgres data and .env are kept:

docker compose up -d --build minimal

To go back to the pinned version, run ./fetch-binaries.sh after deleting that file. A binary that expects a newer schema than the pinned one may not start.

Stop or reset

  • Stop and keep the data: docker compose down
  • Reset (destroys the database): docker compose down -v, then delete .env, config/, license/ and schema/, then run ./setup.sh again.
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.