Configuration variables
You can set configuration variables for each gateway using an environment variable or a configuration file. The system reads configuration variables in the following priority order:
- Environment variable (for example, GATEWAY_APPLICATION_WORKING_DIR)
- A single configuration file. The system uses the following location precedent:
- Path passed using
--config <path>from the CLI when you launch the gateway - Path set using
GATEWAY_CONFIGenvironment variable ~/.gateway.d/gateway.conf/etc/gateway/gateway.conf
- Path passed using
- Default value
To view loaded configuration variables in a gateway, run:
Example configuration file
When you create a configuration file, reference this example as a starting point:
Learn more
For more detailed information on the available configuration variables, see: