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

new: add support for using environment variables in configuration #12

Closed
wants to merge 2 commits into from

Conversation

cryptaliagy
Copy link
Owner

@cryptaliagy cryptaliagy commented Jul 29, 2023

This PR adds support for pulling environment variables prefixed with PIXY_ into the configuration file pixy.yaml. This allows for referencing runtime-available information from the environment in the config file, which is also useful for sensitive information such as passwords/API tokens/etc.

Closes #11

@cryptaliagy
Copy link
Owner Author

hmm, on some further thoughts this will make it harder to implement mqtt templating for publishing to different topics. Closing this for now, going to revisit this later

auto-merge was automatically disabled July 31, 2023 14:26

Pull request was closed

@cryptaliagy cryptaliagy deleted the natalia/templateConfig branch August 1, 2023 15:21
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.

Add environment variable support to pixy.yaml files
1 participant