blob: 7b0eac5d0bff066ac89615f012a7ad8f849b6e78 [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
Filip Pytloun7d6144a2017-04-13 13:36:45 +02009 docker:
10 client:
11 stack:
12 dashboard:
13 service:
14 grafana:
15 deploy:
Simon Pasquierfe983e42017-05-09 15:52:29 +020016 replicas: ${_param:docker_grafana_replicas}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020017 restart_policy:
18 condition: any
19 image: ${_param:docker_image_grafana}
20 ports:
21 - 15013:3000
22 environment:
Simon Pasquierf75425d2017-05-05 17:30:14 +020023 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 Pytloun7d6144a2017-04-13 13:36:45 +020028 GF_SECURITY_ADMIN_PASSWORD: ${_param:grafana_admin_password}