Deploy Home-Dashboard via Docker

Our deployment via docker works so far. The only thing I haven’t been able to figure out

How can I set an imported dashboard as default?

To our environment:
We deploy Grafana with the following option:

value: “true”

All anonymous users should immediately see the dashboard imported via /etc/grafana/provisioning when the server URL is called.

So far, the home dashboard is loaded by default.
I can adjust this as admin, but I want to have it set accordingly during deployment.

1 Like

Hey Just wondering if you were able to set the home dashboard using the provisioning?

  1. Find proper ID of your imported dashboard after they imported to grafana
  2. Past to API proper ID like:

curl --user “admin:password” -d ‘{“homeDashboardId”:1}’ -H “Content-Type: application/json” -X PUT “http://localhost:3000/api/org/preferences

Not sure that i’m able post here link to external resources, but here is one which i made for same problem.