2020-11-20 16:31:49 +00:00
|
|
|
GRAFANA_HOME=/var/lib/grafana
|
2020-12-07 15:46:31 +00:00
|
|
|
GRAFANA_CONFIG=/etc/grafana/main.ini
|
|
|
|
GRAFANA_OPTS="-config $GRAFANA_CONFIG -homepath /usr/share/grafana cfg:default.paths.data=$GRAFANA_HOME/data cfg:default.paths.plugins=$GRAFANA_HOME/plugins cfg:default.paths.provisioning=$GRAFANA_HOME/provisioning cfg:log.mode=syslog"
|
2020-11-20 16:31:49 +00:00
|
|
|
rc_need=logger
|
|
|
|
|
|
|
|
# To enable image rendering run
|
|
|
|
# $ apk add grafana-image-renderer
|
|
|
|
# $ /etc/init.d/grafana-image-renderer start
|
|
|
|
# and configure /etc/grafana.ini to use it
|
|
|
|
#[rendering]
|
|
|
|
#server_url = http://127.0.0.1:3001/render
|
|
|
|
#callback_url = http://127.0.0.1:3000/
|