mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-12 19:24:03 -05:00
[GH-ISSUE #488] Support Environment Variable Overrides for Config File Settings #3418
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @veerendra2 on GitHub (Apr 8, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/488
Allow environment variables to override values defined in the configuration file. This enables more flexible deployment and easier integration with CI/CD pipelines or containerized environments.
Background
Use Case
and in my docker compose file
When I try like this, I get error
It is looking for
userssection in config file@oschwartz10612 commented on GitHub (Apr 8, 2025):
Ahh yeah it still wants to see the users section but overrides it. You could add the users section back to the config file and it should still pull it from the env.
We will look at making it so you do not need to have the users section at all.
@miloschwartz commented on GitHub (Apr 11, 2025):
Yeah to Owen's point you can just put gibberish in the config for the password and it will be overridden. I think we could support more overrides in the future. If you need/want specific overrides, please open a separate feature request in the discussions section. I am going to close this issue for now.