This addon provide grafana for the armhf architecture (rpi 2 - 3) and amd64. The docker image used is build by f2git for armhf and the official image for amd64. The greatest common version is used. Environment variables are used to configure persistance volume to /data
instead of /var/lib/grafana
.
I have tried to build a grafana addon based on alpine, but failed for lack of phantomjs support.
This variable can be used to set environment variables before launching grafana, and thus setting configuration variable. The list of variables is here.
For exemple, to change the instance name:
{
"env_var": [
{
"name": "GF_DEFAULT_INSTANCE_NAME",
"value": "my-instance"
}
]
}
To install plugins, you can use the GF_INSTALL_PLUGINS
variable
{
"env_var": [
{
"name": "GF_INSTALL_PLUGINS",
"value": "plugin1,plugin2"
}
]
}