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

feat: substitute environment variables in config file #305

Merged
merged 3 commits into from
Sep 23, 2024

Conversation

bonddim
Copy link
Contributor

@bonddim bonddim commented Sep 21, 2024

Simplest implementation for "dynamic" config is to substitute environment variables.

More complex interpolation could be achieved with vals, but it brings a lot of dependencies...

Resolves #182

@bonddim bonddim changed the title feat: use envsubst to substitute env variables in config file feat: substitute environment variables in config file Sep 22, 2024
Copy link
Owner

@h44z h44z left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@h44z h44z merged commit 2c01f42 into h44z:master Sep 23, 2024
1 check passed
@bonddim bonddim deleted the feat-envsubst branch September 23, 2024 19:59
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

Successfully merging this pull request may close these issues.

Configuration via environment variables or multiple files
2 participants