Skip to content
CyberbladeAssay
SourceSign in

Install

Stand up a single-node Assay install on Docker or Podman Compose, from a bare host to a verified go-live.

Assay runs on your own host as eight services behind one edge, sharing a single Postgres database. A single node on Docker or Podman Compose is the place to start; Kubernetes with Helm is for high availability once the stack is proven. This page takes a bare host to a running install. For the full reference (every profile, TLS mode, and environment variable group), see Configuration.

Prerequisites

  • A container runtime: Docker Engine 24+ with Compose v2, or Podman.
  • curl and openssl (used by the deploy and TLS tooling).
  • Sizing: 2 vCPU / 4 GB / 20 GB for an evaluation; 4 vCPU / 16 GB / 100 GB SSD as a production starting point. Evidence and audit data grow with engagement volume, so plan storage for your own scale.
  • postgresql-client-18 only if you run backup and restore (those run from an operator host, not the distroless service image).

Building from source adds Go 1.26.11 and Node 24.22.1. The platform module and the UI kit both resolve publicly with checksum verification; no fetch credential is needed.

The four externals

Each is abstracted behind environment variables, so any can be swapped for a managed equivalent.

  • PostgreSQL 18: the graph, grants, findings, evidence metadata, and the hash-chained audit log. One database, one schema per service. A hard dependency.
  • Valkey: the distributed rate limiter and the report-export task queue. A hard dependency.
  • OpenBao: the signing keys (Transit), internal PKI for mTLS, database credentials, and KV secrets. Required in production to issue authorizations; a service can still enforce ones already issued without it.
  • MinIO: reserved for evidence and report object storage; holds no data in this build.

Go-live sequence

  1. Render the environment file

    cbctl assay init copies the template to .env with strong randoms and leaves every required-but-site-specific field blank for you to fill. Review it before going on.

  2. Bring up the core

    Shell
    cbctl assay up --profile core

    Then initialize and unseal OpenBao yourself (bao operator init / bao operator unseal) and store the unseal shares and recovery key off-host immediately. They are irrecoverable if lost.

  3. Migrate every service into its own schema

    Shell
    for s in authz safemode asset engine planner prioritize verify report; do
      FORGE_SERVICE_NAME="$s" cbctl assay migrate
    done
  4. Bring up the services

    Shell
    cbctl assay up --profile core,services
  5. Preflight

    cbctl assay doctor checks config, secrets, database, cache, TLS, and the signing key. In production it fails closed on any of them. Expect green.

Reboot survival

Containers restart themselves, but OpenBao comes back sealed and needs a manual unseal before the stack does anything: services fail secure until then. For unattended reboots, configure auto-unseal, weighing the convenience against trusting the auto-unseal mechanism. Run cbctl assay doctor after any reboot.