Kroos Developers
Kroos Developers › Self-hosting & configuration

Kroos Node (self-hosting)

Run Kroos inside your own network with Docker or Kubernetes, so internal knowledge, the Explorer, employee chat and audit never leave it.

Kroos Node runs the internal assistant, the Explorer and the audit log in your VPC or data center. Only approved, scrubbed call-home payloads ever leave, and only if you allow them.

Requirements#

  • Node.js 22.18 or newer (the image includes it), or Docker / Kubernetes.
  • 1 vCPU and 1 GB of memory per replica to start; 10 GB of persistent storage.
  • Outbound network access only to the systems you want Kroos to read (and to an AI provider if you allow one).

Docker Compose#

yamldocker-compose.yml
services:
  kroos-node:
    image: kroos-node:0.2.0
    restart: unless-stopped
    ports: ["127.0.0.1:8787:8787"]
    environment:
      KROOS_MODE: node
      PUBLIC_BASE_URL: https://kroos.internal.example
      KROOS_SIGNING_SECRET: ${KROOS_SIGNING_SECRET:?set a long random value}
      KROOS_ADMIN_KEY: ${KROOS_ADMIN_KEY:?set an operator key}
      KROOS_EXTERNAL_AI: "off"          # sovereign default
      ORDERS_DB_ROUA_URL: ${ORDERS_DB_ROUA_URL:-}   # a vault reference target, never sent to Kroos
    volumes: ["kroos-data:/data"]
    read_only: true
    tmpfs: ["/tmp"]
    security_opt: ["no-new-privileges:true"]
volumes:
  kroos-data:
bash
export KROOS_SIGNING_SECRET="$(openssl rand -base64 48)"
export KROOS_ADMIN_KEY="$(openssl rand -hex 32)"
docker compose up -d

Put a TLS-terminating reverse proxy (or your ingress) in front. The container listens on 8787 (website/API) and 8788 (AI host).

Kubernetes (Helm)#

bash
kubectl create secret generic kroos-node-secrets \
  --from-literal=KROOS_SIGNING_SECRET="$(openssl rand -base64 48)" \
  --from-literal=KROOS_ADMIN_KEY="$(openssl rand -hex 32)"
helm install kroos-node ./deploy/helm/kroos-node --set publicBaseUrl=https://kroos.internal.example
ValueDefaultMeaning
image.repository, image.tagkroos-node, 0.2.0Image
replicaCount1Keep at 1 with the built-in database
publicBaseUrl—The Node's address
externalAIoffoff, assist or always
existingSecretkroos-node-secretsHolds KROOS_SIGNING_SECRET, KROOS_ADMIN_KEY, optional ANTHROPIC_API_KEY and *_ROUA_URL values
persistence.size10GiData volume
networkPolicy.enabledtrueDefault-deny egress
networkPolicy.allowedEgressCIDRs[]Internal hosts the Explorer and connectors may reach

values-gov.yaml is a stricter profile for public-sector deployments: internal models only and strict egress.

Sovereign mode#

With KROOS_EXTERNAL_AI=off (the default on Kroos Node), no third-party AI provider is called. Answers come from Kroos's own models and your approved documents.

Call-home without export#

When the Node needs help it can't provide itself, it prepares a scrubbed problem signature (no documents, no personal data, only allow-listed fields). Nothing leaves until an admin approves it:

RequestPurpose
GET /api/tenant/node/callhomePending and past payloads
POST /api/tenant/node/callhomePrepare a payload for review
POST /api/tenant/node/callhome/:idApprove or reject

Vault references for the Explorer#

Credentials for systems Kroos reads live only in the Node's environment or your secrets manager. The Explorer is given a reference such as env:ORDERS_DB_ROUA_URL or aws-sm:kroos/roua/orders-db, never the value. See Read-only access.

Upgrades and backups#

  • Back up the data volume (it contains the database and sealed secrets).
  • Upgrade by changing the image tag; the database migrates itself on start.
  • Keep KROOS_SIGNING_SECRET stable: changing it signs everyone out and invalidates signed links.

Last updated 2026-12-03