mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +03:00
Switch to prebuilt web assets. Alpine doesn't support crosscompiling packages and grafana doesn't support building on anything, but linux/amd64. Node build failures give me nightmares with every update. JS code is executed in browser (there's no runtime dep on node), it doesn't matter where it was built.
16 lines
540 B
Text
16 lines
540 B
Text
GRAFANA_HOME=/var/lib/grafana
|
|
GRAFANA_OPTS="-config /etc/grafana.ini -homepath /usr/share/grafana
|
|
cfg:paths.data=$GRAFANA_HOME/data
|
|
cfg:paths.plugins=$GRAFANA_HOME/plugins
|
|
cfg:paths.provisioning=$GRAFANA_HOME/provisioning
|
|
cfg:server.http_addr=127.0.0.1
|
|
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/
|