Operations
What runs
The pieces of a kino install, the order they start in, and where the state lives.
What you do here: get the map before touching anything. This section is for whoever hosts kino — it is not about using the editor.
The services
| Service | What it is | Needs |
|---|---|---|
postgres | Postgres 16 — one database holds both schemas | a volume |
migrate | One-shot job: syncs the schema and creates the workflow tables | runs before server |
server | The API (Nitro + Hono), the workflow world and the render | Postgres, the org's bucket |
web | The editor, a static SPA served by nginx | server, at build time |
landing | Marketing and this documentation (Next.js) | nothing — it does not talk to the API |
minio | Optional: local S3-compatible storage | a volume |
caddy or portless | The edge: TLS and routing by name | ports 80/443 (Caddy) or 443 (portless) |
The order
postgres healthy → migrate (one-shot) → server
web and landing are independent — they only need the API's URL, baked at buildmigrate runs to completion before server starts, and it is idempotent: it can run on every
boot without harm. See Database.
Where the state lives
| State | Where |
|---|---|
| Accounts, organizations, projects, render jobs, the AI and storage configuration | Postgres |
| The pixels and audio of an export | The organization's bucket |
| The document being edited and the media files | The browser — see Where your work lives |
That third row is the one that surprises: two API instances share the database, but they do not share the editing session. The document is local by design.
What to read next
- Environment — every variable, per app, and what is baked at build.
- Database — the two schemas and the commands that touch them.
- The render — the bundle, the browser and the resource caps.
- Deploy — always-on locally, and the VPS path with TLS.