You are browsing unreleased documentation. See the latest documentation here.
Kong Gateway Environment Variables
Environment variables
Kong Gateway can be fully configured with environment variables.
All parameters defined in kong.conf
can be managed via environment variables.
When loading properties from kong.conf
, Kong Gateway checks existing
environment variables first.
To override a setting using an environment variable, declare an environment
variable with the name of the setting, prefixed with KONG_
.
For example, to override the log_level
parameter:
log_level = debug # in kong.conf
set KONG_LOG_LEVEL
as an environment variable:
export KONG_LOG_LEVEL=error