-
Notifications
You must be signed in to change notification settings - Fork 190
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
change default paths for oCIS services #1620
Comments
Willy Kloucek commented: started in #1048 |
Willy Kloucek commented: Needs a decsion how to do it:
-> set up meeting |
Klaas Freitag commented: Meeting has happened. Decisions as documented above. Traditional Linux packages are supposed to use the /var/lib/ocis path as well. For that, a way to configure that path at compile time should be available. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions. |
Current situation
oCIS extentions use
/var/tmp/ocis
as default storage root. Thetmp
section in the path suggests that this contains temporary data, which is not true for non-dev environments.The storage root also cannot be easily changed for oCIS in general because there are 10+ config options (at least each extension has one) you need to set.
Example for a current default storage location configuration option:
Wanted situation
There must be an option to change the storage root with one configuration option (env, file, cli) like already done with
OCIS_URL
. If a more specific configuration (likeSTORAGE_DRIVER_OCIS_ROOT
from the example above) is set, it will win over that global configuration option (just like forOCIS_URL
).The default for the new storage root location varies between the build artifact / packaging:
.ocis
in the home directory of the user running oCIS. This must also respect wether oCIS runs on Linux, MacOS or Windows./var/lib/ocis
The default path must be specified on compile time to enable packing dependant paths in the future.
User Stories
Acceptance Critiera
/var/lib/ocis
for our docker images/var/lib/ocis
when using our docker image without changing the default storage location~/.ocis
when using the binary release on linux without changing the default storage locationThe text was updated successfully, but these errors were encountered: