-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
[feature request] read environment variables when loading app.ini #10123
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
Comments
I can't find the reference, but I believe another |
ini support was added to viper so we could switch to it and potentially use alternative formats (yaml), but also utilize env variables as well. |
In the meantime there is contrib/environment-to-ini |
Thanks for the input! If I get time I'll take a look at viper. |
Maybe #19857 will solve this issue as well |
I can take a stab at a PR if one could give me some pointers on where to start looking at.
This PR would allow checking in app.ini to version control and use it in setting up a dockerized gitea instance. Right now app.ini can't be stored in version control due to saving passwords in plaintext.
The text was updated successfully, but these errors were encountered: