kino
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

ServiceWhat it isNeeds
postgresPostgres 16 — one database holds both schemasa volume
migrateOne-shot job: syncs the schema and creates the workflow tablesruns before server
serverThe API (Nitro + Hono), the workflow world and the renderPostgres, the org's bucket
webThe editor, a static SPA served by nginxserver, at build time
landingMarketing and this documentation (Next.js)nothing — it does not talk to the API
minioOptional: local S3-compatible storagea volume
caddy or portlessThe edge: TLS and routing by nameports 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 build

migrate runs to completion before server starts, and it is idempotent: it can run on every boot without harm. See Database.

Where the state lives

StateWhere
Accounts, organizations, projects, render jobs, the AI and storage configurationPostgres
The pixels and audio of an exportThe organization's bucket
The document being edited and the media filesThe 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.

  • 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.

On this page