This repository has been archived by the owner on Mar 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.json
59 lines (59 loc) · 1.77 KB
/
plugin.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"name" : "grafana",
"version" : "8.5.4",
"description" : "Plugin for running Grafana inside Thinger.io",
"author" : "Alvaro Luis Bustamante",
"license" : "MIT",
"repository" : {
"type" : "git",
"url" : "https://github.com/thinger-io/grafana-plugin.git"
},
"metadata" : {
"name" : "Grafana",
"description" : "Grafana integration for Thinger.io",
"image" : "https://s3.eu-west-1.amazonaws.com/thinger.io.files/plugins/grafana/img/grafana-logo.png",
"icon" : "https://s3.eu-west-1.amazonaws.com/thinger.io.files/plugins/grafana/img/grafana-icon.png"
},
"tokens" : {
},
"task" : {
"env" : {
"GF_SERVER_DOMAIN" : "${THINGER_HOST}",
"GF_SERVER_ROOT_URL": "https://${THINGER_HOST}/users/${THINGER_USER}/plugins/${THINGER_PLUGIN}/",
"GF_SERVER_SERVE_FROM_SUB_PATH" : "true",
"GF_SERVER_ENABLE_GZIP" : "true",
"GF_SECURITY_ADMIN_USER" : "${THINGER_USER}",
"GF_SECURITY_COOKIE_SECURE" : "true",
"GF_SECURITY_COOKIE_SAMESITE" : "strict",
"GF_ANALYTICS_REPORTING_ENABLED" : "false",
"GF_SECURITY_ALLOW_EMBEDDING" : "true",
"GF_LOG_MODE" : "console",
"THINGER_INFLUXDB_TOKEN": "{{THINGER_INFLUXDB_TOKEN}}"
},
"type" : "docker",
"image" : "grafana/grafana:8.5.4",
"volumes" : [
{
"source": "data",
"target": "/var/lib/grafana",
"description": "Mount point for user data configuration"
},
{
"source": "datasources",
"target": "/etc/grafana/provisioning/datasources/",
"description": "Mount point for preconfigured datasources"
}
],
"copy": {
"datasources": "datasources"
}
},
"interface" : {
"main" : {
"proxy_to" : {
"plugin" : "grafana",
"port" : 3000
}
}
}
}