grafana: Use config file instead of env vars

mike/bad-segment-hack
Mike Lang 1 year ago committed by Mike Lang
parent 5f42b8419e
commit 1e6b8e576e

@ -18,9 +18,6 @@ services:
restart: "on-failure" restart: "on-failure"
volumes: volumes:
- "/storage/wubloader-metrics/grafana:/var/lib/grafana" - "/storage/wubloader-metrics/grafana:/var/lib/grafana"
- "./grafana:/etc/grafana"
ports: ports:
- "1338:3000" - "1338:3000"
environment:
GF_AUTH_ANONYMOUS_ENABLED: "true"
GF_AUTH_ANONYMOUS_ORG_NAME: "Main Org."
GF_AUTH_ANONYMOUS_ORG_ROLE: "Viewer"

@ -0,0 +1,4 @@
[auth.anonymous]
enabled = true
org_name = Main Org.
org_role = Viewer
Loading…
Cancel
Save