mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-06 04:09:40 -06:00
add OCIS_ENABLE_OCM env var
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
@@ -556,12 +556,8 @@ in the `/etc/hosts` file
|
||||
# run oCIS
|
||||
OCIS_URL="https://ocis-server:9200" \
|
||||
PROXY_ENABLE_BASIC_AUTH=true \
|
||||
GRAPH_INCLUDE_OCM_SHAREES=true \
|
||||
OCM_OCM_INVITE_MANAGER_INSECURE=true \
|
||||
OCM_OCM_SHARE_PROVIDER_INSECURE=true \
|
||||
OCM_OCM_STORAGE_PROVIDER_INSECURE=true \
|
||||
OCIS_ENABLE_OCM=true \
|
||||
OCM_OCM_PROVIDER_AUTHORIZER_PROVIDERS_FILE="${workspaceFolder}/tests/config/drone/providers.json" \
|
||||
OCIS_ADD_RUN_SERVICES="ocm" \
|
||||
ocis/bin/ocis server
|
||||
```
|
||||
|
||||
@@ -583,13 +579,7 @@ ocis/bin/ocis server
|
||||
The second oCIS instance should be available at: https://federation-ocis-server:10200/
|
||||
|
||||
{{< hint info >}}
|
||||
To enable ocm in the web interface, you need to set the following envs:
|
||||
`FRONTEND_OCS_INCLUDE_OCM_SHAREES=true` \
|
||||
`FRONTEND_OCS_LIST_OCM_SHARES=true` \
|
||||
`FRONTEND_ENABLE_FEDERATED_SHARING_INCOMING=true` \
|
||||
`FRONTEND_ENABLE_FEDERATED_SHARING_OUTGOING=true` \
|
||||
|
||||
and put `ocm` to apps https://github.com/owncloud/ocis/blob/master/services/web/pkg/config/defaults/defaultconfig.go#L101
|
||||
To enable ocm in the web interface, you need to set `OCIS_ENABLE_OCM=true`. It will enable all ocm flags and start the ocm service when running `ocis server`.
|
||||
{{< /hint>}}
|
||||
|
||||
#### Run the Acceptance Test
|
||||
|
||||
Reference in New Issue
Block a user