From c8110c9b190d35dd746751fad0853ea710b2f5da Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Tue, 12 Mar 2024 15:47:45 +0100 Subject: [PATCH] Add anonymous access to grafana --- README.md | 1 + docker-compose.yml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 0c04f79..6adc76e 100644 --- a/README.md +++ b/README.md @@ -1 +1,2 @@ ## MA + diff --git a/docker-compose.yml b/docker-compose.yml index 9d6a880..59b9cb0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -30,6 +30,9 @@ services: environment: - GF_SECURITY_ADMIN_USER=admin - GF_SECURITY_ADMIN_PASSWORD=grafana + - GF_AUTH_ANONYMOUS_ENABLED=true + - GF_AUTH_ANONYMOUS_ORG_NAME=Main Org. + - GF_AUTH_ANONYMOUS_ORG_ROLE=Viewer volumes: - ./grafana/datasource.yml:/etc/grafana/provisioning/datasources/datasource.yml - ./grafana/dashboard/dashboard.json:/var/lib/grafana/dashboards/dashboard.json