Skip to content
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

[feature request] Allow overriding of configuration parameters using environment variables #3246

Closed
mnuessler opened this issue Jul 6, 2015 · 1 comment

Comments

@mnuessler
Copy link
Contributor

I would like to suggest the following feature or rather ask for your opinion about it.

When running InfluxDB in a docker container and I need to modify the configuration, I have basically two options:

  1. I can include the config file in the docker image and rebuild the image with the updated config or
  2. I can mount the config from the host file system and edit it there.

If it was possible to override configuration parameters through environment variables, then it would be much easier: Just set the environment variable and restart the container. This is also the approach implemented by Grafana (see the Grafana documentation).

What do you think of this approach?

@beckettsean beckettsean changed the title Allow overriding of configuration parameters using environment variables [feature request] Allow overriding of configuration parameters using environment variables Jul 8, 2015
@beckettsean beckettsean added this to the 0.9.4 milestone Jul 15, 2015
@jwilder jwilder closed this as completed in 6f9c18f Aug 9, 2015
@mnuessler
Copy link
Contributor Author

Thanks for implementing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants