diff --git a/monitoring/docker-compose.yml b/monitoring/docker-compose.yml index 2940dfa..25b3a29 100644 --- a/monitoring/docker-compose.yml +++ b/monitoring/docker-compose.yml @@ -18,9 +18,6 @@ services: restart: "on-failure" volumes: - "/storage/wubloader-metrics/grafana:/var/lib/grafana" + - "./grafana:/etc/grafana" ports: - "1338:3000" - environment: - GF_AUTH_ANONYMOUS_ENABLED: "true" - GF_AUTH_ANONYMOUS_ORG_NAME: "Main Org." - GF_AUTH_ANONYMOUS_ORG_ROLE: "Viewer" diff --git a/monitoring/grafana/grafana.ini b/monitoring/grafana/grafana.ini new file mode 100644 index 0000000..159fb58 --- /dev/null +++ b/monitoring/grafana/grafana.ini @@ -0,0 +1,4 @@ +[auth.anonymous] +enabled = true +org_name = Main Org. +org_role = Viewer