-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Introduce OWNCLOUD_CONFIG_DIR environment variable #27874
Conversation
This allosw to change the config location.
Looks fine. @DeepDiver1975 @butonic thoughts ? |
Will need clear documentation because the config dir needs to be writable by the web server process, wherever it is. So all parent folders leading to it needs to be traversable by the web server process too. I'd be tempted to say "not officially supported, use at your own risk" |
I think this will be mostly used in special cases. For example NixOS uses it as the main code directory is read-only. |
ping |
Please raise a ticket in documentation repo: https://github.com/owncloud/documentation/ |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
The environment variable
OWNCLOUD_CONFIG_DIR
allows to move the config out of the source tree. This is usefull to make the rest read-only.Motivation and Context
Allow to have the source directory read-only.
Nextcloud has a similar variable called
NEXTCLOUD_CONFIG_DIR
so there it is already working.How Has This Been Tested?
Running an Owncloud server 9.1.5 with a read only source directory.
Checklist: