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

[server] Add a configuration service #22

Open
spoenemann opened this issue Jul 4, 2024 · 0 comments
Open

[server] Add a configuration service #22

spoenemann opened this issue Jul 4, 2024 · 0 comments

Comments

@spoenemann
Copy link
Contributor

We currently fetch a lot of configuration values from env variables. It would be very convenient to add a second way to provide server configuration: put a json config file into the running container. Then we can point to that file through a command line option when starting the server.

We should also extract all references to config values into a service where we use keys in kebab-case. If a config file is given, the keys should be looked up in the json object by converting the key into a hierarchical lookup. As fallback, the keys should be looked up in the env variables by converting them to SCREAMING_SNAKE_CASE.

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

1 participant