Merge pull request #399 from rockaut/master

Implement Plugin inclusion
This commit is contained in:
Raúl Sánchez 2017-12-14 18:15:57 +01:00 committed by GitHub
commit 561a84f0e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 106 additions and 5 deletions

View File

@ -1,8 +1,9 @@
grafana:
image: grafana/grafana:latest
image: grafana/grafana:4.1.1
ports:
- ${http_port}:3000
environment:
GF_SECURITY_ADMIN_USER: ${admin_username}
GF_SECURITY_ADMIN_PASSWORD: ${admin_password}
GF_SECURITY_SECRET_KEY: ${secret_key}
GF_INSTALL_PLUGINS: ${install_plugins}

View File

@ -1,6 +1,6 @@
.catalog:
name: "Grafana"
version: "3.0.2-rancher1"
version: "4.1.1-rancher0"
description: |
(Experimental) Grafana: Beautiful metric & analytic dashboards
questions:
@ -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:

View File

@ -0,0 +1,9 @@
grafana:
image: grafana/grafana:4.1.2
ports:
- ${http_port}:3000
environment:
GF_SECURITY_ADMIN_USER: ${admin_username}
GF_SECURITY_ADMIN_PASSWORD: ${admin_password}
GF_SECURITY_SECRET_KEY: ${secret_key}
GF_INSTALL_PLUGINS: ${install_plugins}

View File

@ -0,0 +1,38 @@
.catalog:
name: "Grafana"
version: "4.1.2-rancher1"
description: |
(Experimental) Grafana: Beautiful metric & analytic dashboards
questions:
- variable: http_port
description: "http port to access Grafana"
label: "Http Port"
required: true
default: "3000"
type: "int"
- variable: admin_username
description: "Grafana admin username"
label: "Admin Username"
required: true
default: "admin"
type: "string"
- variable: admin_password
description: "Grafana admin password"
label: "Admin Password"
required: true
default: "password"
type: "string"
- variable: secret_key
description: "Signing secret key"
label: "Secret Key"
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:

View File

@ -0,0 +1,9 @@
grafana:
image: grafana/grafana:4.2.0
ports:
- ${http_port}:3000
environment:
GF_SECURITY_ADMIN_USER: ${admin_username}
GF_SECURITY_ADMIN_PASSWORD: ${admin_password}
GF_SECURITY_SECRET_KEY: ${secret_key}
GF_INSTALL_PLUGINS: ${install_plugins}

View File

@ -0,0 +1,38 @@
.catalog:
name: "Grafana"
version: "4.2.0-rancher2"
description: |
(Experimental) Grafana: Beautiful metric & analytic dashboards
questions:
- variable: http_port
description: "http port to access Grafana"
label: "Http Port"
required: true
default: "3000"
type: "int"
- variable: admin_username
description: "Grafana admin username"
label: "Admin Username"
required: true
default: "admin"
type: "string"
- variable: admin_password
description: "Grafana admin password"
label: "Admin Password"
required: true
default: "password"
type: "string"
- variable: secret_key
description: "Signing secret key"
label: "Secret Key"
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:

View File

@ -1,4 +1,4 @@
name: "Grafana"
description: "Visualization dashboard"
version: "3.0.2-rancher1"
version: "4.2.0-rancher2"
category: Monitoring