✦ kordrun v1.0 — 2 processes free, forever
kordrun

Examples

Copy-paste Kordfiles for common stacks.

Project layout

A Kordfile lives at your project root, next to your apps:

Kordfile

Stacks

workspace "Acme"

app db
  run docker compose up postgres
  port 5432

app api
  path ./apps/api
  run npm run dev
  port 4000
  health /healthz
  depends db

app web
  path ./apps/web
  run npm run dev
  port 3000
  depends api
  proxy app.local
workspace "Rusty"

app api
  run cargo run --bin api
  port 8080
  health /health

app worker
  run cargo run --bin worker
  depends api
workspace "Pyapp"

app redis
  run docker compose up redis
  port 6379

app web
  run uvicorn main:app --reload --port 8000
  port 8000
  depends redis
  proxy py.local

Run any of them with kordrun start.