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

Write a configuration library #25

Closed
Tracked by #7
msimerson opened this issue Feb 28, 2024 · 0 comments · Fixed by #1
Closed
Tracked by #7

Write a configuration library #25

msimerson opened this issue Feb 28, 2024 · 0 comments · Fixed by #1
Assignees
Milestone

Comments

@msimerson
Copy link
Contributor

msimerson commented Feb 28, 2024

that's easily edited by humans and has support for environment settings (production, development, test).

I considered ini but experience with haraka-config left me wanting something more expressive. I looked at TOML but the JS libraries lack maturity. I would consider TOML in the future.

I decided on YAML as the config file language. It's reasonably easy for humans to edit, it's very easy to parse, it works everywhere, and it has mature implementations.

I'm putting config files in ./conf.d organized by where they're used. Currently there's a config for the http and database services.

@msimerson msimerson mentioned this issue Feb 28, 2024
20 tasks
@msimerson msimerson changed the title Write a configuration library with support for environment settings (production, development, test) Write a configuration library Feb 28, 2024
@msimerson msimerson added this to the 3.0 milestone Feb 28, 2024
@msimerson msimerson self-assigned this Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant