Support _FILE based configuration values#264
Support _FILE based configuration values#264m90 merged 16 commits intooffen:mainfrom MaxJa4:envconfig
Conversation
|
@m90 used mostly your code from #253 for the lookup function and pointed the I also experimented with the Edit: The |
|
This looks like a great addition, thanks.
Ok, just let me know when you're done waiting. Or not.
Good idea, I'll add these to #261 |
|
Created the PR to the source repo: kelseyhightower/envconfig#210 |
|
Done from my side :) |
Closes #253
Changes
All environment variables can now be used with the
_FILEconvention.This means, that e.g.
WEBDAV_PASSWORDcan also be supplied via docker secrets by usingWEBDAV_PASSWORD_FILEinstead.Note: All value (non-file) variants are preferred over their _FILE variant.
Todo