Merge: c2f154f7 94c65c69
Author: Willy Kloucek <34452982+wkloucek@users.noreply.github.com>
Date:   Sat Jan 23 10:25:42 2021 +0100

    Merge pull request #1377 from owncloud/add_log_rotation_deploy_examples

    [docs-only] add log rotation to deploy examples
This commit is contained in:
Willy Kloucek committed 2021-01-23 09:27:45 +00:00
1 parent 9096f32535
commit b66b4fc869
13 files changed
+426 -426

No files matched your search

+25 -25
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-01-22T11:37:08+0000"
date: "2021-01-23T09:26:00+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/accounts/templates
@@ -35,11 +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 rebuildIndex
### accounts inspect
Rebuilds the service's index, i.e. deleting and then re-adding all existing documents
Show detailed data on an existing account
Usage: `accounts rebuildIndex [command options] [arguments...]`
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 ocis-accounts
@@ -80,29 +98,11 @@ Create a new account
Usage: `accounts add [command options] [arguments...]`
### accounts inspect
### accounts rebuildIndex
Show detailed data on an existing account
Rebuilds the service's index, i.e. deleting and then re-adding all existing documents
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`.
Usage: `accounts rebuildIndex [command options] [arguments...]`
### accounts remove
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-01-22T11:37:10+0000"
date: "2021-01-23T09:26:02+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/glauth/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-01-22T11:37:11+0000"
date: "2021-01-23T09:26:03+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/konnectd/templates
+13 -13
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-01-22T11:37:15+0000"
date: "2021-01-23T09:26:07+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocs/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.
### ocs version
Print the versions of the running instances
Usage: `ocs version [command options] [arguments...]`
-http-namespace | $OCS_NAMESPACE
: Set the base namespace for the http namespace. Default: `com.owncloud.web`.
-name | $OCS_NAME
: Service name. Default: `ocs`.
### ocs health
Check health status
@@ -110,15 +122,3 @@ Usage: `ocs server [command options] [arguments...]`
-jwt-secret | $OCS_JWT_SECRET
: Used to dismantle the access token, should equal reva's jwt-secret. Default: `Pive-Fumkiu4`.
### ocs version
Print the versions of the running instances
Usage: `ocs version [command options] [arguments...]`
-http-namespace | $OCS_NAMESPACE
: Set the base namespace for the http namespace. Default: `com.owncloud.web`.
-name | $OCS_NAME
: Service name. Default: `ocs`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-01-22T11:37:22+0000"
date: "2021-01-23T09:26:13+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/onlyoffice/templates
+10 -10
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-01-22T11:37:16+0000"
date: "2021-01-23T09:26:08+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/proxy/templates
@@ -35,6 +35,15 @@ 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 health
Check health status
Usage: `proxy health [command options] [arguments...]`
--debug-addr | $PROXY_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9109`.
### proxy ocis-proxy
proxy for oCIS
@@ -149,12 +158,3 @@ Usage: `proxy version [command options] [arguments...]`
--service-name | $PROXY_SERVICE_NAME
: Service name. Default: `proxy`.
### proxy health
Check health status
Usage: `proxy health [command options] [arguments...]`
--debug-addr | $PROXY_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9109`.
+25 -25
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-01-22T11:37:17+0000"
date: "2021-01-23T09:26:09+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/settings/templates
@@ -35,6 +35,30 @@ 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 health
Check health status
Usage: `settings health [command options] [arguments...]`
-debug-addr | $SETTINGS_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9194`.
### settings ocis-settings
Provide settings and permissions for oCIS
Usage: `settings ocis-settings [command options] [arguments...]`
-log-level | $SETTINGS_LOG_LEVEL
: Set logging level. Default: `info`.
-log-pretty | $SETTINGS_LOG_PRETTY
: Enable pretty logging. Default: `true`.
-log-color | $SETTINGS_LOG_COLOR
: Enable colored logging. Default: `true`.
### settings server
Start integrated server
@@ -110,27 +134,3 @@ Usage: `settings version [command options] [arguments...]`
-name | $SETTINGS_NAME
: service name. Default: `settings`.
### settings health
Check health status
Usage: `settings health [command options] [arguments...]`
-debug-addr | $SETTINGS_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9194`.
### settings ocis-settings
Provide settings and permissions for oCIS
Usage: `settings ocis-settings [command options] [arguments...]`
-log-level | $SETTINGS_LOG_LEVEL
: Set logging level. Default: `info`.
-log-pretty | $SETTINGS_LOG_PRETTY
: Enable pretty logging. Default: `true`.
-log-color | $SETTINGS_LOG_COLOR
: Enable colored logging. Default: `true`.
+248 -248
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-01-22T11:37:18+0000"
date: "2021-01-23T09:26:09+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/storage/templates
@@ -55,6 +55,144 @@ Usage: `storage [global options] command [command options] [arguments...]`
## Sub Commands
### storage frontend
Start frontend service
Usage: `storage frontend [command options] [arguments...]`
-debug-addr | $STORAGE_FRONTEND_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9141`.
-transfer-secret | $STORAGE_TRANSFER_SECRET
: Transfer secret for datagateway. Default: `replace-me-with-a-transfer-secret`.
-chunk-folder | $STORAGE_CHUNK_FOLDER
: temp directory for chunked uploads. Default: `/var/tmp/ocis/tmp/chunks`.
-webdav-namespace | $STORAGE_WEBDAV_NAMESPACE
: Namespace prefix for the /webdav endpoint. Default: `/home/`.
-dav-files-namespace | $STORAGE_DAV_FILES_NAMESPACE
: Namespace prefix for the webdav /dav/files endpoint. Default: `/users/`.
-network | $STORAGE_FRONTEND_HTTP_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
-addr | $STORAGE_FRONTEND_HTTP_ADDR
: Address to bind storage service. Default: `0.0.0.0:9140`.
-public-url | $STORAGE_FRONTEND_PUBLIC_URL , $OCIS_URL
: URL to use for the storage service. Default: `https://localhost:9200`.
-datagateway-prefix | $STORAGE_FRONTEND_DATAGATEWAY_PREFIX
: datagateway prefix. Default: `data`.
-ocdav-prefix | $STORAGE_FRONTEND_OCDAV_PREFIX
: owncloud webdav endpoint prefix.
-ocs-prefix | $STORAGE_FRONTEND_OCS_PREFIX
: open collaboration services endpoint prefix. Default: `ocs`.
-ocs-share-prefix | $STORAGE_FRONTEND_OCS_Share_PREFIX
: the prefix prepended to the path of shared files. Default: `/Shares`.
-gateway-url | $STORAGE_GATEWAY_ENDPOINT
: URL to use for the storage gateway service. Default: `localhost:9142`.
-upload-disable-tus | $STORAGE_FRONTEND_UPLOAD_DISABLE_TUS
: Disables TUS upload mechanism. Default: `false`.
-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 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-metadata
Start storage-metadata service
@@ -142,186 +280,6 @@ Usage: `storage storage-users [command options] [arguments...]`
-users-endpoint | $STORAGE_USERPROVIDER_ENDPOINT
: endpoint to use for the storage service. Default: `localhost:9144`.
### 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 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 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-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
@@ -343,57 +301,6 @@ 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 frontend
Start frontend service
Usage: `storage frontend [command options] [arguments...]`
-debug-addr | $STORAGE_FRONTEND_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9141`.
-transfer-secret | $STORAGE_TRANSFER_SECRET
: Transfer secret for datagateway. Default: `replace-me-with-a-transfer-secret`.
-chunk-folder | $STORAGE_CHUNK_FOLDER
: temp directory for chunked uploads. Default: `/var/tmp/ocis/tmp/chunks`.
-webdav-namespace | $STORAGE_WEBDAV_NAMESPACE
: Namespace prefix for the /webdav endpoint. Default: `/home/`.
-dav-files-namespace | $STORAGE_DAV_FILES_NAMESPACE
: Namespace prefix for the webdav /dav/files endpoint. Default: `/users/`.
-network | $STORAGE_FRONTEND_HTTP_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
-addr | $STORAGE_FRONTEND_HTTP_ADDR
: Address to bind storage service. Default: `0.0.0.0:9140`.
-public-url | $STORAGE_FRONTEND_PUBLIC_URL , $OCIS_URL
: URL to use for the storage service. Default: `https://localhost:9200`.
-datagateway-prefix | $STORAGE_FRONTEND_DATAGATEWAY_PREFIX
: datagateway prefix. Default: `data`.
-ocdav-prefix | $STORAGE_FRONTEND_OCDAV_PREFIX
: owncloud webdav endpoint prefix.
-ocs-prefix | $STORAGE_FRONTEND_OCS_PREFIX
: open collaboration services endpoint prefix. Default: `ocs`.
-ocs-share-prefix | $STORAGE_FRONTEND_OCS_Share_PREFIX
: the prefix prepended to the path of shared files. Default: `/Shares`.
-gateway-url | $STORAGE_GATEWAY_ENDPOINT
: URL to use for the storage gateway service. Default: `localhost:9142`.
-upload-disable-tus | $STORAGE_FRONTEND_UPLOAD_DISABLE_TUS
: Disables TUS upload mechanism. Default: `false`.
-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 gateway
Start gateway
@@ -475,32 +382,125 @@ Usage: `storage gateway [command options] [arguments...]`
-storage-public-link-mount-path | $STORAGE_PUBLIC_LINK_MOUNT_PATH
: mount path. Default: `/public`.
### storage sharing
### storage storage
Start sharing service
Storage service for oCIS
Usage: `storage sharing [command options] [arguments...]`
Usage: `storage storage [command options] [arguments...]`
-debug-addr | $STORAGE_SHARING_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9151`.
-config-file | $STORAGE_CONFIG_FILE
: Path to config file.
-network | $STORAGE_SHARING_GRPC_NETWORK
-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-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_SHARING_GRPC_ADDR
: Address to bind storage service. Default: `0.0.0.0:9150`.
-addr | $STORAGE_PUBLIC_LINK_GRPC_ADDR
: Address to bind storage service. Default: `0.0.0.0:9178`.
-user-driver | $STORAGE_SHARING_USER_DRIVER
: driver to use for the UserShareProvider. Default: `json`.
-mount-path | $STORAGE_PUBLIC_LINK_MOUNT_PATH
: mount path. Default: `/public`.
-user-json-file | $STORAGE_SHARING_USER_JSON_FILE
: file used to persist shares for the UserShareProvider. Default: `/var/tmp/ocis/storage/shares.json`.
-gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT
: endpoint to use for the storage gateway service. Default: `localhost:9142`.
-public-driver | $STORAGE_SHARING_PUBLIC_DRIVER
: driver to use for the PublicShareProvider. Default: `json`.
### storage users
-public-json-file | $STORAGE_SHARING_PUBLIC_JSON_FILE
: file used to persist shares for the PublicShareProvider. Default: `/var/tmp/ocis/storage/publicshares.json`.
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-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`.
## Config for the different Storage Drivers
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-01-22T11:37:19+0000"
date: "2021-01-23T09:26:10+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/store/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-01-22T11:37:20+0000"
date: "2021-01-23T09:26:11+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-01-22T11:37:14+0000"
date: "2021-01-23T09:26:06+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/web/templates
+13 -13
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-01-22T11:37:21+0000"
date: "2021-01-23T09:26:12+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`.
+86 -86
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-01-22T11:37:13+0000"
date: "2021-01-23T09:26:05+0000"
weight: 2
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocis/templates
@@ -77,11 +77,11 @@ Usage: `ocis [global options] command [command options] [arguments...]`
## Sub Commands
### ocis list
### ocis run
Lists running ocis extensions
Runs an extension
Usage: `ocis list [command options] [arguments...]`
Usage: `ocis run [command options] [arguments...]`
### ocis health
@@ -98,12 +98,6 @@ Kill an extension by name
Usage: `ocis kill [command options] [arguments...]`
### ocis run
Runs an extension
Usage: `ocis run [command options] [arguments...]`
### ocis server
Start fullstack server
@@ -131,95 +125,101 @@ Usage: `ocis server [command options] [arguments...]`
-grpc-addr | $OCIS_GRPC_ADDR
: Address to bind grpc server. Default: `0.0.0.0:9001`.
### ocis list
Lists running ocis extensions
Usage: `ocis list [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-sharing
Start storage sharing service
#### ocis accounts
Start accounts server
#### ocis konnectd
Start konnectd server
#### ocis proxy
Start proxy server
#### ocis storage-metadata
Start storage and data service for metadata
#### ocis ocs
#### ocis storage-sharing
Start ocs server
Start storage sharing service
#### ocis onlyoffice
#### ocis konnectd
Start onlyoffice server
#### ocis storage-auth-bearer
Start storage auth-bearer service
#### ocis storage-auth-basic
Start storage auth-basic service
#### ocis storage-users
Start storage and data provider for /users mount
#### ocis webdav
Start webdav server
#### ocis settings
Start settings server
#### ocis storage-frontend
Start storage frontend
#### ocis storage-public-link
Start storage public link storage
#### ocis store
Start a go-micro store
#### ocis thumbnails
Start thumbnails server
#### ocis web
Start web server
#### ocis glauth
Start glauth server
#### ocis storage-gateway
Start storage gateway
#### ocis storage-userprovider
Start storage userprovider service
Start konnectd server
#### ocis version
Lists running services with version
#### ocis settings
Start settings server
#### ocis storage-home
Start storage and data provider for /home mount
#### ocis web
Start web server
#### ocis ocs
Start ocs server
#### ocis storage-auth-basic
Start storage auth-basic service
#### ocis storage-public-link
Start storage public link storage
#### ocis storage-frontend
Start storage frontend
#### ocis store
Start a go-micro store
#### ocis onlyoffice
Start onlyoffice server
#### ocis proxy
Start proxy server
#### ocis storage-auth-bearer
Start storage auth-bearer service
#### ocis webdav
Start webdav server
#### ocis glauth
Start glauth server
#### ocis storage-userprovider
Start storage userprovider service
#### ocis storage-gateway
Start storage gateway
#### ocis storage-users
Start storage and data provider for /users mount
#### ocis thumbnails
Start thumbnails server
#### ocis accounts
Start accounts server