grafana.ini.j2 893 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# [server]
# root_url = %(protocol)s://%(domain)s:%(http_port)s/api/grafana/proxy

[users]
default_theme = light

#################################### Anonymous Auth ##########################
[auth.anonymous]
# enable anonymous access
enabled = true

# specify organization name that should be used for unauthenticated users
org_name = Main Org.

# specify role for unauthenticated users
org_role = Viewer

[server]
cert_file = /etc/grafana/ceph-dashboard.crt
cert_key = /etc/grafana/ceph-dashboard.key
Alex Schultz's avatar
Alex Schultz committed
21
domain = {{ ansible_facts['fqdn'] }}
22
protocol = {{ dashboard_protocol }}
23
http_port = {{ grafana_port }}
24
http_addr = {{ grafana_server_addr }}
25
26
27
28

[security]
admin_user = {{ grafana_admin_user }}
admin_password = {{ grafana_admin_password }}
29
allow_embedding = {{ grafana_allow_embedding }}
30
31
32
33
34
35
{% if dashboard_protocol == 'https' %}
cookie_secure = true

[session]
cookie_secure = true
{% endif %}