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

Environment variables should override .conf values #145

Closed
aeons opened this issue Nov 21, 2017 · 2 comments
Closed

Environment variables should override .conf values #145

aeons opened this issue Nov 21, 2017 · 2 comments

Comments

@aeons
Copy link

aeons commented Nov 21, 2017

I would prefer environment variables to override values that are set in .conf files.

This means that you can deploy the app with a set of sane defaults, and then easily change the configuration at runtime by setting environment variables.

We deploy stuff using containers, so editing files to eg. increase the log verbosity is not ideal.

Of course you could just use environment variables for everything, but that also gets extremely verbose.

What do you think?

@lachezar
Copy link
Contributor

You could set defaults in the schema file, which will be overridden by env vars if defined.

@aeons
Copy link
Author

aeons commented Dec 21, 2017

Yeah, that is one solution, it still isn't optimal IMO.

@aeons aeons closed this as completed Jan 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants