From bf9db4acde0c739f08f5725fb686db487381f1e5 Mon Sep 17 00:00:00 2001 From: Willy Kloucek <34452982+wkloucek@users.noreply.github.com> Date: Wed, 30 Dec 2020 15:03:34 +0000 Subject: [PATCH] commit 3b636d25402435e7839dabd3c947c6a0e13bd1c1 Merge: dec6008d e05f7146 Author: Willy Kloucek <34452982+wkloucek@users.noreply.github.com> Date: Wed Dec 30 16:02:21 2020 +0100 Merge pull request #1167 from owncloud/change_badges [docs-only] change badges --- extensions/accounts/configuration.md | 68 ++-- extensions/glauth/configuration.md | 2 +- extensions/konnectd/configuration.md | 2 +- extensions/ocs/configuration.md | 2 +- extensions/onlyoffice/configuration.md | 2 +- extensions/proxy/configuration.md | 26 +- extensions/settings/configuration.md | 26 +- extensions/storage/configuration.md | 442 ++++++++++++------------- extensions/store/configuration.md | 44 +-- extensions/thumbnails/configuration.md | 2 +- extensions/web/configuration.md | 2 +- extensions/webdav/configuration.md | 26 +- ocis/configuration.md | 142 ++++---- 13 files changed, 393 insertions(+), 393 deletions(-) diff --git a/extensions/accounts/configuration.md b/extensions/accounts/configuration.md index 1407585b3fe..da217f67760 100644 --- a/extensions/accounts/configuration.md +++ b/extensions/accounts/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-30T12:37:03+0000" +date: "2020-12-30T15:03:05+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/accounts/templates @@ -35,17 +35,29 @@ 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 +### accounts list -Create a new account +List existing accounts -Usage: `accounts add [command options] [arguments...]` +Usage: `accounts list [command options] [arguments...]` -### accounts rebuildIndex +-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE +: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`. -Rebuilds the service's index, i.e. deleting and then re-adding all existing documents +-name | $ACCOUNTS_NAME +: service name. Default: `accounts`. -Usage: `accounts rebuildIndex [command options] [arguments...]` +### 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 server @@ -113,6 +125,18 @@ 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 add + +Create a new account + +Usage: `accounts add [command options] [arguments...]` + ### accounts inspect Show detailed data on an existing account @@ -125,29 +149,11 @@ Usage: `accounts inspect [command options] [arguments...]` -name | $ACCOUNTS_NAME : service name. Default: `accounts`. -### accounts list +### accounts rebuildIndex -List existing accounts +Rebuilds the service's index, i.e. deleting and then re-adding all existing documents -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`. +Usage: `accounts rebuildIndex [command options] [arguments...]` ### accounts ocis-accounts @@ -164,12 +170,6 @@ Usage: `accounts ocis-accounts [command options] [arguments...]` -log-color | $ACCOUNTS_LOG_COLOR : Enable colored logging. Default: `true`. -### accounts update - -Make changes to an existing account - -Usage: `accounts update [command options] [arguments...]` - ### accounts version Print the versions of the running instances diff --git a/extensions/glauth/configuration.md b/extensions/glauth/configuration.md index 3dcb04fbec0..5a9d4fad488 100644 --- a/extensions/glauth/configuration.md +++ b/extensions/glauth/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-30T12:37:05+0000" +date: "2020-12-30T15:03:07+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/glauth/templates diff --git a/extensions/konnectd/configuration.md b/extensions/konnectd/configuration.md index ef44f0243f8..e63d1ce59de 100644 --- a/extensions/konnectd/configuration.md +++ b/extensions/konnectd/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-30T12:37:06+0000" +date: "2020-12-30T15:03:09+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/konnectd/templates diff --git a/extensions/ocs/configuration.md b/extensions/ocs/configuration.md index 4adaaed4832..6847eced3c6 100644 --- a/extensions/ocs/configuration.md +++ b/extensions/ocs/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-30T12:37:10+0000" +date: "2020-12-30T15:03:12+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/ocs/templates diff --git a/extensions/onlyoffice/configuration.md b/extensions/onlyoffice/configuration.md index 4bb84093352..334b28471eb 100644 --- a/extensions/onlyoffice/configuration.md +++ b/extensions/onlyoffice/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-30T12:37:18+0000" +date: "2020-12-30T15:03:19+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/onlyoffice/templates diff --git a/extensions/proxy/configuration.md b/extensions/proxy/configuration.md index 27cc30f2181..a22bbf594b4 100644 --- a/extensions/proxy/configuration.md +++ b/extensions/proxy/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-30T12:37:11+0000" +date: "2020-12-30T15:03:13+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/proxy/templates @@ -35,6 +35,18 @@ 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. +### proxy version + +Print the versions of the running instances + +Usage: `proxy version [command options] [arguments...]` + +--service-namespace | $PROXY_SERVICE_NAMESPACE +: Set the base namespace for the service namespace. Default: `com.owncloud.web`. + +--service-name | $PROXY_SERVICE_NAME +: Service name. Default: `proxy`. + ### proxy health Check health status @@ -146,15 +158,3 @@ Usage: `proxy server [command options] [arguments...]` --account-backend-type | $PROXY_ACCOUNT_BACKEND_TYPE : account-backend-type. Default: `accounts`. -### proxy version - -Print the versions of the running instances - -Usage: `proxy version [command options] [arguments...]` - ---service-namespace | $PROXY_SERVICE_NAMESPACE -: Set the base namespace for the service namespace. Default: `com.owncloud.web`. - ---service-name | $PROXY_SERVICE_NAME -: Service name. Default: `proxy`. - diff --git a/extensions/settings/configuration.md b/extensions/settings/configuration.md index eadd68bea23..e3c937d7013 100644 --- a/extensions/settings/configuration.md +++ b/extensions/settings/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-30T12:37:12+0000" +date: "2020-12-30T15:03:14+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/settings/templates @@ -35,18 +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. -### settings version - -Print the versions of the running instances - -Usage: `settings version [command options] [arguments...]` - --grpc-namespace | $SETTINGS_GRPC_NAMESPACE -: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`. - --name | $SETTINGS_NAME -: service name. Default: `settings`. - ### settings health Check health status @@ -134,3 +122,15 @@ Usage: `settings server [command options] [arguments...]` -jwt-secret | $SETTINGS_JWT_SECRET : Used to create JWT to talk to reva, should equal reva's jwt-secret. Default: `Pive-Fumkiu4`. +### settings version + +Print the versions of the running instances + +Usage: `settings version [command options] [arguments...]` + +-grpc-namespace | $SETTINGS_GRPC_NAMESPACE +: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`. + +-name | $SETTINGS_NAME +: service name. Default: `settings`. + diff --git a/extensions/storage/configuration.md b/extensions/storage/configuration.md index 4a0621220c3..52d39f3c6bd 100644 --- a/extensions/storage/configuration.md +++ b/extensions/storage/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-30T12:37:13+0000" +date: "2020-12-30T15:03:15+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/storage/templates @@ -55,6 +55,168 @@ 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`. + +-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. + +### 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 , $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 @@ -136,14 +298,23 @@ Usage: `storage gateway [command options] [arguments...]` -storage-public-link-mount-path | $STORAGE_PUBLIC_LINK_MOUNT_PATH : mount path. Default: `/public`. -### storage health +### storage storage -Check health status +Storage service for oCIS -Usage: `storage health [command options] [arguments...]` +Usage: `storage storage [command options] [arguments...]` --debug-addr | $STORAGE_DEBUG_ADDR -: Address to debug endpoint. Default: `0.0.0.0:9109`. +-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 @@ -223,56 +394,53 @@ Usage: `storage storage-home [command options] [arguments...]` -users-endpoint | $STORAGE_USERPROVIDER_ENDPOINT : endpoint to use for the storage service. Default: `localhost:9144`. -### storage auth-basic +### storage storage-users -Start authprovider for basic auth +Start storage-users service -Usage: `storage auth-basic [command options] [arguments...]` +Usage: `storage storage-users [command options] [arguments...]` --debug-addr | $STORAGE_AUTH_BASIC_DEBUG_ADDR -: Address to bind debug server. Default: `0.0.0.0:9147`. +-debug-addr | $STORAGE_USERS_DEBUG_ADDR +: Address to bind debug server. Default: `0.0.0.0:9159`. --auth-driver | $STORAGE_AUTH_DRIVER -: auth driver: 'demo', 'json' or 'ldap'. Default: `ldap`. +-grpc-network | $STORAGE_USERS_GRPC_NETWORK +: Network to use for the users storage, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. --auth-json | $STORAGE_AUTH_JSON -: Path to users.json file. +-grpc-addr | $STORAGE_USERS_GRPC_ADDR +: GRPC Address to bind users storage. Default: `0.0.0.0:9157`. --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 , $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 +-http-network | $STORAGE_USERS_HTTP_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`. +-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 frontend @@ -325,182 +493,14 @@ 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 storage-public-link +### storage health -Start storage-public-link service +Check health status -Usage: `storage storage-public-link [command options] [arguments...]` +Usage: `storage health [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 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 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 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-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`. +-debug-addr | $STORAGE_DEBUG_ADDR +: Address to debug endpoint. Default: `0.0.0.0:9109`. ## Config for the different Storage Drivers diff --git a/extensions/store/configuration.md b/extensions/store/configuration.md index 56cfa16559a..33919a2eae1 100644 --- a/extensions/store/configuration.md +++ b/extensions/store/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-30T12:37:14+0000" +date: "2020-12-30T15:03:16+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/store/templates @@ -35,6 +35,27 @@ 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 version + +Print the versions of the running instances + +Usage: `store version [command options] [arguments...]` + +-grpc-namespace | $STORE_GRPC_NAMESPACE +: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`. + +-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 @@ -95,24 +116,3 @@ Usage: `store server [command options] [arguments...]` -data-path | $STORE_DATA_PATH : location of the store data path. Default: `/var/tmp/ocis/store`. -### store version - -Print the versions of the running instances - -Usage: `store version [command options] [arguments...]` - --grpc-namespace | $STORE_GRPC_NAMESPACE -: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`. - --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`. - diff --git a/extensions/thumbnails/configuration.md b/extensions/thumbnails/configuration.md index 8b47fc79eb3..e2a61428fef 100644 --- a/extensions/thumbnails/configuration.md +++ b/extensions/thumbnails/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-30T12:37:15+0000" +date: "2020-12-30T15:03:17+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/thumbnails/templates diff --git a/extensions/web/configuration.md b/extensions/web/configuration.md index c0196aee230..4ee1e735992 100644 --- a/extensions/web/configuration.md +++ b/extensions/web/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-30T12:37:09+0000" +date: "2020-12-30T15:03:11+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/web/templates diff --git a/extensions/webdav/configuration.md b/extensions/webdav/configuration.md index 18d21dd058c..557b7b3bc6d 100644 --- a/extensions/webdav/configuration.md +++ b/extensions/webdav/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-30T12:37:17+0000" +date: "2020-12-30T15:03:18+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/webdav/templates @@ -52,6 +52,18 @@ Usage: `webdav [global options] command [command options] [arguments...]` ## Sub Commands +### webdav version + +Print the versions of the running instances + +Usage: `webdav version [command options] [arguments...]` + +-http-namespace | $WEBDAV_HTTP_NAMESPACE +: Set the base namespace for service discovery. Default: `com.owncloud.web`. + +-service-name | $WEBDAV_SERVICE_NAME +: Service name. Default: `webdav`. + ### webdav health Check health status @@ -109,15 +121,3 @@ Usage: `webdav server [command options] [arguments...]` -http-root | $WEBDAV_HTTP_ROOT : Root path of http server. Default: `/`. -### webdav version - -Print the versions of the running instances - -Usage: `webdav version [command options] [arguments...]` - --http-namespace | $WEBDAV_HTTP_NAMESPACE -: Set the base namespace for service discovery. Default: `com.owncloud.web`. - --service-name | $WEBDAV_SERVICE_NAME -: Service name. Default: `webdav`. - diff --git a/ocis/configuration.md b/ocis/configuration.md index b553ab2d66d..8d455235aef 100644 --- a/ocis/configuration.md +++ b/ocis/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-30T12:37:08+0000" +date: "2020-12-30T15:03:10+0000" weight: 2 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/ocis/templates @@ -77,24 +77,6 @@ Usage: `ocis [global options] command [command options] [arguments...]` ## Sub Commands -### 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 list - -Lists running ocis extensions - -Usage: `ocis list [command options] [arguments...]` - ### ocis health Check health status @@ -104,6 +86,12 @@ 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 server Start fullstack server @@ -131,21 +119,77 @@ Usage: `ocis server [command options] [arguments...]` -grpc-addr | $OCIS_GRPC_ADDR : Address to bind grpc server. Default: `0.0.0.0:9001`. +### ocis kill + +Kill an extension by name + +Usage: `ocis kill [command options] [arguments...]` + +### ocis run + +Runs an extension + +Usage: `ocis run [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-home + +Start storage and data provider for /home mount + +#### ocis storage-public-link + +Start storage public link storage + +#### ocis storage-auth-bearer + +Start storage auth-bearer service + +#### ocis thumbnails + +Start thumbnails server + #### ocis glauth Start glauth server +#### ocis proxy + +Start proxy server + +#### ocis konnectd + +Start konnectd server + #### ocis ocs Start ocs server -#### ocis version +#### ocis onlyoffice -Lists running services with version +Start onlyoffice server + +#### ocis storage-auth-basic + +Start storage auth-basic service + +#### ocis storage-users + +Start storage and data provider for /users mount + +#### ocis accounts + +Start accounts server + +#### ocis storage-sharing + +Start storage sharing service + +#### ocis store + +Start a go-micro store #### ocis web @@ -159,53 +203,9 @@ Start settings server Start storage and data service for metadata -#### ocis webdav +#### ocis storage-gateway -Start webdav server - -#### ocis accounts - -Start accounts server - -#### ocis onlyoffice - -Start onlyoffice server - -#### ocis storage-auth-basic - -Start storage auth-basic service - -#### ocis storage-auth-bearer - -Start storage auth-bearer service - -#### ocis storage-home - -Start storage and data provider for /home mount - -#### ocis storage-public-link - -Start storage public link storage - -#### ocis storage-sharing - -Start storage sharing service - -#### ocis storage-users - -Start storage and data provider for /users mount - -#### ocis proxy - -Start proxy server - -#### ocis store - -Start a go-micro store - -#### ocis thumbnails - -Start thumbnails server +Start storage gateway #### ocis storage-userprovider @@ -215,11 +215,11 @@ Start storage userprovider service Start storage frontend -#### ocis storage-gateway +#### ocis webdav -Start storage gateway +Start webdav server -#### ocis konnectd +#### ocis version -Start konnectd server +Lists running services with version