Skip to content

Commit 7e6595a

Browse files
wk66torkelo
authored andcommitted
hint about how to override settings from default section (grafana#6181)
1 parent dacfa6b commit 7e6595a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/sources/installation/configuration.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ using environment variables using the syntax:
3030
Where the section name is the text within the brackets. Everything
3131
should be upper case, `.` should be replaced by `_`. For example, given these configuration settings:
3232

33+
# default section
34+
instance_name = ${HOSTNAME}
35+
3336
[security]
3437
admin_user = admin
3538

@@ -39,6 +42,7 @@ should be upper case, `.` should be replaced by `_`. For example, given these co
3942

4043
Then you can override them using:
4144

45+
export GF_DEFAULT_INSTANCE_NAME=my-instance
4246
export GF_SECURITY_ADMIN_USER=true
4347
export GF_AUTH_GOOGLE_CLIENT_SECRET=newS3cretKey
4448

0 commit comments

Comments
 (0)