Merge: bbb94c40 7ad38d77
Author: Jörn Friedrich Dreyer <jfd@butonic.de>
Date:   Mon Feb 22 20:36:05 2021 +0100

    Merge pull request #1699 from owncloud/fix-token-ttl

    fix token cache TTL
This commit is contained in:
Jörn Friedrich Dreyer committed 2021-02-22 19:38:47 +00:00
1 parent dfa3794cce
commit c5ecd669bc
15 files changed
+491 -491

No files matched your search

+59 -59
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-02-22T19:36:12+0000"
date: "2021-02-22T19:36:43+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/accounts/templates
@@ -35,57 +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.
### 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
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
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 server
Start ocis accounts service
@@ -158,17 +107,17 @@ Make changes to an existing account
Usage: `accounts update [command options] [arguments...]`
### 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
Usage: `accounts rebuildIndex [command options] [arguments...]`
-name | $ACCOUNTS_NAME
: service name. Default: `accounts`.
### accounts remove
@@ -182,3 +131,54 @@ Usage: `accounts remove [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 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 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...]`
### 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`.
+10 -10
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-02-22T19:37:27+0000"
date: "2021-02-22T19:38:11+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/glauth/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.
### 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
@@ -149,12 +158,3 @@ 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`.
+10 -10
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-02-22T19:37:29+0000"
date: "2021-02-22T19:38:13+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph-explorer/templates
@@ -52,15 +52,6 @@ Usage: `graph-explorer [global options] command [command options] [arguments...]
## Sub Commands
### graph-explorer health
Check health status
Usage: `graph-explorer health [command options] [arguments...]`
-debug-addr | $GRAPH_EXPLORER_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9136`.
### graph-explorer server
Start integrated server
@@ -112,3 +103,12 @@ Usage: `graph-explorer server [command options] [arguments...]`
-graph-url | $GRAPH_EXPLORER_GRAPH_URL
: Set the url to the graph api service. Default: `http://localhost:9120`.
### graph-explorer health
Check health status
Usage: `graph-explorer health [command options] [arguments...]`
-debug-addr | $GRAPH_EXPLORER_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9136`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-02-22T19:37:31+0000"
date: "2021-02-22T19:38:15+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-02-22T19:37:32+0000"
date: "2021-02-22T19:38:17+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/idp/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-02-22T19:37:34+0000"
date: "2021-02-22T19:38:20+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocs/templates
+10 -10
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-02-22T19:37:35+0000"
date: "2021-02-22T19:38:21+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/onlyoffice/templates
@@ -59,15 +59,6 @@ Usage: `onlyoffice [global options] command [command options] [arguments...]`
## Sub Commands
### onlyoffice health
Check health status
Usage: `onlyoffice health [command options] [arguments...]`
-debug-addr | $ONLYOFFICE_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9224`.
### onlyoffice server
Start integrated server
@@ -113,3 +104,12 @@ Usage: `onlyoffice server [command options] [arguments...]`
-asset-path | $ONLYOFFICE_ASSET_PATH
: Path to custom assets.
### onlyoffice health
Check health status
Usage: `onlyoffice health [command options] [arguments...]`
-debug-addr | $ONLYOFFICE_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9224`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-02-22T19:37:37+0000"
date: "2021-02-22T19:38:23+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-22T19:37:38+0000"
date: "2021-02-22T19:38:24+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/settings/templates
+262 -262
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-02-22T19:37:39+0000"
date: "2021-02-22T19:38:25+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/storage/templates
@@ -55,47 +55,68 @@ Usage: `storage [global options] command [command options] [arguments...]`
## Sub Commands
### storage groups
### storage frontend
Start groups service
Start frontend service
Usage: `storage groups [command options] [arguments...]`
Usage: `storage frontend [command options] [arguments...]`
-debug-addr | $STORAGE_GROUPPROVIDER_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9161`.
-debug-addr | $STORAGE_FRONTEND_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9141`.
-network | $STORAGE_GROUPPROVIDER_NETWORK
-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_GROUPPROVIDER_ADDR
: Address to bind storage service. Default: `0.0.0.0:9160`.
-addr | $STORAGE_FRONTEND_HTTP_ADDR
: Address to bind storage service. Default: `0.0.0.0:9140`.
-endpoint | $STORAGE_GROUPPROVIDER_ENDPOINT
: URL to use for the storage service. Default: `localhost:9160`.
-public-url | $STORAGE_FRONTEND_PUBLIC_URL , $OCIS_URL
: URL to use for the storage service. Default: `https://localhost:9200`.
-driver | $STORAGE_GROUPPROVIDER_DRIVER
: group driver: 'json', 'ldap', or 'rest'. Default: `ldap`.
-datagateway-prefix | $STORAGE_FRONTEND_DATAGATEWAY_PREFIX
: datagateway prefix. Default: `data`.
-json-config | $STORAGE_GROUPPROVIDER_JSON
: Path to groups.json file.
-ocdav-prefix | $STORAGE_FRONTEND_OCDAV_PREFIX
: owncloud webdav endpoint prefix.
### storage storage
-ocs-prefix | $STORAGE_FRONTEND_OCS_PREFIX
: open collaboration services endpoint prefix. Default: `ocs`.
Storage service for oCIS
-ocs-share-prefix | $STORAGE_FRONTEND_OCS_Share_PREFIX
: the prefix prepended to the path of shared files. Default: `/Shares`.
Usage: `storage storage [command options] [arguments...]`
-gateway-url | $STORAGE_GATEWAY_ENDPOINT
: URL to use for the storage gateway service. Default: `localhost:9142`.
-config-file | $STORAGE_CONFIG_FILE
: Path to config file.
-default-upload-protocol | $STORAGE_FRONTEND_DEFAULT_UPLOAD_PROTOCOL
: Default upload chunking protocol to be used out of tus/v1/ng. Default: `tus`.
-log-level | $STORAGE_LOG_LEVEL
: Set logging level. Default: `info`.
-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.
-log-pretty | $STORAGE_LOG_PRETTY
: Enable pretty logging.
-checksum-preferred-upload-type | $STORAGE_FRONTEND_CHECKSUM_PREFERRED_UPLOAD_TYPE
: Specify the preferred checksum algorithm used for uploads.
-log-color | $STORAGE_LOG_COLOR
: Enable colored logging.
### 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
@@ -124,6 +145,54 @@ Usage: `storage sharing [command options] [arguments...]`
-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 auth-basic
Start authprovider for basic auth
@@ -145,6 +214,159 @@ 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 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 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 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.
### storage auth-bearer
Start authprovider for bearer auth
@@ -262,251 +484,29 @@ Usage: `storage gateway [command options] [arguments...]`
-storage-public-link-mount-path | $STORAGE_PUBLIC_LINK_MOUNT_PATH
: mount path. Default: `/public`.
### storage storage-metadata
### storage groups
Start storage-metadata service
Start groups service
Usage: `storage storage-metadata [command options] [arguments...]`
Usage: `storage groups [command options] [arguments...]`
-debug-addr | $STORAGE_METADATA_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9217`.
-debug-addr | $STORAGE_GROUPPROVIDER_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9161`.
-grpc-network | $STORAGE_METADATA_GRPC_NETWORK
-network | $STORAGE_GROUPPROVIDER_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`.
-addr | $STORAGE_GROUPPROVIDER_ADDR
: Address to bind storage service. Default: `0.0.0.0:9160`.
-data-server-url | $STORAGE_METADATA_DATA_SERVER_URL
: URL of the data-provider the storage-provider uses. Default: `http://localhost:9216`.
-endpoint | $STORAGE_GROUPPROVIDER_ENDPOINT
: URL to use for the storage service. Default: `localhost:9160`.
-http-network | $STORAGE_METADATA_HTTP_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
-driver | $STORAGE_GROUPPROVIDER_DRIVER
: group driver: 'json', 'ldap', or 'rest'. Default: `ldap`.
-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-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
Usage: `storage health [command options] [arguments...]`
-debug-addr | $STORAGE_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9109`.
### 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.
### 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`.
-default-upload-protocol | $STORAGE_FRONTEND_DEFAULT_UPLOAD_PROTOCOL
: Default upload chunking protocol to be used out of tus/v1/ng. Default: `tus`.
-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.
-checksum-preferred-upload-type | $STORAGE_FRONTEND_CHECKSUM_PREFERRED_UPLOAD_TYPE
: Specify the preferred checksum algorithm used for uploads.
-json-config | $STORAGE_GROUPPROVIDER_JSON
: Path to groups.json file.
## Config for the different Storage Drivers
+28 -28
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-02-22T19:37:41+0000"
date: "2021-02-22T19:38:26+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`.
+10 -10
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-02-22T19:37:42+0000"
date: "2021-02-22T19:38:27+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/thumbnails/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.
### thumbnails health
Check health status
Usage: `thumbnails health [command options] [arguments...]`
-debug-addr | $THUMBNAILS_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9189`.
### thumbnails ocis-thumbnails
Example usage
@@ -125,3 +116,12 @@ Usage: `thumbnails version [command options] [arguments...]`
-grpc-namespace | $THUMBNAILS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`.
### thumbnails health
Check health status
Usage: `thumbnails health [command options] [arguments...]`
-debug-addr | $THUMBNAILS_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9189`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-02-22T19:37:42+0000"
date: "2021-02-22T19:38:28+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-22T19:37:44+0000"
date: "2021-02-22T19:38:29+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/webdav/templates
@@ -52,15 +52,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
@@ -121,3 +112,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`.
+86 -86
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-02-22T19:37:33+0000"
date: "2021-02-22T19:38:19+0000"
weight: 2
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocis/templates
@@ -74,33 +74,6 @@ Usage: `ocis [global options] command [command options] [arguments...]`
## Sub Commands
### 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 list
Lists running ocis extensions
Usage: `ocis list [command options] [arguments...]`
### ocis kill
Kill an extension by name
Usage: `ocis kill [command options] [arguments...]`
### ocis server
Start fullstack server
@@ -128,99 +101,126 @@ Usage: `ocis server [command options] [arguments...]`
-grpc-addr | $OCIS_GRPC_ADDR
: Address to bind grpc server. Default: `0.0.0.0:9001`.
### 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 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 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 glauth
Start glauth server
#### ocis onlyoffice
Start onlyoffice server
#### ocis storage-auth-bearer
#### ocis storage-metadata
Start storage auth-bearer service
#### ocis storage-gateway
Start storage gateway
#### ocis settings
Start settings server
#### ocis storage-home
Start storage and data provider for /home mount
#### ocis version
Lists running services with version
#### ocis accounts
Start accounts server
#### ocis storage-public-link
Start storage public link storage
Start storage and data service for metadata
#### ocis storage-sharing
Start storage sharing service
#### ocis thumbnails
#### ocis store
Start thumbnails server
#### ocis ocs
Start ocs server
Start a go-micro store
#### ocis proxy
Start proxy server
#### ocis storage-frontend
#### ocis storage-home
Start storage frontend
#### ocis storage-groupprovider
Start storage groupprovider service
#### ocis storage-users
Start storage and data provider for /users mount
Start storage and data provider for /home mount
#### ocis web
Start web server
#### ocis ocs
Start ocs server
#### ocis storage-public-link
Start storage public link storage
#### ocis storage-users
Start storage and data provider for /users mount
#### ocis accounts
Start accounts server
#### ocis idp
Start idp server
#### ocis storage-userprovider
Start storage userprovider service
#### ocis webdav
Start webdav server
#### ocis storage-auth-basic
Start storage auth-basic service
#### ocis storage-metadata
#### ocis thumbnails
Start storage and data service for metadata
Start thumbnails server
#### ocis store
#### ocis glauth
Start a go-micro store
Start glauth server
#### ocis storage-gateway
Start storage gateway
#### ocis storage-groupprovider
Start storage groupprovider service
#### ocis storage-auth-bearer
Start storage auth-bearer service
#### ocis storage-frontend
Start storage frontend
#### ocis webdav
Start webdav server
#### ocis settings
Start settings server
#### ocis storage-userprovider
Start storage userprovider service
#### ocis version
Lists running services with version