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

The Kordfile

Declare your whole stack — apps, ports, env, dependencies, health checks, and routing.

The Kordfile is a plain-text file at your project root that declares every app kordrun should run. It's whitespace-indented, with one block per app.

Configuration

Top-level directives

DirectiveExampleDescription
workspaceworkspace "Acme"A label for this project, shown in the dashboard.
proxy_portproxy_port 8000Port for the built-in reverse proxy (default 7000).
appapp webStarts an app block; following indented lines configure it.

App attributes

app web
  path ./apps/web
  run npm run dev
  port 3000
  env NODE_ENV development
  depends api
  health /healthz
  proxy web.local
  route /
  logs web.log

Prop

Type

Rules

  • Lines starting with # are comments.
  • App names must be unique.
  • depends takes one app name per line — repeat the line for more.
  • route must start with /.
  • proxy hostnames may contain only letters, digits, . and -.
  • logs is a file name, not a path — files live in .kordrun/logs.
  • env keys may contain letters, digits, _, - and ..
  • proxy and route need a port on the same app; without one the app isn't routed.

Example

workspace "Acme"
proxy_port 8000

app db
  run docker compose up postgres
  port 5432

app api
  run cargo run
  port 4000
  health /healthz
  depends db
  proxy api.local

app web
  run npm run dev
  port 3000
  depends api
  proxy app.local

Run it with kordrun start.

Kordfiles with more than 2 apps need Pro — the free plan runs up to 2.