Changed from goconfig to its new counter part go-ini

This commit is contained in:
Torkel Ödegaard
2015-01-27 10:09:54 +01:00
parent 951ce0a102
commit 95305e7e11
6 changed files with 99 additions and 65 deletions

View File

@@ -1,5 +1,5 @@
app_name = Grafana
app_mode = development
app_mode = production
[server]
protocol = http
@@ -35,19 +35,22 @@ session_id_hashfunc = sha1
; Session hash key, default is use random string
session_id_hashkey =
[admin]
[security]
; default admin user, created on startup
user = admin
admin_user = admin
; default admin password, can be changed before first start of grafana, or in profile settings
password = admin
admin_password = admin
; used for sig
secret_key = !#@FDEWREWR&*(
; Auto-login remember days
login_remember_days = 7
cookie_username = grafana_user
cookie_remember_name = grafana_remember
[auth]
anonymous = false
anonymous_account_id =
[auth.grafana]
enabled = true
[auth.github]
enabled = false
client_id = some_id