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