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.
curlandopenssl(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-18only 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
Render the environment file
cbctl assay initcopies the template to.envwith strong randoms and leaves every required-but-site-specific field blank for you to fill. Review it before going on.Bring up the core
Shellcbctl assay up --profile coreThen 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.Migrate every service into its own schema
Shellfor s in authz safemode asset engine planner prioritize verify report; do FORGE_SERVICE_NAME="$s" cbctl assay migrate doneBring up the services
Shellcbctl assay up --profile core,servicesPreflight
cbctl assay doctorchecks 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.