Early development — nothing to install yet*

Yes, anotherself-hosted PaaS.Hear us out.

Push the compose.yaml you already have, get a URL back. Every branch gets a preview that borrows or clones your database instead of copying it.

~/myapp — planned output, it doesn't exist yet
myapp · environments3
  • productionmainr1

    www.myapp.chaalaa.dev

  • integrationdevelopr1

    www.integration.myapp…

  • brave-otterfeature/loginpreview
    web
    built from branch
    db
    cloned · own snapshot
    search
    borrowed · shared

base: integration · expires 7 days after last push

Built on boring, proven parts

  • containerd
  • runc
  • BuildKit
  • nftables
  • Traefik
  • Compose
  • protobuf
1binary
on the host. The agent runs everything else.
<1sec
to clone a database for a preview.
0daemons
No dockerd. chaalaa drives containerd directly.
7days
until a forgotten preview cleans itself up.

01 — Compose

Built on Compose, not against it.

You already wrote a compose.yaml. chaalaa reads it as-is and adds a tiny chaalaa.yaml for what Compose never thought about: environments, previews, borrowing, domains and health checks.

compose.yamluntouched
# compose.yaml — the one you already haveservices:  api:    build: ./services/api    expose: ["8080"]    environment:      DATABASE_URL: postgres://app:${DB_PASSWORD}@db/app    depends_on: [db]  web:    build: ./apps/web    expose: ["3000"]  db:    image: postgres:17    volumes: [data:/var/lib/postgresql/data]volumes:  data: {}
chaalaa.yamloptional (really)
# chaalaa.yaml — the bits Compose never thought ofversion: 2environments:  production: { branch: main, domain: example.com }  integration:    branch: develop    shareable: { db: [borrow, clone] }  preview:    branch: "*"    ephemeral: true    base: integration    borrow:      db: { mode: clone }services:  web: { domain: www }  api: { health: /healthz }

Bind mounts, debug ports and hot reload stay in compose.override.yaml — Compose loads it on your laptop, chaalaa pretends it doesn't exist. Secrets reach ${VARS} through ssh chaalaa.dev config:set, because git is not a password manager. (We've all seen that commit. We don't talk about that commit.)

02 — Previews

Every branch gets a stack. Your database stays put.

Previews usually mean a full copy of everything (hello, cloud bill) or pointing at staging and praying nobody runs a migration. chaalaa lets a preview borrow a service from its base, or clone its data in under a second.

integrationdevelopapir12webr12dbvolumesearchshareablebrave-otterfeature/loginwebbuilt from branchdbclone · own snapshotsearchborrowed · sharedcalm-heronfix/checkoutwebbuilt from branchdbclone · own snapshotsearchborrowed · sharedswift-lynxexp/search-uiwebbuilt from branchdbclone · own snapshotsearchborrowed · shared
clone: copy-on-write snapshot — the preview's mess stays in the previewborrow: one firewall rule and a DNS entry, nothing copied
  1. Borrow

    The preview talks to the base's running service through one firewall rule and a DNS entry. Costs nothing, copies nothing.

  2. Clone

    Its own copy, booted off an instant copy-on-write snapshot. Drop tables, seed garbage — the base never finds out.

  3. Both sides agree

    The base marks a service shareable, per mode. A preview can't borrow from production by accident. We checked.

  4. Migrations know

    Release commands run against clones and skip shared services unless you say otherwise. The push output tells you either way.

03 — Cleanup

Done with a branch? Delete it.

One git push tears the whole preview down. The base keeps running like nothing happened.

  1. One command, whole stack

    Tasks, cloned volumes, DNS, routes and addresses. All of it, gone.

  2. The base never notices

    Borrowed services keep running. Only the preview's firewall rule and DNS entry go.

  3. Forgot? It expires

    Previews clean themselves up 7 days after the last push. Tune it per environment.

  4. Production is protected

    Deleting a branch that maps to a real environment gets rejected at push time.

planned output (yes, still imaginary)

04 — Built for AI agents

Agents push branches. Each gets a stack to break.

Point your coding agent at ssh chaalaa.dev mcp. It gets a preview per task, real logs and a database it can't hurt. Production still waits for you.

  1. MCP over plain SSH

    No tokens, no new ports. Same keys, same roles, same audit log.

  2. Its own identity

    Sponsored by a human, boxed into agent/* branches, revoked in one command.

  3. Break things safely

    Every task gets a preview with a cloned database. Reset it between test runs with one call.

  4. You still ship production

    Agents can propose a deploy to main. Only a human can approve it.

an AI agent at work (planned output)
.mcp.jsonthat's the whole setup
{  "mcpServers": {    "chaalaa": {      "command": "ssh",      "args": ["chaalaa.dev", "mcp"]    }  }}

05 — Okay, but why?

Owns the layer Docker would've owned.

chaalaa talks to containerd directly and owns everything underneath your services — networking, isolation, DNS and release switches — so they're designed in from day one, not duct-taped on later.

No Docker daemon

chaalaa drives containerd and BuildKit directly. The host gets one agent binary next to containerd and runc. That's the install.

containerdbuildkitnftablesdockerd

Atomic switches

Every service keeps a stable virtual IP. A release repoints every changed service in one kernel transaction; open connections drain on the old one.

api · 10.201.0.7→release r7release r8

Its own networking

A bridge and subnet per environment, isolated by default, with egress you can actually reason about.

DNS per environment

db means your environment's db. No more 2am "wait, which db is this?"

production ❯ db → 10.201.0.4

brave-otter ❯ db → 10.201.3.4

Builds and secrets stay put

No Docker or credentials on anyone's laptop. Config is encrypted at rest and never, ever lives in git.

Your compose.yaml, as-is

The file you run locally is the file chaalaa deploys. Local-only hacks stay in compose.override.yaml, and chaalaa politely looks away.

Teams, roles and an audit log

Owners, developers and viewers per team, team-owned domains, and an audit log for when someone asks "who changed that?" All over plain SSH.

06 — Monorepos

One push. Only what changed. All at once.

chaalaa works out which services a push touched, builds shared images once, and switches every changed service together — or none of them. Half-deployed is not a state we do.

  1. Deploys what changed

    Build contexts and watch globs decide. Your database doesn't need to hear about your CSS.

  2. Targets straight from git

    git push -o deploy=web, or deploy=all when you're feeling dramatic. No extra CLI.

  3. Builds once

    Services sharing a build context and Dockerfile share one image and just run different commands.

  4. All or nothing

    Every changed service passes its health check before any of them switch. One fails, nobody moves.

planned output (still imaginary)

07 — Under the hood

One binary on the host. Protobuf at every boundary.

Install the agent next to containerd. It runs everything else — chaalaa's own services, Traefik and BuildKit — as containers pinned by digest, talking binary protobuf over unix sockets. Upgrade the agent and the platform follows.

agent
The one thing you install. Runs containers on containerd, owns bridges, nftables, DNS and volumes.
gateway
The SSH server, git receive-pack, hooks, every command and a terminal dashboard.
deployer
Queue, change detection and plans. Deploys run step by step, so a crash resumes instead of panicking.
apps
Apps, environments, previews and releases. Keeper of the manifest.
builder
BuildKit's containerd worker, straight into the image store. No registry round trip.
secrets
Encrypted config with scopes. Previews inherit from their base, like a trust fund.
ingress
Hostnames, team domains and certificates, served through Traefik.
identity
Users, SSH keys, teams, roles, and an audit log that remembers everything.
cluster
Nodes, address pools and placement. One node today, more when it earns them.

yes, protobuf. no, not JSON. we've been over this.

08 — Honest fit

Is chaalaa for you?

There are good tools out there, and pretending otherwise would be weird. Here's where chaalaa shines, and where you'll be happier somewhere else.

It's your thing if…

  • You run a handful of services and at least one expensive database or search cluster.
  • You want a preview per branch without paying for a whole stack per branch.
  • Your code lives in a monorepo and you're tired of rebuilding the universe for a typo.
  • You'd rather git push and ssh than click around a dashboard.

Look elsewhere if…

  • You need lots of machines today — Kamal or Uncloud are built for that.
  • You want a web dashboard to click through — Coolify or Dokploy will make you happier.
  • You need something battle-tested right now — Dokku has a decade of plugins (and scars).
  • You want automatic scheduling and failover — that's Kubernetes. Go with god.

09 — Roadmap

Where it stands.

A rewrite of a 2021 proof of concept that was, let's say, a learning experience. The design's done; the build starts at the foundation and works up from the agent.

  1. M0now

    Foundation

    Monorepo, protobuf contracts, tooling, CI and the release pipeline. The boring bit that makes everything else less boring.

  2. M1–M5

    The agent

    containerd runtime, networking, DNS views, atomic switches, isolation, borrow and clone. The fun bit.

  3. M6

    Push to deploy

    SSH, git, change detection, builds and deploys across the platform services.

  4. M7

    Previews and HTTPS

    Preview lifecycle, rollback, config changes, team domains and certificates.

  5. M8

    v1

    Install and upgrade, commands and dashboard, docs, end-to-end and chaos tests. Then: ship it.

  6. Later

    More nodes

    Workers that run only the agent, routed over WireGuard. A Kubernetes backend after that, if it earns one.

Follow along.

Watch the repo to see the agent come together, or open an issue if previews that borrow or clone your databases would fix a problem you have today. Complaints also accepted.