commit 0ea04c02f9
Merge:2dcaae3ae91d67e2Author: Felix Böhm <felix@owncloud.com> Date: Thu Nov 19 14:27:05 2020 +0100 Merge pull request #874 from owncloud/improve_docs [docs-only] improve docs
This commit is contained in:
1 parent
274e19ab03
commit
fcdc08393c
5 files changed
+287
-287
No files matched your search
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2020-11-20T09:00:57+0000"
|
||||
date: "2020-11-20T10:01:18+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/accounts/templates
|
||||
@@ -49,39 +49,6 @@ Usage: `accounts list [command options] [arguments...]`
|
||||
--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 ocis-accounts
|
||||
|
||||
Provide accounts and groups for oCIS
|
||||
|
||||
Usage: `accounts ocis-accounts [command options] [arguments...]`
|
||||
|
||||
--log-level | $ACCOUNTS_LOG_LEVEL
|
||||
: Set logging level. Default: `info`.
|
||||
|
||||
--log-pretty | $ACCOUNTS_LOG_PRETTY
|
||||
: Enable pretty logging. Default: `true`.
|
||||
|
||||
--log-color | $ACCOUNTS_LOG_COLOR
|
||||
: Enable colored logging. Default: `true`.
|
||||
|
||||
### accounts rebuildIndex
|
||||
|
||||
Rebuilds the service's index, i.e. deleting and then re-adding all existing documents
|
||||
|
||||
Usage: `accounts rebuildIndex [command options] [arguments...]`
|
||||
|
||||
### accounts add
|
||||
|
||||
Create a new account
|
||||
@@ -142,6 +109,21 @@ Usage: `accounts server [command options] [arguments...]`
|
||||
--service-user-username | $ACCOUNTS_SERVICE_USER_USERNAME
|
||||
: username of the internal service user (required on EOS).
|
||||
|
||||
### accounts ocis-accounts
|
||||
|
||||
Provide accounts and groups for oCIS
|
||||
|
||||
Usage: `accounts ocis-accounts [command options] [arguments...]`
|
||||
|
||||
--log-level | $ACCOUNTS_LOG_LEVEL
|
||||
: Set logging level. Default: `info`.
|
||||
|
||||
--log-pretty | $ACCOUNTS_LOG_PRETTY
|
||||
: Enable pretty logging. Default: `true`.
|
||||
|
||||
--log-color | $ACCOUNTS_LOG_COLOR
|
||||
: Enable colored logging. Default: `true`.
|
||||
|
||||
### accounts remove
|
||||
|
||||
Removes an existing account
|
||||
@@ -154,6 +136,18 @@ Usage: `accounts remove [command options] [arguments...]`
|
||||
--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 inspect
|
||||
|
||||
Show detailed data on an existing account
|
||||
@@ -166,6 +160,12 @@ Usage: `accounts inspect [command options] [arguments...]`
|
||||
--name | $ACCOUNTS_NAME
|
||||
: service name. Default: `accounts`.
|
||||
|
||||
### accounts rebuildIndex
|
||||
|
||||
Rebuilds the service's index, i.e. deleting and then re-adding all existing documents
|
||||
|
||||
Usage: `accounts rebuildIndex [command options] [arguments...]`
|
||||
|
||||
### accounts update
|
||||
|
||||
Make changes to an existing account
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2020-11-20T09:01:00+0000"
|
||||
date: "2020-11-20T10:01:23+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/konnectd/templates
|
||||
@@ -37,27 +37,6 @@ If you prefer to configure the service with environment variables you can see th
|
||||
|
||||
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.
|
||||
|
||||
### konnectd version
|
||||
|
||||
Print the versions of the running instances
|
||||
|
||||
Usage: `konnectd version [command options] [arguments...]`
|
||||
|
||||
--http-namespace | $KONNECTD_HTTP_NAMESPACE
|
||||
: Set the base namespace for service discovery. Default: `com.owncloud.web`.
|
||||
|
||||
--name | $KONNECTD_NAME
|
||||
: Service name. Default: `konnectd`.
|
||||
|
||||
### konnectd health
|
||||
|
||||
Check health status
|
||||
|
||||
Usage: `konnectd health [command options] [arguments...]`
|
||||
|
||||
--debug-addr | $KONNECTD_DEBUG_ADDR
|
||||
: Address to debug endpoint. Default: `0.0.0.0:9134`.
|
||||
|
||||
### konnectd ocis-konnectd
|
||||
|
||||
Serve Konnectd API for oCIS
|
||||
@@ -187,3 +166,24 @@ Usage: `konnectd server [command options] [arguments...]`
|
||||
--disable-identifier-webapp | $KONNECTD_DISABLE_IDENTIFIER_WEBAPP
|
||||
: Disable built-in identifier-webapp to use a frontend hosted elsewhere.. Default: `true`.
|
||||
|
||||
### konnectd version
|
||||
|
||||
Print the versions of the running instances
|
||||
|
||||
Usage: `konnectd version [command options] [arguments...]`
|
||||
|
||||
--http-namespace | $KONNECTD_HTTP_NAMESPACE
|
||||
: Set the base namespace for service discovery. Default: `com.owncloud.web`.
|
||||
|
||||
--name | $KONNECTD_NAME
|
||||
: Service name. Default: `konnectd`.
|
||||
|
||||
### konnectd health
|
||||
|
||||
Check health status
|
||||
|
||||
Usage: `konnectd health [command options] [arguments...]`
|
||||
|
||||
--debug-addr | $KONNECTD_DEBUG_ADDR
|
||||
: Address to debug endpoint. Default: `0.0.0.0:9134`.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2020-11-20T09:01:04+0000"
|
||||
date: "2020-11-20T10:01:28+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/proxy/templates
|
||||
|
||||
+220
-220
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2020-11-20T09:01:02+0000"
|
||||
date: "2020-11-20T10:01:25+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/storage/templates
|
||||
@@ -57,117 +57,6 @@ Usage: `storage [global options] command [command options] [arguments...]`
|
||||
|
||||
## Sub Commands
|
||||
|
||||
### 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`.
|
||||
|
||||
--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/metadata`.
|
||||
|
||||
### 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/shares.json`.
|
||||
|
||||
--public-driver | $STORAGE_SHARING_PUBLIC_DRIVER
|
||||
: driver to use for the PublicShareProvider. Default: `json`.
|
||||
|
||||
### 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
|
||||
: 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 auth-basic
|
||||
|
||||
Start authprovider for basic auth
|
||||
|
||||
Usage: `storage auth-basic [command options] [arguments...]`
|
||||
|
||||
--debug-addr | $STORAGE_AUTH_BASIC_DEBUG_ADDR
|
||||
: Address to bind debug server. Default: `0.0.0.0:9147`.
|
||||
|
||||
--auth-driver | $STORAGE_AUTH_DRIVER
|
||||
: auth driver: 'demo', 'json' or 'ldap'. Default: `ldap`.
|
||||
|
||||
--auth-json | $STORAGE_AUTH_JSON
|
||||
: Path to users.json file.
|
||||
|
||||
--network | $STORAGE_AUTH_BASIC_GRPC_NETWORK
|
||||
: Network to use for the storage auth-basic service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
|
||||
|
||||
--addr | $STORAGE_AUTH_BASIC_GRPC_ADDR
|
||||
: Address to bind storage service. Default: `0.0.0.0:9146`.
|
||||
|
||||
### storage frontend
|
||||
|
||||
Start frontend service
|
||||
@@ -213,114 +102,6 @@ Usage: `storage frontend [command options] [arguments...]`
|
||||
--upload-http-method-override | $STORAGE_FRONTEND_UPLOAD_HTTP_METHOD_OVERRIDE
|
||||
: Specify an HTTP method (ex: POST) that clients should to use when uploading instead of PATCH.
|
||||
|
||||
### storage health
|
||||
|
||||
Check health status
|
||||
|
||||
Usage: `storage health [command options] [arguments...]`
|
||||
|
||||
--debug-addr | $STORAGE_DEBUG_ADDR
|
||||
: Address to debug endpoint. Default: `0.0.0.0:9109`.
|
||||
|
||||
### 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 gateway
|
||||
|
||||
Start gateway
|
||||
|
||||
Usage: `storage gateway [command options] [arguments...]`
|
||||
|
||||
--debug-addr | $STORAGE_GATEWAY_DEBUG_ADDR
|
||||
: Address to bind debug server. Default: `0.0.0.0:9143`.
|
||||
|
||||
--transfer-secret | $STORAGE_TRANSFER_SECRET
|
||||
: Transfer secret for datagateway. Default: `replace-me-with-a-transfer-secret`.
|
||||
|
||||
--network | $STORAGE_GATEWAY_GRPC_NETWORK
|
||||
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
|
||||
|
||||
--addr | $STORAGE_GATEWAY_GRPC_ADDR
|
||||
: Address to bind storage service. Default: `0.0.0.0:9142`.
|
||||
|
||||
--endpoint | $STORAGE_GATEWAY_ENDPOINT
|
||||
: endpoint to use for the storage service. Default: `localhost:9142`.
|
||||
|
||||
--commit-share-to-storage-grant | $STORAGE_GATEWAY_COMMIT_SHARE_TO_STORAGE_GRANT
|
||||
: Commit shares to the share manager. Default: `true`.
|
||||
|
||||
--commit-share-to-storage-ref | $STORAGE_GATEWAY_COMMIT_SHARE_TO_STORAGE_REF
|
||||
: Commit shares to the storage. Default: `true`.
|
||||
|
||||
--share-folder | $STORAGE_GATEWAY_SHARE_FOLDER
|
||||
: mount shares in this folder of the home storage provider. Default: `Shares`.
|
||||
|
||||
--disable-home-creation-on-login | $STORAGE_GATEWAY_DISABLE_HOME_CREATION_ON_LOGIN
|
||||
: Disable creation of home folder on login.
|
||||
|
||||
--auth-basic-endpoint | $STORAGE_AUTH_BASIC_ENDPOINT
|
||||
: endpoint to use for the basic auth provider. Default: `localhost:9146`.
|
||||
|
||||
--auth-bearer-endpoint | $STORAGE_AUTH_BEARER_ENDPOINT
|
||||
: endpoint to use for the bearer auth provider. Default: `localhost:9148`.
|
||||
|
||||
--storage-registry-driver | $STORAGE_STORAGE_REGISTRY_DRIVER
|
||||
: driver of the storage registry. Default: `static`.
|
||||
|
||||
--storage-home-provider | $STORAGE_REGISTRY_HOME_PROVIDER
|
||||
: mount point of the storage provider for user homes in the global namespace. Default: `/home`.
|
||||
|
||||
--public-url | $STORAGE_FRONTEND_PUBLIC_URL
|
||||
: URL to use for the storage service. Default: `https://localhost:9200`.
|
||||
|
||||
--datagateway-url | $STORAGE_DATAGATEWAY_PUBLIC_URL
|
||||
: URL to use for the storage datagateway. Default: `https://localhost:9200/data`.
|
||||
|
||||
--userprovider-endpoint | $STORAGE_USERPROVIDER_ENDPOINT
|
||||
: endpoint to use for the userprovider. Default: `localhost:9144`.
|
||||
|
||||
--sharing-endpoint | $STORAGE_SHARING_ENDPOINT
|
||||
: endpoint to use for the storage service. Default: `localhost:9150`.
|
||||
|
||||
--storage-home-endpoint | $STORAGE_HOME_ENDPOINT
|
||||
: endpoint to use for the home storage. Default: `localhost:9154`.
|
||||
|
||||
--storage-home-mount-path | $STORAGE_HOME_MOUNT_PATH
|
||||
: mount path. Default: `/home`.
|
||||
|
||||
--storage-home-mount-id | $STORAGE_HOME_MOUNT_ID
|
||||
: mount id. Default: `1284d238-aa92-42ce-bdc4-0b0000009154`.
|
||||
|
||||
--storage-users-endpoint | $STORAGE_USERS_ENDPOINT
|
||||
: endpoint to use for the users storage. Default: `localhost:9157`.
|
||||
|
||||
--storage-users-mount-path | $STORAGE_USERS_MOUNT_PATH
|
||||
: mount path. Default: `/users`.
|
||||
|
||||
--storage-users-mount-id | $STORAGE_USERS_MOUNT_ID
|
||||
: mount id. Default: `1284d238-aa92-42ce-bdc4-0b0000009157`.
|
||||
|
||||
--public-link-endpoint | $STORAGE_PUBLIC_LINK_ENDPOINT
|
||||
: endpoint to use for the public links service. Default: `localhost:9178`.
|
||||
|
||||
--storage-public-link-mount-path | $STORAGE_PUBLIC_LINK_MOUNT_PATH
|
||||
: mount path. Default: `/public`.
|
||||
|
||||
### storage storage-users
|
||||
|
||||
Start storage-users service
|
||||
@@ -366,6 +147,84 @@ Usage: `storage storage-users [command options] [arguments...]`
|
||||
--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 auth-basic
|
||||
|
||||
Start authprovider for basic auth
|
||||
|
||||
Usage: `storage auth-basic [command options] [arguments...]`
|
||||
|
||||
--debug-addr | $STORAGE_AUTH_BASIC_DEBUG_ADDR
|
||||
: Address to bind debug server. Default: `0.0.0.0:9147`.
|
||||
|
||||
--auth-driver | $STORAGE_AUTH_DRIVER
|
||||
: auth driver: 'demo', 'json' or 'ldap'. Default: `ldap`.
|
||||
|
||||
--auth-json | $STORAGE_AUTH_JSON
|
||||
: Path to users.json file.
|
||||
|
||||
--network | $STORAGE_AUTH_BASIC_GRPC_NETWORK
|
||||
: Network to use for the storage auth-basic service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
|
||||
|
||||
--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
|
||||
: 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 health
|
||||
|
||||
Check health status
|
||||
|
||||
Usage: `storage health [command options] [arguments...]`
|
||||
|
||||
--debug-addr | $STORAGE_DEBUG_ADDR
|
||||
: Address to debug endpoint. Default: `0.0.0.0:9109`.
|
||||
|
||||
### storage storage-public-link
|
||||
|
||||
Start storage-public-link service
|
||||
@@ -486,6 +345,147 @@ Usage: `storage users [command options] [arguments...]`
|
||||
--rest-target-api | $STORAGE_REST_TARGET_API
|
||||
: The target application.
|
||||
|
||||
### storage gateway
|
||||
|
||||
Start gateway
|
||||
|
||||
Usage: `storage gateway [command options] [arguments...]`
|
||||
|
||||
--debug-addr | $STORAGE_GATEWAY_DEBUG_ADDR
|
||||
: Address to bind debug server. Default: `0.0.0.0:9143`.
|
||||
|
||||
--transfer-secret | $STORAGE_TRANSFER_SECRET
|
||||
: Transfer secret for datagateway. Default: `replace-me-with-a-transfer-secret`.
|
||||
|
||||
--network | $STORAGE_GATEWAY_GRPC_NETWORK
|
||||
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
|
||||
|
||||
--addr | $STORAGE_GATEWAY_GRPC_ADDR
|
||||
: Address to bind storage service. Default: `0.0.0.0:9142`.
|
||||
|
||||
--endpoint | $STORAGE_GATEWAY_ENDPOINT
|
||||
: endpoint to use for the storage service. Default: `localhost:9142`.
|
||||
|
||||
--commit-share-to-storage-grant | $STORAGE_GATEWAY_COMMIT_SHARE_TO_STORAGE_GRANT
|
||||
: Commit shares to the share manager. Default: `true`.
|
||||
|
||||
--commit-share-to-storage-ref | $STORAGE_GATEWAY_COMMIT_SHARE_TO_STORAGE_REF
|
||||
: Commit shares to the storage. Default: `true`.
|
||||
|
||||
--share-folder | $STORAGE_GATEWAY_SHARE_FOLDER
|
||||
: mount shares in this folder of the home storage provider. Default: `Shares`.
|
||||
|
||||
--disable-home-creation-on-login | $STORAGE_GATEWAY_DISABLE_HOME_CREATION_ON_LOGIN
|
||||
: Disable creation of home folder on login.
|
||||
|
||||
--auth-basic-endpoint | $STORAGE_AUTH_BASIC_ENDPOINT
|
||||
: endpoint to use for the basic auth provider. Default: `localhost:9146`.
|
||||
|
||||
--auth-bearer-endpoint | $STORAGE_AUTH_BEARER_ENDPOINT
|
||||
: endpoint to use for the bearer auth provider. Default: `localhost:9148`.
|
||||
|
||||
--storage-registry-driver | $STORAGE_STORAGE_REGISTRY_DRIVER
|
||||
: driver of the storage registry. Default: `static`.
|
||||
|
||||
--storage-home-provider | $STORAGE_REGISTRY_HOME_PROVIDER
|
||||
: mount point of the storage provider for user homes in the global namespace. Default: `/home`.
|
||||
|
||||
--public-url | $STORAGE_FRONTEND_PUBLIC_URL
|
||||
: URL to use for the storage service. Default: `https://localhost:9200`.
|
||||
|
||||
--datagateway-url | $STORAGE_DATAGATEWAY_PUBLIC_URL
|
||||
: URL to use for the storage datagateway. Default: `https://localhost:9200/data`.
|
||||
|
||||
--userprovider-endpoint | $STORAGE_USERPROVIDER_ENDPOINT
|
||||
: endpoint to use for the userprovider. Default: `localhost:9144`.
|
||||
|
||||
--sharing-endpoint | $STORAGE_SHARING_ENDPOINT
|
||||
: endpoint to use for the storage service. Default: `localhost:9150`.
|
||||
|
||||
--storage-home-endpoint | $STORAGE_HOME_ENDPOINT
|
||||
: endpoint to use for the home storage. Default: `localhost:9154`.
|
||||
|
||||
--storage-home-mount-path | $STORAGE_HOME_MOUNT_PATH
|
||||
: mount path. Default: `/home`.
|
||||
|
||||
--storage-home-mount-id | $STORAGE_HOME_MOUNT_ID
|
||||
: mount id. Default: `1284d238-aa92-42ce-bdc4-0b0000009154`.
|
||||
|
||||
--storage-users-endpoint | $STORAGE_USERS_ENDPOINT
|
||||
: endpoint to use for the users storage. Default: `localhost:9157`.
|
||||
|
||||
--storage-users-mount-path | $STORAGE_USERS_MOUNT_PATH
|
||||
: mount path. Default: `/users`.
|
||||
|
||||
--storage-users-mount-id | $STORAGE_USERS_MOUNT_ID
|
||||
: mount id. Default: `1284d238-aa92-42ce-bdc4-0b0000009157`.
|
||||
|
||||
--public-link-endpoint | $STORAGE_PUBLIC_LINK_ENDPOINT
|
||||
: endpoint to use for the public links service. Default: `localhost:9178`.
|
||||
|
||||
--storage-public-link-mount-path | $STORAGE_PUBLIC_LINK_MOUNT_PATH
|
||||
: mount path. Default: `/public`.
|
||||
|
||||
### 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`.
|
||||
|
||||
--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/metadata`.
|
||||
|
||||
### 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/shares.json`.
|
||||
|
||||
--public-driver | $STORAGE_SHARING_PUBLIC_DRIVER
|
||||
: driver to use for the PublicShareProvider. Default: `json`.
|
||||
|
||||
## Config for the different Storage Drivers
|
||||
|
||||
You can set different storage drivers for the Storage Providers. Please check the storage provider configuration.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2020-11-20T09:01:08+0000"
|
||||
date: "2020-11-20T10:01:32+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/webdav/templates
|
||||
@@ -54,15 +54,6 @@ 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
|
||||
@@ -123,3 +114,12 @@ 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`.
|
||||
|
||||
Reference in new issue
Block a user