Using environment variables, configuration attributes can be controlled externally by the environment. This section documents the use of environment variables and illustrates possible use cases.
- In the configuration file, environment variables are referenced by one of the following notations:
${ENVVAR}
${ENVVAR:-default}
If variable ENVVAR
is defined, its value is taken. It's possible to define an optional default value, in case the variable should not be defined.