Skip to content

Commit

Permalink
change defaults.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinzhou committed Aug 8, 2019
1 parent 7632685 commit 8d6ed20
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions config.docker/defaults.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ instance_name = ${HOSTNAME}
[paths]
# Path to where grafana can store temp files, sessions, and the sqlite3 db (if that is used)
#
data = /grafana/data
;data = /grafana/data
#
# Directory where grafana can store logs
#
logs = /grafana/logs
;logs = /grafana/logs
#
# Directory where grafana will automatically scan and look for plugins
#
plugins = /grafana/plugins
;plugins = /grafana/plugins

#################################### Server ####################################
[server]
Expand Down Expand Up @@ -191,44 +191,44 @@ org_role = Viewer

#################################### Github Auth ##########################
[auth.github]
enabled = false
allow_sign_up = false
client_id = some_id
client_secret = some_secret
scopes = user:email
auth_url = https://github.com/login/oauth/authorize
token_url = https://github.com/login/oauth/access_token
api_url = https://api.github.com/user
team_ids =
allowed_organizations =
; enabled = false
; allow_sign_up = false
; client_id = some_id
; client_secret = some_secret
; scopes = user:email
; auth_url = https://github.com/login/oauth/authorize
; token_url = https://github.com/login/oauth/access_token
; api_url = https://api.github.com/user
; team_ids =
; allowed_organizations =

#################################### Google Auth ##########################
[auth.google]
enabled = false
allow_sign_up = false
client_id = some_client_id
client_secret = some_client_secret
scopes = https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email
auth_url = https://accounts.google.com/o/oauth2/auth
token_url = https://accounts.google.com/o/oauth2/token
api_url = https://www.googleapis.com/oauth2/v1/userinfo
allowed_domains =
; enabled = false
; allow_sign_up = false
; client_id = some_client_id
; client_secret = some_client_secret
; scopes = https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email
; auth_url = https://accounts.google.com/o/oauth2/auth
; token_url = https://accounts.google.com/o/oauth2/token
; api_url = https://www.googleapis.com/oauth2/v1/userinfo
; allowed_domains =

#################################### Basic Auth ##########################
[auth.basic]
enabled = true
; enabled = true

#################################### Auth Proxy ##########################
[auth.proxy]
enabled = false
header_name = X-WEBAUTH-USER
header_property = username
auto_sign_up = true
; enabled = false
; header_name = X-WEBAUTH-USER
; header_property = username
; auto_sign_up = true

#################################### Auth LDAP ##########################
[auth.ldap]
enabled = false
config_file = /grafana/conf/ldap.toml
; enabled = false
; config_file = /grafana/conf/ldap.toml

#################################### SMTP / Emailing ##########################
[smtp]
Expand Down Expand Up @@ -308,8 +308,8 @@ exchange = grafana_events

#################################### Dashboard JSON files ##########################
[dashboards.json]
enabled = false
path = /grafana/dashboards
; enabled = false
; path = /grafana/dashboards

#################################### Usage Quotas ##########################
[quota]
Expand Down

0 comments on commit 8d6ed20

Please sign in to comment.