Skip to content
Deployment | Omni Manual Book

Deployment

Deploy Omni to production — Docker, Kubernetes, observability, and security.

Guide to deploying Omni to production.

Here is the end-to-end deployment flow:

Deployment flow

Omni can be deployed with Docker or Kubernetes.

bun run --filter @omni/backend build
bun run --filter @omni/frontend build
docker build -t omni-backend backend
docker build -t finance-frontend frontend

Manifests are in infrastructure/k8s/ (namespace, configmap, secret, backend/frontend/postgres/redis deployments, ingress, network policies).

Prepare environment

Fill in production env vars (DB, Redis, JWT, security).

Run migrations & seed

Ensure migrations and seeds run (backend migrationsRun).

Deploy backend & frontend

Deploy backend (API) and frontend (SPA) images.

Smoke-test

Verify the API health endpoint and a representative login flow.

Enable observability

Enable Prometheus/Grafana (infrastructure/monitoring).

Pre-deployment checklist
  • RLS_ENABLED=true, PII_MASKING=true, AV_FAIL_CLOSED=true.
  • JWT issuer/audience set.
  • httpOnly cookie for the refresh token.
  • Secrets stored in a secret manager (not in code).
  • Backup & restore procedure tested.