mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
hint about how to override settings from default section (#6181)
This commit is contained in:
parent
dacfa6b978
commit
7e6595acaf
@ -30,6 +30,9 @@ using environment variables using the syntax:
|
|||||||
Where the section name is the text within the brackets. Everything
|
Where the section name is the text within the brackets. Everything
|
||||||
should be upper case, `.` should be replaced by `_`. For example, given these configuration settings:
|
should be upper case, `.` should be replaced by `_`. For example, given these configuration settings:
|
||||||
|
|
||||||
|
# default section
|
||||||
|
instance_name = ${HOSTNAME}
|
||||||
|
|
||||||
[security]
|
[security]
|
||||||
admin_user = admin
|
admin_user = admin
|
||||||
|
|
||||||
@ -39,6 +42,7 @@ should be upper case, `.` should be replaced by `_`. For example, given these co
|
|||||||
|
|
||||||
Then you can override them using:
|
Then you can override them using:
|
||||||
|
|
||||||
|
export GF_DEFAULT_INSTANCE_NAME=my-instance
|
||||||
export GF_SECURITY_ADMIN_USER=true
|
export GF_SECURITY_ADMIN_USER=true
|
||||||
export GF_AUTH_GOOGLE_CLIENT_SECRET=newS3cretKey
|
export GF_AUTH_GOOGLE_CLIENT_SECRET=newS3cretKey
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user