-
-
Notifications
You must be signed in to change notification settings - Fork 137
Automated install script and maintenance #523
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for opening this pull request! Be sure to follow the pull request template!
2f05bd8 to
e950f35
Compare
|
I found an issue with the current script: it does not create the |
|
I am a bot, here are the test results for this PR:
|
|
This pull request has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
|
Not stale, needs review. |
|
I am a bot, here are the test results for this PR:
|
Description:
This implements an automated method to install nextcloud via env variables.
This implements some automated maintenance steps, which fixes annoying warnings in the admin panel and is more comfortable.
This implements a automated way to reset the admin's password via env variables.
This implements a loading mechanism for env variables from a file.
Disclaimer: I took some inspiration / code from the mariadb container.
Benefits of this PR and context:
Improved UX and automated deployment.
How Has This Been Tested?
This was tested with docker compose and mariadb. I tested multiple instances.
It doesn't affect other parts of the code, but the order of modifying files is altered to prevent issues.
Source / References:
https://github.com/linuxserver/docker-mariadb/blob/912096e6bcc4b8a0b0ec6b20f347a4e93dad7d1e/root/etc/s6-overlay/s6-rc.d/init-mariadb-initdb/run#L23
https://github.com/linuxserver/docker-mariadb/blob/912096e6bcc4b8a0b0ec6b20f347a4e93dad7d1e/readme-vars.yml#L43