Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
434a2377
Commit
434a2377
authored
Mar 11, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added ENV variable info to the configuration docs
parent
945cb325
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletions
+16
-1
docs/sources/installation/configuration.md
+16
-1
No files found.
docs/sources/installation/configuration.md
View file @
434a2377
...
@@ -19,6 +19,22 @@ or specified using `ENV` variables.
...
@@ -19,6 +19,22 @@ or specified using `ENV` variables.
> at `/etc/grafana/grafana.ini`. This path is specified in the grafana init.d script using `--config` file
> at `/etc/grafana/grafana.ini`. This path is specified in the grafana init.d script using `--config` file
> parameter.
> parameter.
## Using ENV variables
All options in the config file (listed below) can be overriden using ENV variables using the syntax:
GF_<SectionName>_<KeyName>
Where the section name is the text within the brackets. Everything should be upper case.
Example, given this config setting:
[security]
admin_user = admin
Then you can override that using:
export GF_SECURITY_ADMIN_USER=true
<hr>
<hr>
## [server]
## [server]
...
@@ -158,7 +174,6 @@ Client ID and a Client Secret. Specify these in the grafana config file. Example
...
@@ -158,7 +174,6 @@ Client ID and a Client Secret. Specify these in the grafana config file. Example
Restart the grafana backend. You should now see a google login button on the login page. You can
Restart the grafana backend. You should now see a google login button on the login page. You can
now login or signup with your google accounts.
now login or signup with your google accounts.
<hr>
<hr>
## [session]
## [session]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment