Skip to content

Commit

Permalink
Add env vars used by ocis to enable the data services
Browse files Browse the repository at this point in the history
  • Loading branch information
butonic authored Jan 22, 2020
1 parent 363d550 commit 3455e99
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3455e99

Please sign in to comment.