Skip to main content
TrustGate is a single static binary plus two datastores. Because the planes are selected by an argument, you scale Admin, Proxy, and MCP independently.

Topology

Single-node setups can run admin + proxy together with ./trustgate run.

Docker

The published image runs one plane per container:
Compose files: docker-compose.yaml (infra only — Postgres and Redis), plus docker-compose.api.yaml (admin + proxy) and docker-compose.frontend.yaml. make up brings up the full stack. The image is linux/amd64.
The Compose quick path focuses on admin + proxy (8080/8081). For MCP (8082), run the mcp plane (Kubernetes/chart) or add an MCP service yourself.

Kubernetes

Manifests live under k8s/ (kustomize); each plane is its own Deployment with the matching args (["admin"], ["proxy"], ["mcp"]):
Provide configuration via a ConfigMap + Secret (see Configuration); secrets.env.example lists what each plane needs.

Health & readiness

Every plane exposes probes for orchestration:
Point your load balancer at /readyz so a plane only receives traffic once Postgres and Redis are reachable.