Merge: cabe57e7 cf4f8470
Author: Willy Kloucek <34452982+wkloucek@users.noreply.github.com>
Date:   Mon Feb 8 08:45:22 2021 +0100

    Merge pull request #1209 from owncloud/work_on_basic_remote_setup

    [docs-only] work on basic remote setup scenario
This commit is contained in:
Willy Kloucek committed 2021-02-08 07:46:11 +00:00
1 parent 990a236488
commit b0d87a78f0
15 files changed
+527 -579

No files matched your search

+61 -61
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-02-05T12:35:42+0000"
date: "2021-02-08T07:45:41+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/accounts/templates
@@ -35,6 +35,66 @@ If multiple variables are listed for one option, they are in order of precedence
If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### accounts add
Create a new account
Usage: `accounts add [command options] [arguments...]`
### accounts inspect
Show detailed data on an existing account
Usage: `accounts inspect [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`.
-name | $ACCOUNTS_NAME
: service name. Default: `accounts`.
### accounts remove
Removes an existing account
Usage: `accounts remove [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`.
-name | $ACCOUNTS_NAME
: service name. Default: `accounts`.
### accounts update
Make changes to an existing account
Usage: `accounts update [command options] [arguments...]`
### accounts version
Print the versions of the running instances
Usage: `accounts version [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`.
-name | $ACCOUNTS_NAME
: service name. Default: `accounts`.
### accounts list
List existing accounts
Usage: `accounts list [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`.
-name | $ACCOUNTS_NAME
: service name. Default: `accounts`.
### accounts rebuildIndex
Rebuilds the service's index, i.e. deleting and then re-adding all existing documents
@@ -122,63 +182,3 @@ Usage: `accounts server [command options] [arguments...]`
-service-user-username | $ACCOUNTS_SERVICE_USER_USERNAME
: username of the internal service user (required on EOS).
### accounts update
Make changes to an existing account
Usage: `accounts update [command options] [arguments...]`
### accounts inspect
Show detailed data on an existing account
Usage: `accounts inspect [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`.
-name | $ACCOUNTS_NAME
: service name. Default: `accounts`.
### accounts list
List existing accounts
Usage: `accounts list [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`.
-name | $ACCOUNTS_NAME
: service name. Default: `accounts`.
### accounts remove
Removes an existing account
Usage: `accounts remove [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`.
-name | $ACCOUNTS_NAME
: service name. Default: `accounts`.
### accounts version
Print the versions of the running instances
Usage: `accounts version [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`.
-name | $ACCOUNTS_NAME
: service name. Default: `accounts`.
### accounts add
Create a new account
Usage: `accounts add [command options] [arguments...]`
+10 -10
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-02-05T12:35:44+0000"
date: "2021-02-08T07:45:44+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/glauth/templates
@@ -35,15 +35,6 @@ If multiple variables are listed for one option, they are in order of precedence
If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### glauth health
Check health status
Usage: `glauth health [command options] [arguments...]`
-debug-addr | $GLAUTH_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9129`.
### glauth ocis-glauth
Serve GLAuth API for oCIS
@@ -158,3 +149,12 @@ Usage: `glauth server [command options] [arguments...]`
-fallback-use-graphapi | $GLAUTH_FALLBACK_USE_GRAPHAPI
: use Graph API, only for owncloud datastore. Default: `true`.
### glauth health
Check health status
Usage: `glauth health [command options] [arguments...]`
-debug-addr | $GLAUTH_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9129`.
+25 -25
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-02-05T12:35:45+0000"
date: "2021-02-08T07:45:45+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/idp/templates
@@ -35,30 +35,6 @@ If multiple variables are listed for one option, they are in order of precedence
If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### idp health
Check health status
Usage: `idp health [command options] [arguments...]`
-debug-addr | $IDP_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9134`.
### idp ocis-idp
Serve IDP API for oCIS
Usage: `idp ocis-idp [command options] [arguments...]`
-log-level | $IDP_LOG_LEVEL
: Set logging level. Default: `info`.
-log-pretty | $IDP_LOG_PRETTY
: Enable pretty logging. Default: `true`.
-log-color | $IDP_LOG_COLOR
: Enable colored logging. Default: `true`.
### idp server
Start integrated server
@@ -185,3 +161,27 @@ Usage: `idp version [command options] [arguments...]`
-name | $IDP_NAME
: Service name. Default: `idp`.
### idp health
Check health status
Usage: `idp health [command options] [arguments...]`
-debug-addr | $IDP_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9134`.
### idp ocis-idp
Serve IDP API for oCIS
Usage: `idp ocis-idp [command options] [arguments...]`
-log-level | $IDP_LOG_LEVEL
: Set logging level. Default: `info`.
-log-pretty | $IDP_LOG_PRETTY
: Enable pretty logging. Default: `true`.
-log-color | $IDP_LOG_COLOR
: Enable colored logging. Default: `true`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-02-05T12:35:50+0000"
date: "2021-02-08T07:45:49+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocs/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-02-05T12:35:58+0000"
date: "2021-02-08T07:45:56+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/onlyoffice/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-02-05T12:35:51+0000"
date: "2021-02-08T07:45:50+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/proxy/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-02-05T12:35:53+0000"
date: "2021-02-08T07:45:51+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/settings/templates
+286 -286
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-02-05T12:35:54+0000"
date: "2021-02-08T07:45:52+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/storage/templates
@@ -55,57 +55,6 @@ Usage: `storage [global options] command [command options] [arguments...]`
## Sub Commands
### storage users
Start users service
Usage: `storage users [command options] [arguments...]`
-debug-addr | $STORAGE_SHARING_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9145`.
-network | $STORAGE_USERPROVIDER_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
-addr | $STORAGE_USERPROVIDER_ADDR
: Address to bind storage service. Default: `0.0.0.0:9144`.
-endpoint | $STORAGE_USERPROVIDER_ENDPOINT
: URL to use for the storage service. Default: `localhost:9144`.
-driver | $STORAGE_USERPROVIDER_DRIVER
: user driver: 'demo', 'json', 'ldap', or 'rest'. Default: `ldap`.
-json-config | $STORAGE_USERPROVIDER_JSON
: Path to users.json file.
-rest-client-id | $STORAGE_REST_CLIENT_ID
: User rest driver Client ID.
-rest-client-secret | $STORAGE_REST_CLIENT_SECRET
: User rest driver Client Secret.
-rest-redis-address | $STORAGE_REST_REDIS_ADDRESS
: Address for redis server. Default: `localhost:6379`.
-rest-redis-username | $STORAGE_REST_REDIS_USERNAME
: Username for redis server.
-rest-redis-password | $STORAGE_REST_REDIS_PASSWORD
: Password for redis server.
-rest-id-provider | $STORAGE_REST_ID_PROVIDER
: The OIDC Provider.
-rest-api-base-url | $STORAGE_REST_API_BASE_URL
: Base API Endpoint.
-rest-oidc-token-endpoint | $STORAGE_REST_OIDC_TOKEN_ENDPOINT
: Endpoint to generate token to access the API.
-rest-target-api | $STORAGE_REST_TARGET_API
: The target application.
### storage auth-basic
Start authprovider for basic auth
@@ -127,6 +76,36 @@ Usage: `storage auth-basic [command options] [arguments...]`
-addr | $STORAGE_AUTH_BASIC_GRPC_ADDR
: Address to bind storage service. Default: `0.0.0.0:9146`.
### storage auth-bearer
Start authprovider for bearer auth
Usage: `storage auth-bearer [command options] [arguments...]`
-debug-addr | $STORAGE_AUTH_BEARER_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9149`.
-oidc-issuer | $STORAGE_OIDC_ISSUER , $OCIS_URL
: OIDC issuer. Default: `https://localhost:9200`.
-oidc-insecure | $STORAGE_OIDC_INSECURE
: OIDC allow insecure communication. Default: `true`.
-oidc-id-claim | $STORAGE_OIDC_ID_CLAIM
: OIDC id claim. Default: `preferred_username`.
-oidc-uid-claim | $STORAGE_OIDC_UID_CLAIM
: OIDC uid claim.
-oidc-gid-claim | $STORAGE_OIDC_GID_CLAIM
: OIDC gid claim.
-network | $STORAGE_AUTH_BEARER_GRPC_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
-addr | $STORAGE_AUTH_BEARER_GRPC_ADDR
: Address to bind storage service. Default: `0.0.0.0:9148`.
### storage frontend
Start frontend service
@@ -181,240 +160,6 @@ Usage: `storage frontend [command options] [arguments...]`
-checksum-preferred-upload-type | $STORAGE_FRONTEND_CHECKSUM_PREFERRED_UPLOAD_TYPE
: Specify the preferred checksum algorithm used for uploads.
### storage sharing
Start sharing service
Usage: `storage sharing [command options] [arguments...]`
-debug-addr | $STORAGE_SHARING_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9151`.
-network | $STORAGE_SHARING_GRPC_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
-addr | $STORAGE_SHARING_GRPC_ADDR
: Address to bind storage service. Default: `0.0.0.0:9150`.
-user-driver | $STORAGE_SHARING_USER_DRIVER
: driver to use for the UserShareProvider. Default: `json`.
-user-json-file | $STORAGE_SHARING_USER_JSON_FILE
: file used to persist shares for the UserShareProvider. Default: `/var/tmp/ocis/storage/shares.json`.
-public-driver | $STORAGE_SHARING_PUBLIC_DRIVER
: driver to use for the PublicShareProvider. Default: `json`.
-public-json-file | $STORAGE_SHARING_PUBLIC_JSON_FILE
: file used to persist shares for the PublicShareProvider. Default: `/var/tmp/ocis/storage/publicshares.json`.
### storage storage-users
Start storage-users service
Usage: `storage storage-users [command options] [arguments...]`
-debug-addr | $STORAGE_USERS_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9159`.
-grpc-network | $STORAGE_USERS_GRPC_NETWORK
: Network to use for the users storage, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
-grpc-addr | $STORAGE_USERS_GRPC_ADDR
: GRPC Address to bind users storage. Default: `0.0.0.0:9157`.
-http-network | $STORAGE_USERS_HTTP_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
-http-addr | $STORAGE_USERS_HTTP_ADDR
: HTTP Address to bind users storage. Default: `0.0.0.0:9158`.
-driver | $STORAGE_USERS_DRIVER
: storage driver for users mount: eg. local, eos, owncloud, ocis or s3. Default: `ocis`.
-mount-path | $STORAGE_USERS_MOUNT_PATH
: mount path. Default: `/users`.
-mount-id | $STORAGE_USERS_MOUNT_ID
: mount id. Default: `1284d238-aa92-42ce-bdc4-0b0000009157`.
-expose-data-server | $STORAGE_USERS_EXPOSE_DATA_SERVER
: exposes a dedicated data server. Default: `false`.
-data-server-url | $STORAGE_USERS_DATA_SERVER_URL
: data server url. Default: `http://localhost:9158/data`.
-http-prefix | $STORAGE_USERS_HTTP_PREFIX
: prefix for the http endpoint, without leading slash. Default: `data`.
-tmp-folder | $STORAGE_USERS_TMP_FOLDER
: path to tmp folder. Default: `/var/tmp/ocis/tmp/users`.
-gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT
: endpoint to use for the storage gateway service. Default: `localhost:9142`.
-users-endpoint | $STORAGE_USERPROVIDER_ENDPOINT
: endpoint to use for the storage service. Default: `localhost:9144`.
### storage storage
Storage service for oCIS
Usage: `storage storage [command options] [arguments...]`
-config-file | $STORAGE_CONFIG_FILE
: Path to config file.
-log-level | $STORAGE_LOG_LEVEL
: Set logging level. Default: `info`.
-log-pretty | $STORAGE_LOG_PRETTY
: Enable pretty logging.
-log-color | $STORAGE_LOG_COLOR
: Enable colored logging.
### storage storage-home
Start storage-home service
Usage: `storage storage-home [command options] [arguments...]`
-debug-addr | $STORAGE_HOME_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9156`.
-grpc-network | $STORAGE_HOME_GRPC_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
-grpc-addr | $STORAGE_HOME_GRPC_ADDR
: Address to bind storage service. Default: `0.0.0.0:9154`.
-http-network | $STORAGE_HOME_HTTP_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
-http-addr | $STORAGE_HOME_HTTP_ADDR
: Address to bind storage service. Default: `0.0.0.0:9155`.
-driver | $STORAGE_HOME_DRIVER
: storage driver for home mount: eg. local, eos, owncloud, ocis or s3. Default: `ocis`.
-mount-path | $STORAGE_HOME_MOUNT_PATH
: mount path. Default: `/home`.
-mount-id | $STORAGE_HOME_MOUNT_ID
: mount id. Default: `1284d238-aa92-42ce-bdc4-0b0000009157`.
-expose-data-server | $STORAGE_HOME_EXPOSE_DATA_SERVER
: exposes a dedicated data server. Default: `false`.
-data-server-url | $STORAGE_HOME_DATA_SERVER_URL
: data server url. Default: `http://localhost:9155/data`.
-http-prefix | $STORAGE_HOME_HTTP_PREFIX
: prefix for the http endpoint, without leading slash. Default: `data`.
-tmp-folder | $STORAGE_HOME_TMP_FOLDER
: path to tmp folder. Default: `/var/tmp/ocis/tmp/home`.
-enable-home | $STORAGE_HOME_ENABLE_HOME
: enable the creation of home directories. Default: `true`.
-gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT
: endpoint to use for the storage gateway service. Default: `localhost:9142`.
-users-endpoint | $STORAGE_USERPROVIDER_ENDPOINT
: endpoint to use for the storage service. Default: `localhost:9144`.
### storage storage-metadata
Start storage-metadata service
Usage: `storage storage-metadata [command options] [arguments...]`
-debug-addr | $STORAGE_METADATA_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9217`.
-grpc-network | $STORAGE_METADATA_GRPC_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
-grpc-addr | $STORAGE_METADATA_GRPC_PROVIDER_ADDR
: Address to bind storage service. Default: `0.0.0.0:9215`.
-data-server-url | $STORAGE_METADATA_DATA_SERVER_URL
: URL of the data-provider the storage-provider uses. Default: `http://localhost:9216`.
-http-network | $STORAGE_METADATA_HTTP_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
-http-addr | $STORAGE_METADATA_HTTP_ADDR
: Address to bind storage service. Default: `0.0.0.0:9216`.
-tmp-folder | $STORAGE_METADATA_TMP_FOLDER
: path to tmp folder. Default: `/var/tmp/ocis/tmp/metadata`.
-driver | $STORAGE_METADATA_DRIVER
: storage driver for metadata mount: eg. local, eos, owncloud, ocis or s3. Default: `ocis`.
-gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT
: endpoint to use for the gateway service. Default: `localhost:9142`.
-userprovider-endpoint | $STORAGE_USERPROVIDER_ENDPOINT
: endpoint to use for the userprovider service. Default: `localhost:9144`.
-storage-root | $STORAGE_METADATA_ROOT
: the path to the metadata storage root. Default: `/var/tmp/ocis/storage/metadata`.
### storage storage-public-link
Start storage-public-link service
Usage: `storage storage-public-link [command options] [arguments...]`
-debug-addr | $STORAGE_PUBLIC_LINK_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9179`.
-network | $STORAGE_PUBLIC_LINK_GRPC_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
-addr | $STORAGE_PUBLIC_LINK_GRPC_ADDR
: Address to bind storage service. Default: `0.0.0.0:9178`.
-mount-path | $STORAGE_PUBLIC_LINK_MOUNT_PATH
: mount path. Default: `/public`.
-gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT
: endpoint to use for the storage gateway service. Default: `localhost:9142`.
### storage auth-bearer
Start authprovider for bearer auth
Usage: `storage auth-bearer [command options] [arguments...]`
-debug-addr | $STORAGE_AUTH_BEARER_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9149`.
-oidc-issuer | $STORAGE_OIDC_ISSUER , $OCIS_URL
: OIDC issuer. Default: `https://localhost:9200`.
-oidc-insecure | $STORAGE_OIDC_INSECURE
: OIDC allow insecure communication. Default: `true`.
-oidc-id-claim | $STORAGE_OIDC_ID_CLAIM
: OIDC id claim. Default: `preferred_username`.
-oidc-uid-claim | $STORAGE_OIDC_UID_CLAIM
: OIDC uid claim.
-oidc-gid-claim | $STORAGE_OIDC_GID_CLAIM
: OIDC gid claim.
-network | $STORAGE_AUTH_BEARER_GRPC_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
-addr | $STORAGE_AUTH_BEARER_GRPC_ADDR
: Address to bind storage service. Default: `0.0.0.0:9148`.
### storage gateway
Start gateway
@@ -499,6 +244,150 @@ Usage: `storage gateway [command options] [arguments...]`
-storage-public-link-mount-path | $STORAGE_PUBLIC_LINK_MOUNT_PATH
: mount path. Default: `/public`.
### storage storage
Storage service for oCIS
Usage: `storage storage [command options] [arguments...]`
-config-file | $STORAGE_CONFIG_FILE
: Path to config file.
-log-level | $STORAGE_LOG_LEVEL
: Set logging level. Default: `info`.
-log-pretty | $STORAGE_LOG_PRETTY
: Enable pretty logging.
-log-color | $STORAGE_LOG_COLOR
: Enable colored logging.
### storage sharing
Start sharing service
Usage: `storage sharing [command options] [arguments...]`
-debug-addr | $STORAGE_SHARING_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9151`.
-network | $STORAGE_SHARING_GRPC_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
-addr | $STORAGE_SHARING_GRPC_ADDR
: Address to bind storage service. Default: `0.0.0.0:9150`.
-user-driver | $STORAGE_SHARING_USER_DRIVER
: driver to use for the UserShareProvider. Default: `json`.
-user-json-file | $STORAGE_SHARING_USER_JSON_FILE
: file used to persist shares for the UserShareProvider. Default: `/var/tmp/ocis/storage/shares.json`.
-public-driver | $STORAGE_SHARING_PUBLIC_DRIVER
: driver to use for the PublicShareProvider. Default: `json`.
-public-json-file | $STORAGE_SHARING_PUBLIC_JSON_FILE
: file used to persist shares for the PublicShareProvider. Default: `/var/tmp/ocis/storage/publicshares.json`.
### storage storage-home
Start storage-home service
Usage: `storage storage-home [command options] [arguments...]`
-debug-addr | $STORAGE_HOME_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9156`.
-grpc-network | $STORAGE_HOME_GRPC_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
-grpc-addr | $STORAGE_HOME_GRPC_ADDR
: Address to bind storage service. Default: `0.0.0.0:9154`.
-http-network | $STORAGE_HOME_HTTP_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
-http-addr | $STORAGE_HOME_HTTP_ADDR
: Address to bind storage service. Default: `0.0.0.0:9155`.
-driver | $STORAGE_HOME_DRIVER
: storage driver for home mount: eg. local, eos, owncloud, ocis or s3. Default: `ocis`.
-mount-path | $STORAGE_HOME_MOUNT_PATH
: mount path. Default: `/home`.
-mount-id | $STORAGE_HOME_MOUNT_ID
: mount id. Default: `1284d238-aa92-42ce-bdc4-0b0000009157`.
-expose-data-server | $STORAGE_HOME_EXPOSE_DATA_SERVER
: exposes a dedicated data server. Default: `false`.
-data-server-url | $STORAGE_HOME_DATA_SERVER_URL
: data server url. Default: `http://localhost:9155/data`.
-http-prefix | $STORAGE_HOME_HTTP_PREFIX
: prefix for the http endpoint, without leading slash. Default: `data`.
-tmp-folder | $STORAGE_HOME_TMP_FOLDER
: path to tmp folder. Default: `/var/tmp/ocis/tmp/home`.
-enable-home | $STORAGE_HOME_ENABLE_HOME
: enable the creation of home directories. Default: `true`.
-gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT
: endpoint to use for the storage gateway service. Default: `localhost:9142`.
-users-endpoint | $STORAGE_USERPROVIDER_ENDPOINT
: endpoint to use for the storage service. Default: `localhost:9144`.
### storage storage-users
Start storage-users service
Usage: `storage storage-users [command options] [arguments...]`
-debug-addr | $STORAGE_USERS_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9159`.
-grpc-network | $STORAGE_USERS_GRPC_NETWORK
: Network to use for the users storage, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
-grpc-addr | $STORAGE_USERS_GRPC_ADDR
: GRPC Address to bind users storage. Default: `0.0.0.0:9157`.
-http-network | $STORAGE_USERS_HTTP_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
-http-addr | $STORAGE_USERS_HTTP_ADDR
: HTTP Address to bind users storage. Default: `0.0.0.0:9158`.
-driver | $STORAGE_USERS_DRIVER
: storage driver for users mount: eg. local, eos, owncloud, ocis or s3. Default: `ocis`.
-mount-path | $STORAGE_USERS_MOUNT_PATH
: mount path. Default: `/users`.
-mount-id | $STORAGE_USERS_MOUNT_ID
: mount id. Default: `1284d238-aa92-42ce-bdc4-0b0000009157`.
-expose-data-server | $STORAGE_USERS_EXPOSE_DATA_SERVER
: exposes a dedicated data server. Default: `false`.
-data-server-url | $STORAGE_USERS_DATA_SERVER_URL
: data server url. Default: `http://localhost:9158/data`.
-http-prefix | $STORAGE_USERS_HTTP_PREFIX
: prefix for the http endpoint, without leading slash. Default: `data`.
-tmp-folder | $STORAGE_USERS_TMP_FOLDER
: path to tmp folder. Default: `/var/tmp/ocis/tmp/users`.
-gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT
: endpoint to use for the storage gateway service. Default: `localhost:9142`.
-users-endpoint | $STORAGE_USERPROVIDER_ENDPOINT
: endpoint to use for the storage service. Default: `localhost:9144`.
### storage health
Check health status
@@ -508,6 +397,117 @@ Usage: `storage health [command options] [arguments...]`
-debug-addr | $STORAGE_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9109`.
### storage storage-metadata
Start storage-metadata service
Usage: `storage storage-metadata [command options] [arguments...]`
-debug-addr | $STORAGE_METADATA_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9217`.
-grpc-network | $STORAGE_METADATA_GRPC_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
-grpc-addr | $STORAGE_METADATA_GRPC_PROVIDER_ADDR
: Address to bind storage service. Default: `0.0.0.0:9215`.
-data-server-url | $STORAGE_METADATA_DATA_SERVER_URL
: URL of the data-provider the storage-provider uses. Default: `http://localhost:9216`.
-http-network | $STORAGE_METADATA_HTTP_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
-http-addr | $STORAGE_METADATA_HTTP_ADDR
: Address to bind storage service. Default: `0.0.0.0:9216`.
-tmp-folder | $STORAGE_METADATA_TMP_FOLDER
: path to tmp folder. Default: `/var/tmp/ocis/tmp/metadata`.
-driver | $STORAGE_METADATA_DRIVER
: storage driver for metadata mount: eg. local, eos, owncloud, ocis or s3. Default: `ocis`.
-gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT
: endpoint to use for the gateway service. Default: `localhost:9142`.
-userprovider-endpoint | $STORAGE_USERPROVIDER_ENDPOINT
: endpoint to use for the userprovider service. Default: `localhost:9144`.
-storage-root | $STORAGE_METADATA_ROOT
: the path to the metadata storage root. Default: `/var/tmp/ocis/storage/metadata`.
### storage storage-public-link
Start storage-public-link service
Usage: `storage storage-public-link [command options] [arguments...]`
-debug-addr | $STORAGE_PUBLIC_LINK_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9179`.
-network | $STORAGE_PUBLIC_LINK_GRPC_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
-addr | $STORAGE_PUBLIC_LINK_GRPC_ADDR
: Address to bind storage service. Default: `0.0.0.0:9178`.
-mount-path | $STORAGE_PUBLIC_LINK_MOUNT_PATH
: mount path. Default: `/public`.
-gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT
: endpoint to use for the storage gateway service. Default: `localhost:9142`.
### storage users
Start users service
Usage: `storage users [command options] [arguments...]`
-debug-addr | $STORAGE_SHARING_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9145`.
-network | $STORAGE_USERPROVIDER_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
-addr | $STORAGE_USERPROVIDER_ADDR
: Address to bind storage service. Default: `0.0.0.0:9144`.
-endpoint | $STORAGE_USERPROVIDER_ENDPOINT
: URL to use for the storage service. Default: `localhost:9144`.
-driver | $STORAGE_USERPROVIDER_DRIVER
: user driver: 'demo', 'json', 'ldap', or 'rest'. Default: `ldap`.
-json-config | $STORAGE_USERPROVIDER_JSON
: Path to users.json file.
-rest-client-id | $STORAGE_REST_CLIENT_ID
: User rest driver Client ID.
-rest-client-secret | $STORAGE_REST_CLIENT_SECRET
: User rest driver Client Secret.
-rest-redis-address | $STORAGE_REST_REDIS_ADDRESS
: Address for redis server. Default: `localhost:6379`.
-rest-redis-username | $STORAGE_REST_REDIS_USERNAME
: Username for redis server.
-rest-redis-password | $STORAGE_REST_REDIS_PASSWORD
: Password for redis server.
-rest-id-provider | $STORAGE_REST_ID_PROVIDER
: The OIDC Provider.
-rest-api-base-url | $STORAGE_REST_API_BASE_URL
: Base API Endpoint.
-rest-oidc-token-endpoint | $STORAGE_REST_OIDC_TOKEN_ENDPOINT
: Endpoint to generate token to access the API.
-rest-target-api | $STORAGE_REST_TARGET_API
: The target application.
## Config for the different Storage Drivers
You can set different storage drivers for the Storage Providers. Please check the storage provider configuration.
+28 -28
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-02-05T12:35:55+0000"
date: "2021-02-08T07:45:53+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/store/templates
@@ -35,6 +35,33 @@ If multiple variables are listed for one option, they are in order of precedence
If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### store health
Check health status
Usage: `store health [command options] [arguments...]`
-debug-addr | $STORE_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9460`.
### store ocis-store
Service to store values for ocis extensions
Usage: `store ocis-store [command options] [arguments...]`
-config-file | $STORE_CONFIG_FILE
: Path to config file.
-log-level | $STORE_LOG_LEVEL
: Set logging level. Default: `info`.
-log-pretty | $STORE_LOG_PRETTY
: Enable pretty logging. Default: `true`.
-log-color | $STORE_LOG_COLOR
: Enable colored logging. Default: `true`.
### store server
Start integrated server
@@ -89,30 +116,3 @@ Usage: `store version [command options] [arguments...]`
-name | $STORE_NAME
: Service name. Default: `store`.
### store health
Check health status
Usage: `store health [command options] [arguments...]`
-debug-addr | $STORE_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9460`.
### store ocis-store
Service to store values for ocis extensions
Usage: `store ocis-store [command options] [arguments...]`
-config-file | $STORE_CONFIG_FILE
: Path to config file.
-log-level | $STORE_LOG_LEVEL
: Set logging level. Default: `info`.
-log-pretty | $STORE_LOG_PRETTY
: Enable pretty logging. Default: `true`.
-log-color | $STORE_LOG_COLOR
: Enable colored logging. Default: `true`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-02-05T12:35:56+0000"
date: "2021-02-08T07:45:54+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/thumbnails/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-02-05T12:35:48+0000"
date: "2021-02-08T07:45:48+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/web/templates
+10 -10
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-02-05T12:35:58+0000"
date: "2021-02-08T07:45:55+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/webdav/templates
@@ -52,6 +52,15 @@ Usage: `webdav [global options] command [command options] [arguments...]`
## Sub Commands
### webdav health
Check health status
Usage: `webdav health [command options] [arguments...]`
-debug-addr | $WEBDAV_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9119`.
### webdav server
Start integrated server
@@ -112,12 +121,3 @@ Usage: `webdav version [command options] [arguments...]`
-service-name | $WEBDAV_SERVICE_NAME
: Service name. Default: `webdav`.
### webdav health
Check health status
Usage: `webdav health [command options] [arguments...]`
-debug-addr | $WEBDAV_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9119`.
+78 -78
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-02-05T12:35:47+0000"
date: "2021-02-08T07:45:47+0000"
weight: 2
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocis/templates
@@ -77,33 +77,6 @@ Usage: `ocis [global options] command [command options] [arguments...]`
## Sub Commands
### ocis list
Lists running ocis extensions
Usage: `ocis list [command options] [arguments...]`
### ocis health
Check health status
Usage: `ocis health [command options] [arguments...]`
-debug-addr | $OCIS_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9010`.
### ocis run
Runs an extension
Usage: `ocis run [command options] [arguments...]`
### ocis kill
Kill an extension by name
Usage: `ocis kill [command options] [arguments...]`
### ocis server
Start fullstack server
@@ -131,81 +104,108 @@ Usage: `ocis server [command options] [arguments...]`
-grpc-addr | $OCIS_GRPC_ADDR
: Address to bind grpc server. Default: `0.0.0.0:9001`.
### ocis run
Runs an extension
Usage: `ocis run [command options] [arguments...]`
### ocis health
Check health status
Usage: `ocis health [command options] [arguments...]`
-debug-addr | $OCIS_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9010`.
### ocis list
Lists running ocis extensions
Usage: `ocis list [command options] [arguments...]`
### ocis kill
Kill an extension by name
Usage: `ocis kill [command options] [arguments...]`
### List of available Extension subcommands
There are more subcommands to start the individual extensions. Please check the documentation about their usage and options in the dedicated section of the documentation.
#### ocis storage-auth-basic
Start storage auth-basic service
#### ocis storage-gateway
Start storage gateway
#### ocis storage-users
Start storage and data provider for /users mount
#### ocis proxy
Start proxy server
#### ocis storage-userprovider
#### ocis storage-gateway
Start storage userprovider service
#### ocis settings
Start settings server
#### ocis storage-metadata
Start storage and data service for metadata
Start storage gateway
#### ocis storage-public-link
Start storage public link storage
#### ocis storage-sharing
Start storage sharing service
#### ocis storage-auth-bearer
Start storage auth-bearer service
#### ocis ocs
Start ocs server
#### ocis onlyoffice
Start onlyoffice server
#### ocis storage-frontend
#### ocis storage-sharing
Start storage frontend
#### ocis idp
Start idp server
#### ocis store
Start a go-micro store
Start storage sharing service
#### ocis glauth
Start glauth server
#### ocis ocs
Start ocs server
#### ocis storage-userprovider
Start storage userprovider service
#### ocis storage-frontend
Start storage frontend
#### ocis storage-users
Start storage and data provider for /users mount
#### ocis storage-auth-basic
Start storage auth-basic service
#### ocis store
Start a go-micro store
#### ocis version
Lists running services with version
#### ocis web
Start web server
#### ocis webdav
#### ocis storage-metadata
Start webdav server
Start storage and data service for metadata
#### ocis thumbnails
Start thumbnails server
#### ocis idp
Start idp server
#### ocis settings
Start settings server
#### ocis accounts
@@ -215,11 +215,11 @@ Start accounts server
Start storage and data provider for /home mount
#### ocis thumbnails
#### ocis webdav
Start thumbnails server
Start webdav server
#### ocis version
#### ocis storage-auth-bearer
Lists running services with version
Start storage auth-bearer service
+23 -73
View File
@@ -9,94 +9,44 @@ geekdocFilePath: basic-remote-setup.md
{{< toc >}}
Out of the box the oCIS single binary and the `owncloud/ocis` docker image are configured to run on localhost for quick testing and development.
The default configuration of the oCIS binary and the `owncloud/ocis` docker image assume, that you access oCIS on `localhost`. This enables you to do quick testing and development without any configuration.
If you need to access oCIS on a VM or a remote machine e.g. when testing a mobile client you need to configure oCIS to run on a different host.
If you need to access oCIS running in a docker container, on a VM or a remote machine via an other hostname than `localhost`, you need to configure this hostname in oCIS. The same applies if you are not using hostnames but instead an IP (eg. `192.168.178.25`).
## Use the binary
## Start the oCIS fullstack server from binary
If you start the oCIS fullstack for the first time with `./bin/ocis server` it will generate a file `identifier-registration.yml` in the config folder relative to its location. This file is used to configure the clients for the built-in Identity Provider.
Upon first start of the oCIS fullstack server with `./bin/ocis server` it will generate a file `identifier-registration.yml` in the config folder in your current working directory. This file is used to configure the built-in identity provider and therefore contains the OpenID Connect issuer and also information about relying parties, for example ownCloud Web and our desktop and mobile applications.
{{< hint warning >}}
**Outdated version**\
The `identifier-registration.yml` file will only be generated if there is no such file in place. You could miss updates on this file. Run `make clean` to delete the file and keep the development environment tidy otherwise as well.
The `identifier-registration.yml` file will only be generated if does not exist. If you want to change certain environment variables like `OCIS_URL`, please delete this file first before doing so. Otherwise your changes will not be applied correctly and you will run into errors.
{{< /hint >}}
### Add your hostname to the idp config
For the following examples you need to have the oCIS binary in your current working directory, we assume it is named `ocis` and it needs to be marked as executable. See [Getting Started]({{< ref "../getting-started/#binaries" >}}) for where to get the binary from.
Let us assume `your-host` is your remote domain name or IP address. Add your host to the `identifier-registration.yml` like this:
### Using automatically generated certificates
```yaml {linenos=table,hl_lines=["15-17",21]}
# OpenID Connect client registry.
clients:
- id: web
name: ownCloud web app
application_type: web
insecure: yes
trusted: yes
redirect_uris:
- http://localhost:9100/
- http://localhost:9100/oidc-callback.html
- http://localhost:9100/oidc-silent-redirect.html
- https://localhost:9200/
- https://localhost:9200/oidc-callback.html
- https://localhost:9200/oidc-silent-redirect.html
- https://your-server:9200/
- https://your-server:9200/oidc-callback.html
- https://your-server:9200/oidc-silent-redirect.html
origins:
- http://localhost:9100
- https://localhost:9200
- https://your-server:9200
```
In this example we do not change the default port (`9200`). But this could be changed to another port.
### Start the oCIS fullstack server
You need to configure `your-host` in some services to provide the needed public resources.
This snippet will start the oCIS server with auto generated self signed certificates:
In order to run oCIS with automatically generated and self signed certificates please execute following command. You need to replace `your-host` with an IP or hostname.
```bash
PROXY_HTTP_ADDR=0.0.0.0:9200 \
OCIS_URL=https://your-server:9200 \
KONNECTD_TLS=0 \
PROXY_TRANSPORT_TLS_KEY=./certs/your-host.key \
PROXY_TRANSPORT_TLS_CERT=./certs/your-host.crt \
IDP_TLS=0 \
./bin/ocis server
OCIS_URL=https://your-host:9200 \
./ocis server
```
For more configuration options check the configuration section in [ocis](https://owncloud.github.io/ocis/configuration/) and every oCIS extension.
### Using already present certificates
{{< hint info >}}
**TLS Certificate**\
If you have a CA signed certificate for your domain, add the following configurations:
```
PROXY_TRANSPORT_TLS_KEY=./certs/your-host.key \
PROXY_TRANSPORT_TLS_CERT=./certs/your-host.crt \
```
{{< /hint >}}
## Use Docker Compose
We are using our [docker compose playground](https://github.com/owncloud-docker/compose-playground) as a repository to share snippets that make our test setups easier and more aligned.
You can start oCIS with docker very easily on a different host using this snippet.
Let us assume your local IP is `192.168.103.195`
If you have your own certificates already in place, you may want to make oCIS use them:
```bash
git clone https://github.com/owncloud-docker/compose-playground.git
cd compose-playground/compose/ocis
sed -i -e 's/your-url/192.168.103.195/g' config/identifier-registration.yml
cat << EOF > .env
OCIS_URL=https://192.168.103.195
OCIS_DOCKER_TAG=latest
EOF
curl -k https://192.168.103.195:9200/status.php
PROXY_HTTP_ADDR=0.0.0.0:9200 \
OCIS_URL=https://your-host:9200 \
PROXY_TRANSPORT_TLS_KEY=./certs/your-host.key \
PROXY_TRANSPORT_TLS_CERT=./certs/your-host.crt \
./ocis server
```
For more configuration options check the configuration section in [oCIS](https://owncloud.github.io/ocis/configuration/) and the oCIS extensions.
## Start the oCIS fullstack server with Docker Compose
Please have a look at our other [deployment examples]({{< ref "./_index.md" >}}).
-2
View File
@@ -7,8 +7,6 @@ geekdocEditPath: edit/master/docs/ocis
geekdocFilePath: release_roadmap.md
---
# Release Roadmap
You may have asked yourself why there are major version 1 tags in our GitHub repository but the readme still states `ownCloud Infinite Scale is currently in a technical preview state. It will be subject to a lot of changes and is not yet ready for general production deployments.`. How can that be if its a major version 1?
Our initial and also our current plan is to stick to SemVer as versioning scheme. But sometimes there are other factors which cross your plans. Therefore we started releasing oCIS with version `1.0.0 Tech Preview`.