-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Autoconfig environment _FILE
variables
#2062
Comments
It is documented, in the very last paragraph in the Docker Secrets section after the example compose file. It's easy to miss though. As for mixing, I see a PR (#1996) someone proposed for that. It needs testing, review, and feedback. Feel free to jump in on it and share your thoughts if you're interested in it getting farther along. |
I struggled with this for about 1h as well. Functionally the linked PR looks alright, but code wise it is much harder to read. Would be great if a maintainer could give their feedback on the PR. |
It could be made clearer. I've also spent quite a bit of time wondering why it's using sqlite. From reading the docs over and over, and the bit after the example docker-compose file, it's not clear to me that all the |
@nsrosenqvist You're welcome to provide feedback on that PR as well. Why don't you do a review of it and/or at least post your comment there? After all... this is a community project. :-) @coaxial 👍 Feel free to suggest some edits that you think might make it clearer - ideally in a PR. |
I can't find any reference to a PR on that topic in this issue. @joshtrichards could you share a link to the PR you're referring to? |
Additionally, since the autoconfig process is run by I came into the mixed |
I just spent 1 hour googling and experimenting with my docker setup because nextcloud container would always use sqlite database no matter what I did.
Finally decided to look into the code and found
docker/.config/autoconfig.php
Lines 23 to 37 in f9ae675
I think it's confusing to say that
_FILE
suffix is supported but not mentioning that if you want to use ONE variable from file (iePOSTGRES_PASSWORD
), you have to use ALL variables from file...Rather than documenting this behavior, I think it'd be more interesting to fix it and allow each variable independently such as
The text was updated successfully, but these errors were encountered: