Skip to main content
TrustGate is one Go binary plus Postgres, Redis, and Kafka. Pick the workflow that fits.

One-line install

Clones the repo, seeds .env, brings up the full stack in Docker, and (when Go is installed) builds and installs the trustgate CLI on your PATH:
Requires git, docker, and Docker Compose (plus Go to build the CLI). Re-running updates the checkout and never overwrites your .env. Useful overrides:
VariableEffect
AG_REF=developInstall a different branch / tag / commit.
AG_DIR=/path/to/dirWhere to clone.
AG_BIN_DIR=~/.local/binWhere to install the trustgate CLI.
AG_INSTALL_CLI=0Skip building the CLI.
AG_NO_START=1Skip docker compose up.

Docker Compose

Check the health probes:
The image is pinned to linux/amd64 because confluent-kafka-go only bundles an amd64 librdkafka; on Apple Silicon the build runs under emulation out of the box.

Local development

Run the infra in Docker and the binary on your machine so you can attach a debugger:

Kubernetes

Manifests live under k8s/ (kustomize); each plane is its own Deployment:

Configuration

All configuration is read from environment variables — in dev, .env is loaded automatically; in production, inject them via Helm values, ECS task definitions, or a k8s ConfigMap + Secret. See Configuration for the full reference, and Deployment for production topology.

Run the tests