Add anonymous access to grafana

This commit is contained in:
Santiago Lo Coco 2024-03-12 15:47:45 +01:00
parent a29343671d
commit c8110c9b19
2 changed files with 4 additions and 0 deletions

View File

@ -1 +1,2 @@
## MA

View File

@ -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