mirror of
https://github.com/grafana/grafana.git
synced 2025-01-26 16:27:02 -06:00
Fix and update documents
This commit is contained in:
parent
e9a174d1c5
commit
968b1b4308
@ -7,7 +7,7 @@ app_mode = production
|
||||
|
||||
#################################### Paths ####################################
|
||||
[paths]
|
||||
# Path to where grafana can store temp files, sessions, and the sqlite3 db (if that is useD)
|
||||
# Path to where grafana can store temp files, sessions, and the sqlite3 db (if that is used)
|
||||
#
|
||||
data = data
|
||||
#
|
||||
@ -62,7 +62,7 @@ path = grafana.db
|
||||
|
||||
#################################### Session ####################################
|
||||
[session]
|
||||
# Either "memory", "file", "redis", "mysql", default is "memory"
|
||||
# Either "memory", "file", "redis", "mysql", "postgresql", default is "file"
|
||||
provider = file
|
||||
|
||||
# Provider config options
|
||||
@ -70,6 +70,7 @@ provider = file
|
||||
# file: session dir path, is relative to grafana data_path
|
||||
# redis: config like redis server addr, poolSize, password, e.g. `127.0.0.1:6379,100,grafana`
|
||||
# mysql: go-sql-driver/mysql dsn config string, e.g. `user:password@tcp(127.0.0.1)/database_name`
|
||||
|
||||
provider_config = sessions
|
||||
|
||||
# Session cookie name
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
#################################### Paths ####################################
|
||||
[paths]
|
||||
# Path to where grafana can store temp files, sessions, and the sqlite3 db (if that is useD)
|
||||
# Path to where grafana can store temp files, sessions, and the sqlite3 db (if that is used)
|
||||
#
|
||||
;data = /var/lib/grafana
|
||||
#
|
||||
@ -62,7 +62,7 @@
|
||||
|
||||
#################################### Session ####################################
|
||||
[session]
|
||||
# Either "memory", "file", "redis", "mysql", default is "memory"
|
||||
# Either "memory", "file", "redis", "mysql", "postgresql", default is "file"
|
||||
;provider = file
|
||||
|
||||
# Provider config options
|
||||
|
@ -219,7 +219,7 @@ set to true, any user successfully authenticating via google auth will be automa
|
||||
## [session]
|
||||
|
||||
### provider
|
||||
Valid values are "memory", "file", "mysql", 'postgres'. Default is "memory".
|
||||
Valid values are "memory", "file", "mysql", 'postgres'. Default is "file".
|
||||
|
||||
### provider_config
|
||||
This option should be configured differently depending on what type of session provider you have configured.
|
||||
|
Loading…
Reference in New Issue
Block a user