blob: 763915796c64ac25e459b31e90a9fafee0dad05d (
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
|
[paths]
data = /var/lib/grafana
logs = /var/log/kolla/grafana
plugins = /var/lib/grafana/plugins
provisioning = /etc/grafana/provisioning
[server]
protocol = http
http_addr = {{ api_interface_address | put_address_in_context('url') }}
http_port = {{ grafana_server_port }}
router_logging = true
static_root_path = public
enable_gzip = false
[database]
type = mysql
host = {{ grafana_database_address }}
name = {{ grafana_database_name }}
user = {{ grafana_database_user }}
password = {{ grafana_database_password }}
ssl_mode = disable
[analytics]
reporting_enabled = false
check_for_updates = false
[security]
admin_user = {{ grafana_admin_username }}
admin_password = {{ grafana_admin_password }}
[plugins]
plugin_admin_enabled = false
public_key_retrieval_disabled = true
{% if grafana_ldap_enabled | bool %}
[auth.ldap]
enabled = true
config_file = /etc/grafana/ldap.toml
allow_sign_up = true
{% endif %}
|