Server settings
Core runtime
PORT- server port (default8080)CORS_ORIGINS- comma-separated list of allowed originsGATEWAY_CONFIG- path to JSON or YAML config fileLOG_LEVEL- logging level (for exampledebug,info,warn,error)LOG_FORMAT- log output format
Admin bootstrap
ADMIN_BOOTSTRAP_KEY- first-run admin bearer keyADMIN_BOOTSTRAP_READ_ONLY_KEY- first-run read-only bearer keyADMIN_BOOTSTRAP_ENABLED- enable or disable bootstrap keys (default enabled)
Bootstrap keys are only honored while the API key store is empty.
Stores
CONFIG_STORE_BACKEND-memory,sqlite,postgresCONFIG_STORE_DSN- SQLite file path or Postgres DSNAPI_KEY_STORE_BACKEND-memory,sqlite,postgresAPI_KEY_STORE_DSN- SQLite file path or Postgres DSNREQUEST_LOG_STORE_BACKEND-sqlite,postgresREQUEST_LOG_STORE_DSN- SQLite file path or Postgres DSN
Rate limiting
RATE_LIMIT_RPS- requests per second (enables per-IP limiting)RATE_LIMIT_BURST- burst capacity