godelgate Book a demo

Environment variables

Variables Godelgate reads at startup.

VariableDefaultDescription
GODELGATE_CONFIGgodelgate.yamlPath to the config file
GODELGATE_DBdata/godelgate.db (/data/godelgate.db in the Docker image)SQLite file for the audit log, tool pins and leads
GODELGATE_ADMIN_TOKENrandom per startAdmin token, used when admin.token is not set in the config
PORT8080HTTP port
GODELGATE_PUBLIC_URLcloud.publicUrl, else http://localhost:<PORT>Where people reach the gate. Used for OAuth sign-ins to servers and the MCP URL shown in the dashboard.
GODELGATE_SECRET_KEYgenerated into secret.key next to the databaseEncrypts stored server tokens and OAuth credentials. Set it in production and keep it: changing it makes stored credentials unreadable.
GODELGATE_GOOGLE_CLIENT_ID, GODELGATE_GOOGLE_CLIENT_SECRETunsetTurn on "Continue with Google" for Cloud sign-in. Create an OAuth client of type Web application in Google Cloud with the redirect URI <public URL>/auth/google/callback.
VAULT_ADDR, VAULT_TOKEN, VAULT_NAMESPACE, GODELGATE_VAULT_TRANSIT_KEY, GODELGATE_VAULT_TRANSIT_MOUNTunsetTake the encryption key from HashiCorp Vault Transit; see Encryption and key management
GODELGATE_SECRET_KEY_PREVIOUSunsetOlder keys (comma-separated) to re-encrypt from during a rotation
OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_EXPORTER_OTLP_HEADERS, OTEL_SERVICE_NAMEunsetExport a trace span for every tool call; see OpenTelemetry
ANTHROPIC_API_KEY, OPENAI_API_KEYunsetSelf-hosted: provider keys for the LLM proxy
LIZARD_API_KEY, GODELGATE_LIZARD_PROJECT, GODELGATE_HOSTED_LIMITunset, unset, 2Cloud: run local servers in Lizard microVMs; see Isolated local servers
GODELGATE_ALLOW_PRIVATE_URLSunset1 lets Cloud workspaces connect to private addresses. Only for tests and private deployments.

Any other variable can be used inside godelgate.yaml as ${NAME}, typically user keys and upstream tokens:

bash
export ALICE_KEY=$(openssl rand -hex 24)
export GITHUB_TOKEN=ghp_...