blob: 62a3e14987fa2ed1d008cc43ae53772473609a6c [file] [log] [blame]
Simon Pasquier2c5a9692017-07-26 11:16:41 +02001classes:
2- service.grafana.support
Filip Pytloun7d6144a2017-04-13 13:36:45 +02003parameters:
Simon Pasquierf75425d2017-05-05 17:30:14 +02004 _param:
Martin Polreich67dff3b2017-06-13 14:06:22 +02005 docker_grafana_replicas: 1
Simon Pasquierf75425d2017-05-05 17:30:14 +02006 grafana_database_type: sqlite3
7 grafana_database_host: localhost
8 grafana_database_port: 3306
9 grafana_database_password: password
Filip Pytloun7d6144a2017-04-13 13:36:45 +020010 docker:
11 client:
12 stack:
13 dashboard:
14 service:
15 grafana:
16 deploy:
Simon Pasquierfe983e42017-05-09 15:52:29 +020017 replicas: ${_param:docker_grafana_replicas}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020018 restart_policy:
19 condition: any
20 image: ${_param:docker_image_grafana}
21 ports:
22 - 15013:3000
23 environment:
Simon Pasquierf75425d2017-05-05 17:30:14 +020024 GF_DATABASE_TYPE: ${_param:grafana_database_type}
25 GF_DATABASE_NAME: grafana
26 GF_DATABASE_USER: grafana
27 GF_DATABASE_PASSWORD: ${_param:grafana_database_password}
28 GF_DATABASE_HOST: "${_param:grafana_database_host}:${_param:grafana_database_port}"
Filip Pytloun7d6144a2017-04-13 13:36:45 +020029 GF_SECURITY_ADMIN_PASSWORD: ${_param:grafana_admin_password}