I am running Grafana v12.4.2 installed in docker like this
grafana:
image: grafana/grafana
container_name: grafana
hostname: grafana
restart: unless-stopped
user: “${USER}”
environment:
TZ: ${TZ}
GF_DATABASE_TYPE: mysql
GF_DATABASE_NAME: grafana
GF_DATABASE_HOST: mariadb:3306
GF_AUTH_ANONYMOUS_ENABLED: true
GF_DATABASE_USER: ${GF_DATABASE_USER}
GF_DATABASE_PASSWORD: ${GF_DATABASE_PASSWORD}
ports:
- 3000:3000
depends_on:
mariadb:
condition: service_healthy
I used to be able to access the dashboards anonymously, but now I can’t access them unless I log in to Grafana. This is the error I get when I try to access the dashboards without logging in.
I suspect I messed something up with the authentication, I’m not sure. Any assistance is appreciated.



