Simon Pasquier | 2c5a969 | 2017-07-26 11:16:41 +0200 | [diff] [blame] | 1 | classes: |
| 2 | - service.grafana.support |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 3 | parameters: |
Simon Pasquier | f75425d | 2017-05-05 17:30:14 +0200 | [diff] [blame] | 4 | _param: |
Martin Polreich | 67dff3b | 2017-06-13 14:06:22 +0200 | [diff] [blame] | 5 | docker_grafana_replicas: 1 |
Simon Pasquier | f75425d | 2017-05-05 17:30:14 +0200 | [diff] [blame] | 6 | grafana_database_type: sqlite3 |
| 7 | grafana_database_host: localhost |
| 8 | grafana_database_port: 3306 |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 9 | docker: |
| 10 | client: |
| 11 | stack: |
| 12 | dashboard: |
| 13 | service: |
| 14 | grafana: |
| 15 | deploy: |
Simon Pasquier | fe983e4 | 2017-05-09 15:52:29 +0200 | [diff] [blame] | 16 | replicas: ${_param:docker_grafana_replicas} |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 17 | restart_policy: |
| 18 | condition: any |
| 19 | image: ${_param:docker_image_grafana} |
| 20 | ports: |
| 21 | - 15013:3000 |
| 22 | environment: |
Simon Pasquier | f75425d | 2017-05-05 17:30:14 +0200 | [diff] [blame] | 23 | GF_DATABASE_TYPE: ${_param:grafana_database_type} |
| 24 | GF_DATABASE_NAME: grafana |
| 25 | GF_DATABASE_USER: grafana |
| 26 | GF_DATABASE_PASSWORD: ${_param:grafana_database_password} |
| 27 | GF_DATABASE_HOST: "${_param:grafana_database_host}:${_param:grafana_database_port}" |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 28 | GF_SECURITY_ADMIN_PASSWORD: ${_param:grafana_admin_password} |