blob: 2ee123b09f2ba7de27361013af7116037b5e293b [file] [log] [blame]
Filip Pytloun7d6144a2017-04-13 13:36:45 +02001parameters:
Simon Pasquierf75425d2017-05-05 17:30:14 +02002 _param:
Simon Pasquierfe983e42017-05-09 15:52:29 +02003 docker_grafana_replicas: 1
Simon Pasquierf75425d2017-05-05 17:30:14 +02004 grafana_database_type: sqlite3
5 grafana_database_host: localhost
6 grafana_database_port: 3306
7 grafana_database_password: password
Filip Pytloun7d6144a2017-04-13 13:36:45 +02008 docker:
9 client:
10 stack:
11 dashboard:
12 service:
13 grafana:
14 deploy:
Simon Pasquierfe983e42017-05-09 15:52:29 +020015 replicas: ${_param:docker_grafana_replicas}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020016 restart_policy:
17 condition: any
18 image: ${_param:docker_image_grafana}
19 ports:
20 - 15013:3000
21 environment:
Simon Pasquierf75425d2017-05-05 17:30:14 +020022 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 Pytloun7d6144a2017-04-13 13:36:45 +020027 GF_SECURITY_ADMIN_PASSWORD: ${_param:grafana_admin_password}