Krino runs on your own infrastructure and ships as containers.

Components

One database is a deliberate choice. Ingested records are versioned rather than overwritten, and velocity rules read only the live rows through partial indexes built from your live rules. Those index builds run in Server.Worker, so a build that holds a connection for minutes never does so in the process answering decisions.

Environment variables

Each service needs a .env. The ones that matter most:
Set PUBLIC_APP_URL in production. Links mailed to users are never built from the address a request claims to come from — a forged Host header would otherwise put somebody else’s server in a password-reset link — so without it those links are not created at all. An entry in TRUSTED_PROXIES that is not a valid address or range stops the service at start-up rather than being skipped.
The time zone and the IP addresses allowed to call the API are not deployment settings: each organisation sets its own under Settings → Organization. A timestamp sent without an offset is read in that organisation’s zone.
Card numbers, credentials and similar values are redacted from logs and from what is sent to Sentry before either is written.

Bring-up order

1

Start the infrastructure

PostgreSQL and NATS — and Redis if you use it. Wait for health checks to pass.
2

Apply migrations

Schema migrations run at application start; the first boot can take a while.
3

Start the services

Server.Api creates the queue streams and binds its consumers itself; start it alongside Server.Blazor and Server.Worker.
4

Sign in as the administrator

Use the account created on first boot, and change its password immediately.

Health checks

The verbose form reports each dependency separately, without the error details; use the plain one for your load balancer.

Backups

PostgreSQL holds every decision, case and rule, and the event data you sent — regular backups are essential. The event data can be reloaded from your source systems, but reloading takes a long time and loses the versions in between; backing it up is cheaper.

Upgrades

Version upgrades are included in the licence. Take a PostgreSQL backup first, and move all three services to the new version together: a release can carry a migration that the others expect.