New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow for environment variables to be specified inside the Grafana container. #5
Comments
👋 Thanks for opening your first issue here! If you're reporting a 🐛 bug, please make sure you include steps to reproduce it. Also, logs, error messages and information about your hardware might be usefull. |
I understand you'd like these features. Please note that this add-on is not a fork of the official Grafana docker images, so those env variables will not work. Secondly, I'm not going to do this with env variables... ever. Hass.io provides a proper configuration mechanism, which in my opinion should be used (and not introduce a second one). I will look into the possibilities to make these options available via the add-on configuration. Thank you so much for the extensive ticket and pretty awesome feature request (including a proper use case) 👍 |
Hi Frenck, Thanks for the response. I understand Hassio.io has an excellent configuration mechanism. What I meant was to utilise the default Grafana feature to manipulate configuration using the the I've tried using the It to me that seems that if I'm able to save settings in the I would be more then happy to share a small NGINX config snippet which arranges Thanks again, Erik |
This Hass.io environment setting you are referring to is statically configured in the add-on and cannot be modified or set by the user. |
First of all , thanks a lot Frenck for the awesome add on . If environment settings are static , how can I do that ? Best Regards, |
This feature has been implemented and will be part of the next release. |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Problem/Motivation
I'm unable to overrule some configuration settings of Grafana.
At the moment i'm using the
Grafana
addon from the https://github.com/bestlibre/hassio-addons repository. This addon allows for custom configuration settings to be specified using theenv_var
keyword. I use this to configure proxy authentication. I authenticate on a reverse proxy which then sets a header so that Grafana skips the password request.Unfortunately the addon in the
bestlibre
repo is an old version of Grafana, therefore i would like to use this addon.Expected behavior
Allowing customer configuration settings to be specified from the
hassio
addon detail page.Actual behavior
When i specify the
env_var
key it's removed automatically and environment variables are not available in the container.Steps to reproduce
env_var
key in the config dict:Proposed changes
It would be awesome if the
env_var
key could be parsed and the environment variables would be made available inside thegrafana
container.Thanks for all your work!
The text was updated successfully, but these errors were encountered: