Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 1 | classes: |
| 2 | - service.grafana.server.single |
| 3 | parameters: |
| 4 | _param: |
| 5 | grafana_port: 3000 |
| 6 | grafana_user: admin |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 7 | grafana: |
| 8 | server: |
| 9 | enabled: true |
| 10 | bind: |
| 11 | address: ${_param:single_address} |
| 12 | port: ${_param:grafana_port} |
| 13 | database: |
| 14 | engine: mysql |
| 15 | host: ${_param:openstack_database_address} |
| 16 | port: 3306 |
| 17 | name: grafana |
sgarbuz | 5f58dd7 | 2019-05-20 14:10:11 +0300 | [diff] [blame^] | 18 | user: ${_param:mysql_grafana_username} |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 19 | password: ${_param:mysql_grafana_password} |
| 20 | auth: |
Éric Lemoine | 1035090 | 2016-12-14 15:16:42 +0000 | [diff] [blame] | 21 | basic: |
| 22 | enabled: true |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 23 | admin: |
| 24 | user: ${_param:grafana_user} |
| 25 | password: ${_param:grafana_password} |
| 26 | dashboards: |
| 27 | enabled: false |
| 28 | path: /var/lib/grafana/dashboards |