blob: 910d453afc6feb6a2e4c0c34570757ff17df6f5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
; vi: ft=dosini
[server]
# Protocol (http, https, h2, socket)
protocol = https
http_port = {{ grafana.port }}
cert_file = {{ grafana.certificate }}
cert_key = {{ grafana.key }}
[database]
type = mysql
host = {{ grafana.db.host }}
name = {{ grafana.db.name }}
user = {{ grafana.db.user }}
password = """{{ grafana.db.password }}"""
ssl_mode = {{ grafana.db.ssl }}
{% if grafana.db.ssl %}
ca_cert_path = {{ grafana.db.ca }}
server_cert_name = {{ grafana.db.host }}
{% endif %}
[security]
# disable creation of admin user on first start of grafana
disable_initial_admin_creation = true
[users]
allow_sign_up = false
allow_org_create = false
[auth.ldap]
enabled = {{ grafana.ldap.enabled }}
{% if grafana.ldap.enabled %}
config_file = /etc/grafana/ldap.toml
allow_sign_up = true
{% endif %}
#################################### SMTP / Emailing ##########################
[smtp]
;enabled = false
;host = localhost:25
;user =
# If the password contains # or ; you have to wrap it with triple quotes. Ex """#password;"""
;password =
;cert_file =
;key_file =
;skip_verify = false
;from_address = admin@grafana.localhost
;from_name = Grafana
# EHLO identity in SMTP dialog (defaults to instance_name)
;ehlo_identity = dashboard.example.com
# SMTP startTLS policy (defaults to 'OpportunisticStartTLS')
;startTLS_policy = NoStartTLS
[emails]
;welcome_email_on_sign_up = false
;templates_pattern = emails/*.html
|