afdd11b9a2
Useful api_interface_address variable has been define here: https://github.com/openstack/kolla-ansible/blob/master/ansible/group_vars/all.yml#L57 In order to simplify codebase we must use it as much as possible. Change-Id: I18fec19bf69e05a22a4142a9cd1165eccd022455
40 lines
855 B
Django/Jinja
40 lines
855 B
Django/Jinja
[paths]
|
|
data = /var/lib/grafana
|
|
logs = /var/log/kolla/grafana
|
|
plugins = /var/lib/grafana/plugins
|
|
|
|
[server]
|
|
protocol = http
|
|
http_addr = {{ api_interface_address }}
|
|
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
|
|
|
|
[session]
|
|
provider = mysql
|
|
provider_config = {{ grafana_database_user }}:{{ grafana_database_password }}@tcp({{ grafana_database_address }})/{{ grafana_database_name }}
|
|
|
|
cookie_name = grafana_sess
|
|
cookie_secure = false
|
|
session_life_time = 86400
|
|
|
|
[analytics]
|
|
reporting_enabled = false
|
|
check_for_updates = false
|
|
|
|
[security]
|
|
admin_user = admin
|
|
admin_password = {{ grafana_admin_password }}
|