-
Notifications
You must be signed in to change notification settings - Fork 21
Support overriding the config.yaml with environment variables at runtime (e.g. in Docker) #57
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
Support overriding the config.yaml with environment variables at runtime (e.g. in Docker) #57
Conversation
…tomatic YAML pathfinding
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot wasn't able to review any files in this pull request.
Files not reviewed (3)
- Dockerfile: Language not supported
- config.yaml.example: Language not supported
- process_config.sh: Language not supported
Running the script like so:
Yields:
|
Will be reviewing this soon. I apologize for the delay. |
@dbsanfte This looks good. A couple of thoughts:
Let me know if you are able to test in both Windows and Linux and if not, I will provision a system and do it on whichever OS you cant. I'm open to your suggestions on my previous thoughts. The new If we confirm it works in both Linux and Windows then i'm fine proceeding with the changes as-is. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested in Linux environment and validated it works as intended.
Added support for environment-variable-driven configuration, introducing a script to dynamically process the configuration file at runtime.
Updated the
Dockerfile
to install additional utilities (bash
,curl
,wget
, andyq
) needed by the scriptA more detailed
config.yaml.example
. This includes documentation for variable mapping, value types, and examples for easier customization.