Enable public dashboard for Grafana in Docker

Hi,

We are running Grafana inside a docker container. We’ve set some environment variables and they are working perfect. But the one variable i’m not able to get working is the public dashboard. We tried using the following variable to enable the public dashboards:

  1. GF_FEATURE_TOGGLES_PUBLICDASHBOARDS=enabled
  2. GF_AUTH_ANONYMOUS_ENABLED=true

Is there a way to make this work?

its GF_FEATURE_TOGGLES_PUBLICDASHBOARDS=true
not “enabled”

Hi @anto3 ,

From the announcement, I can see that It’s available from Grafana v9.1 as an alpha feature.

From the configuration section doc, I can see that it’s better to configure new settings via the custom config file and override already existing one’s via ENV variables.

Hence, can you add this to your config file and try it out :

[feature_toggles]
publicDashboards = true

Reference :

That was the solution. Thank you very much.

1 Like