Skip to content

Commit

Permalink
Merge pull request #1 from zsxking/zsxking-docs-env-conf
Browse files Browse the repository at this point in the history
Update configuration.md
  • Loading branch information
zsxking committed Jun 18, 2015
2 parents 5e9c44b + d23762e commit eda13a9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/sources/installation/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,19 @@ using environment variables using the syntax:
GF_<SectionName>_<KeyName>

Where the section name is the text within the brackets. Everything
should be upper case. For example, given this configuration setting:
should be upper case, `.` should be replaced by `_`. For example, given these configuration settings:

[security]
admin_user = admin

[auth.google]
client_secret = 0ldS3cretKey


Then you can override that using:

export GF_SECURITY_ADMIN_USER=true
export GF_AUTH_GOOGLE_CLIENT_SECRET=newS3cretKey

<hr>

Expand Down

0 comments on commit eda13a9

Please sign in to comment.