Container Setup
The container setup gives you full control over where GOVERN runs. Use it when you need data residency guarantees, private networking, or custom infrastructure.
Docker Compose (development / small deployments)
version: '3.8'services: govern-api: image: archetypal/govern-api:latest environment: - GOVERN_DB_URL=postgresql://govern:secret@db:5432/govern - GOVERN_REDIS_URL=redis://redis:6379 - GOVERN_LICENSE_KEY=${GOVERN_LICENSE_KEY} ports: - "8443:8443" db: image: postgres:16 environment: POSTGRES_DB: govern POSTGRES_USER: govern POSTGRES_PASSWORD: secret volumes: - govern-db:/var/lib/postgresql/data redis: image: redis:7-alpine volumes: - govern-redis:/datavolumes: govern-db: govern-redis:docker compose -f govern-docker-compose.yml up -dKubernetes (production deployments)
Helm chart:
helm repo add archetypal https://charts.archetypal.aihelm repo updatehelm install govern archetypal/govern \ --set api.licenseKey=$GOVERN_LICENSE_KEY \ --set database.url=$GOVERN_DB_URL \ --set ingress.host=govern.yourcompany.comHealth checks
curl https://your-govern-instance/healthcurl https://your-govern-instance/health/readycurl https://your-govern-instance/health/liveUpgrading
docker compose pull && docker compose up -d# orhelm upgrade govern archetypal/govern --reuse-values