.env
is loaded automatically via godotenv; in production, inject env vars directly (Helm
values, ECS task definitions, k8s ConfigMap + Secret). Copy .env.example for the full set
with safe defaults.
Server & discovery
Datastores
Telemetry, metrics & upstreams
See
.env.example in the repo for the complete list, including the CORS_* server-level
CORS middleware variables (CORS_ALLOW_ORIGINS, CORS_ALLOW_METHODS,
CORS_ALLOW_HEADERS, CORS_EXPOSE_HEADERS, CORS_ALLOW_CREDENTIALS, CORS_MAX_AGE)
and playground/STS signing variables.
Migrations
Database migrations are in-code Go files underpkg/infra/database/migrations/, named
<unix_timestamp>_<snake_name>.go, each registering itself in init(). The Admin plane
applies any pending migrations automatically on boot — each migration’s DDL and its version
row commit in a single transaction.