aports/openrc/grafana/conffile

13 lines
569 B
Plaintext

GRAFANA_HOME=/var/lib/grafana
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"
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/