Skip to content

Commit

Permalink
docs(fix): Environment variables in configuration files have default …
Browse files Browse the repository at this point in the history
…values (grafana#3055)

Signed-off-by: Weifeng Wang <qclaogui@gmail.com>
  • Loading branch information
qclaogui authored Feb 29, 2024
1 parent 18ddf2c commit c723cba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Each variable reference is replaced at startup by the value of the environment v
The replacement is case-sensitive and occurs before the YAML file is parsed.
References to undefined variables are replaced by empty strings unless you specify a default value or custom error text.

To specify a default value, use `${VAR:default_value}`,
To specify a default value, use `${VAR:-default_value}`,
where `default_value` is the value to use if the environment variable is undefined.

## Configuration parameters
Expand Down

0 comments on commit c723cba

Please sign in to comment.