Add env vars used by ocis to enable the data services

This commit is contained in:
Jörn Friedrich Dreyer
2020-01-22 11:29:07 +01:00
committed by GitHub
parent 363d550f0a
commit 3455e99688
+4 -2
View File
@@ -35,12 +35,14 @@ bin/ocis-reva auth-basic & \
bin/ocis-reva auth-bearer & \
bin/ocis-reva sharing & \
bin/ocis-reva storage-root & \
bin/ocis-reva storage-home & \
REVA_STORAGE_HOME_EXPOSE_DATA_SERVER=1 bin/ocis-reva storage-home & \
bin/ocis-reva storage-home-data & \
bin/ocis-reva storage-oc & \
REVA_STORAGE_OC_EXPOSE_DATA_SERVER=1 bin/ocis-reva storage-oc & \
bin/ocis-reva storage-oc-data
```
The two env vars are needed to tell the reva gateway to use the dedicated data services when uploading files.
The root storage serves the available namespaces from disk using the local storage driver. In order to be able to navigate into the `/home` and `/oc` storage providers you have to create these directories:
```
mkdir /var/tmp/reva/root/home