I’ve installed the addon and cannot work out how to pass environment variables. I’m using the main org. for trying/testing with password but would like to expose an open org for charting in Home assistant. On grafana docker documentation it says that it should be possible to do this using environment variables but not sure if that is supported in this addon?
Before I had this installed on the pi3 separately next to Hassbian and it was easy enough to modify grafana.ini to allow anonymous viewer access to org. “open”.
I’ve updated the file in the container, I’ve tried begging the options section but to no avail.
A big thank you for providing these - installing them is about as painless as it can get!
That would be great! I’ve learned a bit by “stealing” from your python_exec into a local addon but it seems awkward to create a new addon just for an additional hardcoded parameter. As I’m not more advanced than a script kiddie this would be very much appreciated.
I have pushed a new version which should allow to use environment variables to configure grafana. It is the same mechanism as the influxdb addon. Can you test it and tell me if it’s working ?
and the log has the following - I see it picking up /data but not my variable - this is on a fresh install of Grafana (don’t have enough in there yet so threw it away and started again):
Thanks! That works fine now - I could even add the parameter to set Org_name Open to be the one available for anonymous access even though it does not exist when the container is created.
Note: the parameter settings higher up in the thread are wrong, here below is correct, dots need to be replaced with underscores.