Copied from rancher community catalog as starting point
This commit is contained in:
9
templates/Grafana/0/docker-compose.yml
Normal file
9
templates/Grafana/0/docker-compose.yml
Normal 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}
|
||||
41
templates/Grafana/0/rancher-compose.yml
Normal file
41
templates/Grafana/0/rancher-compose.yml
Normal 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:
|
||||
Reference in New Issue
Block a user