This section describes how to set configurations options of WunderNode.
List of available options:
During development all options are optional and will be set via EnvironmentVariables with default values
The host on which the WunderNode should listen.
The port on which the WunderNode should listen.
This option allows you to configure the internal URL where your WunderNode will be deployed in the internal network. This is important for the WunderGraph Server to be able to comminucate with WunderNode.
This option allows you to configure the Public URL on which you WunderNode Api will be accessible. It is used for example in the generated clients, in the GraphQL playground, OpenAPI specification and Postman collection.
This option allows you to configure the logger level of WunderNode.
This option indicates whether Prometheus metrics collection and exposure should be enabled.
This option controls the port used to listen on for serving Prometheus metrics. The metrics are available at
This option indicates whether OpenTelemetry tracing should be enabled.
This option defines the sampling rate of traces. Must be a value between 0 and 1. For example, a value of 0.1 means 10% of traces are sampled. Don't set this to 1 in production, unless you want to trace every request.
This option allows you to configure the OpenTelemetry HTTP exporter endpoint. The default endpoint is
http://localhost:4318. The current supported OTLP endpoint is set fixed to
This option allows you to configure the OpenTelemetry HTTP exporter with an authentication token. Currently, we only support JWT authentication in combination with our JWT authenticator plugin.
Options default values
Each option when unset will get a value from the
Default Environment Variables or from the default value of that variable.
|Option||Default Value||Default Environment Variable|
In case in options only
listen.port is provided, the
publicNodeUrl will be set to
Running in production
In production it is mandatory to provide:
publicNodeUrl- to have a proper configuration of generated clients, graphiql, graphqlconfig and postman collection
nodeUrl- when you want to run WunderNode in a different network/host than WunderGraph Server
You could provide it either by setting the Default Environment Variable or as a static value:
When no options were provided you still could override default values by setting WG environment variables
Configure options with static values
Configure options with custom environment variables
Configure options with default environment variables
This configuration illustrates what options you will get when options are not provided via the config.
By using default environment variables names you could stick with Wundergraph Default behaviour but supply different default values.