Copied from rancher community catalog as starting point

This commit is contained in:
WilliamMiceli
2018-06-28 06:18:43 -04:00
parent cc80644bd4
commit 5b1243c281
30 changed files with 1785 additions and 0 deletions

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,41 @@
.catalog:
name: "Grafana"
version: "4.2.0-rancher2"
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: