teragrep / aer_01

Azure EventHub to syslog bridge
GNU Affero General Public License v3.0
0 stars 3 forks source link

support env variable based configuration #6

Closed kortemik closed 7 months ago

kortemik commented 10 months ago

currently supports only properties.

perhaps a common configuration way would be preferable.

StrongestNumber9 commented 7 months ago

Do we want to support both property and env variable based configuration or just env variables?

StrongestNumber9 commented 7 months ago

Made a PR #14 that tries to read CONFIG_VALUE environment variable first, then falls back to config.value property and finally uses the fallback if no matches