From 1df550395f991c90cba76d37f5a47aafc7f9734d Mon Sep 17 00:00:00 2001 From: Markus Date: Thu, 12 Jan 2017 13:01:10 +0100 Subject: [PATCH] Implement Plugin inclusion --- templates/grafana/0/docker-compose.yml | 1 + templates/grafana/0/rancher-compose.yml | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/templates/grafana/0/docker-compose.yml b/templates/grafana/0/docker-compose.yml index 895866b..58154db 100644 --- a/templates/grafana/0/docker-compose.yml +++ b/templates/grafana/0/docker-compose.yml @@ -6,3 +6,4 @@ grafana: GF_SECURITY_ADMIN_USER: ${admin_username} GF_SECURITY_ADMIN_PASSWORD: ${admin_password} GF_SECURITY_SECRET_KEY: ${secret_key} + GF_INSTALL_PLUGINS: ${install_plugins} diff --git a/templates/grafana/0/rancher-compose.yml b/templates/grafana/0/rancher-compose.yml index 648b5d3..68c9353 100644 --- a/templates/grafana/0/rancher-compose.yml +++ b/templates/grafana/0/rancher-compose.yml @@ -28,5 +28,11 @@ required: true default: "su2Tong2zoocie" type: "string" - + - variable: install_plugins + description: "Include/Install Grafana Plugins (comma-separated plugin-ids)" + label: "Install Plugins" + required: false + default: "grafana-clock-panel" + type: "string" + grafana: