Merge: ed8d8507 c5bef360
Author: Alex Unger <6905948+refs@users.noreply.github.com>
Date:   Fri Mar 26 13:01:35 2021 +0100

    Merge pull request #1819 from owncloud/refactor-extensions
This commit is contained in:
Alex Unger committed 2021-03-26 12:05:28 +00:00
1 parent fbb6c79df6
commit ffaaee1f9e
15 files changed
+395 -395

No files matched your search

+37 -37
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-03-26T10:47:56+0000"
date: "2021-03-26T12:02:15+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/accounts/templates
@@ -35,33 +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 add
Create a new account
Usage: `accounts add [command options] [arguments...]`
### 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 , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $ACCOUNTS_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $ACCOUNTS_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
### accounts version
Print the versions of the running instances
@@ -74,17 +47,11 @@ Usage: `accounts version [command options] [arguments...]`
-name | $ACCOUNTS_NAME
: service name. Default: `flags.OverrideDefaultString(cfg.Server.Name, "accounts")`.
### accounts inspect
### accounts add
Show detailed data on an existing account
Create a new account
Usage: `accounts inspect [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api")`.
-name | $ACCOUNTS_NAME
: service name. Default: `flags.OverrideDefaultString(cfg.Server.Name, "accounts")`.
Usage: `accounts add [command options] [arguments...]`
### accounts list
@@ -110,6 +77,21 @@ Usage: `accounts remove [command options] [arguments...]`
-name | $ACCOUNTS_NAME
: service name. Default: `flags.OverrideDefaultString(cfg.Server.Name, "accounts")`.
### accounts ocis-accounts
Provide accounts and groups for oCIS
Usage: `accounts ocis-accounts [command options] [arguments...]`
-log-level | $ACCOUNTS_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $ACCOUNTS_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $ACCOUNTS_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
### accounts server
Start ocis accounts service
@@ -179,6 +161,24 @@ Usage: `accounts server [command options] [arguments...]`
-service-user-username | $ACCOUNTS_SERVICE_USER_USERNAME
: username of the internal service user (required on EOS). Default: `flags.OverrideDefaultString(cfg.ServiceUser.Username, "")`.
### 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: `flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api")`.
-name | $ACCOUNTS_NAME
: service name. Default: `flags.OverrideDefaultString(cfg.Server.Name, "accounts")`.
### accounts rebuildIndex
Rebuilds the service's index, i.e. deleting and then re-adding all existing documents
Usage: `accounts rebuildIndex [command options] [arguments...]`
### accounts update
Make changes to an existing account
+25 -25
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-03-26T10:48:57+0000"
date: "2021-03-26T12:03:14+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/glauth/templates
@@ -35,30 +35,6 @@ If multiple variables are listed for one option, they are in order of precedence
If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### glauth health
Check health status
Usage: `glauth health [command options] [arguments...]`
-debug-addr | $GLAUTH_DEBUG_ADDR
: Address to debug endpoint. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9129")`.
### glauth ocis-glauth
Serve GLAuth API for oCIS
Usage: `glauth ocis-glauth [command options] [arguments...]`
-log-level | $GLAUTH_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $GLAUTH_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $GLAUTH_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
### glauth server
Start integrated server
@@ -161,3 +137,27 @@ Usage: `glauth server [command options] [arguments...]`
-fallback-use-graphapi | $GLAUTH_FALLBACK_USE_GRAPHAPI
: use Graph API, only for owncloud datastore. Default: `flags.OverrideDefaultBool(cfg.Fallback.UseGraphAPI, true)`.
### glauth health
Check health status
Usage: `glauth health [command options] [arguments...]`
-debug-addr | $GLAUTH_DEBUG_ADDR
: Address to debug endpoint. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9129")`.
### glauth ocis-glauth
Serve GLAuth API for oCIS
Usage: `glauth ocis-glauth [command options] [arguments...]`
-log-level | $GLAUTH_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $GLAUTH_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $GLAUTH_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
+10 -10
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-03-26T10:48:57+0000"
date: "2021-03-26T12:03:14+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph-explorer/templates
@@ -52,6 +52,15 @@ 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: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9136")`.
### graph-explorer server
Start integrated server
@@ -106,12 +115,3 @@ Usage: `graph-explorer server [command options] [arguments...]`
-graph-url | $GRAPH_EXPLORER_GRAPH_URL
: Set the url to the graph api service. Default: `flags.OverrideDefaultString(cfg.GraphExplorer.GraphURL, "https://localhost:9200/graph")`.
### graph-explorer health
Check health status
Usage: `graph-explorer health [command options] [arguments...]`
-debug-addr | $GRAPH_EXPLORER_DEBUG_ADDR
: Address to debug endpoint. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9136")`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-03-26T10:48:57+0000"
date: "2021-03-26T12:03:14+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph/templates
+10 -10
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-03-26T10:48:57+0000"
date: "2021-03-26T12:03:14+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/idp/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.
### idp health
Check health status
Usage: `idp health [command options] [arguments...]`
-debug-addr | $IDP_DEBUG_ADDR
: Address to debug endpoint. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9134")`.
### idp ocis-idp
Serve IDP API for oCIS
@@ -212,12 +221,3 @@ Usage: `idp version [command options] [arguments...]`
-name | $IDP_NAME
: Service name. Default: `flags.OverrideDefaultString(cfg.Service.Name, "idp")`.
### idp health
Check health status
Usage: `idp health [command options] [arguments...]`
-debug-addr | $IDP_DEBUG_ADDR
: Address to debug endpoint. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9134")`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-03-26T10:48:57+0000"
date: "2021-03-26T12:03:14+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-03-26T10:48:57+0000"
date: "2021-03-26T12:03:14+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: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9224")`.
### onlyoffice server
Start integrated server
@@ -116,3 +107,12 @@ Usage: `onlyoffice server [command options] [arguments...]`
-asset-path | $ONLYOFFICE_ASSET_PATH
: Path to custom assets. Default: `flags.OverrideDefaultString(cfg.Asset.Path, "")`.
### onlyoffice health
Check health status
Usage: `onlyoffice health [command options] [arguments...]`
-debug-addr | $ONLYOFFICE_DEBUG_ADDR
: Address to debug endpoint. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9224")`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-03-26T10:48:57+0000"
date: "2021-03-26T12:03:14+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/proxy/templates
+16 -16
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-03-26T10:48:57+0000"
date: "2021-03-26T12:03:14+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/settings/templates
@@ -35,21 +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 ocis-settings
Provide settings and permissions for oCIS
Usage: `settings ocis-settings [command options] [arguments...]`
-log-level | $SETTINGS_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $SETTINGS_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $SETTINGS_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
### settings server
Start integrated server
@@ -134,3 +119,18 @@ Usage: `settings health [command options] [arguments...]`
-debug-addr | $SETTINGS_DEBUG_ADDR
: Address to debug endpoint. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "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 , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $SETTINGS_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $SETTINGS_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
+185 -185
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-03-26T10:48:58+0000"
date: "2021-03-26T12:03:15+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/storage/templates
@@ -55,29 +55,56 @@ 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: `flags.OverrideDefaultString(cfg.Reva.Groups.DebugAddr, "0.0.0.0:9161")`.
-debug-addr | $STORAGE_FRONTEND_DEBUG_ADDR
: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Reva.Frontend.DebugAddr, "0.0.0.0:9141")`.
-network | $STORAGE_GROUPPROVIDER_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `flags.OverrideDefaultString(cfg.Reva.Groups.GRPCNetwork, "tcp")`.
-transfer-secret | $STORAGE_TRANSFER_SECRET
: Transfer secret for datagateway. Default: `flags.OverrideDefaultString(cfg.Reva.TransferSecret, "replace-me-with-a-transfer-secret")`.
-addr | $STORAGE_GROUPPROVIDER_ADDR
: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Groups.GRPCAddr, "0.0.0.0:9160")`.
-webdav-namespace | $STORAGE_WEBDAV_NAMESPACE
: Namespace prefix for the /webdav endpoint. Default: `flags.OverrideDefaultString(cfg.Reva.OCDav.WebdavNamespace, "/home/")`.
-endpoint | $STORAGE_GROUPPROVIDER_ENDPOINT
: URL to use for the storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Groups.Endpoint, "localhost:9160")`.
-dav-files-namespace | $STORAGE_DAV_FILES_NAMESPACE
: Namespace prefix for the webdav /dav/files endpoint. Default: `flags.OverrideDefaultString(cfg.Reva.OCDav.DavFilesNamespace, "/users/")`.
-driver | $STORAGE_GROUPPROVIDER_DRIVER
: group driver: 'json', 'ldap', or 'rest'. Default: `flags.OverrideDefaultString(cfg.Reva.Groups.Driver, "ldap")`.
-network | $STORAGE_FRONTEND_HTTP_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `flags.OverrideDefaultString(cfg.Reva.Frontend.HTTPNetwork, "tcp")`.
-json-config | $STORAGE_GROUPPROVIDER_JSON
: Path to groups.json file. Default: `flags.OverrideDefaultString(cfg.Reva.Groups.JSON, "")`.
-addr | $STORAGE_FRONTEND_HTTP_ADDR
: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Frontend.HTTPAddr, "0.0.0.0:9140")`.
-public-url | $STORAGE_FRONTEND_PUBLIC_URL , $OCIS_URL
: URL to use for the storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Frontend.PublicURL, "https://localhost:9200")`.
-datagateway-prefix | $STORAGE_FRONTEND_DATAGATEWAY_PREFIX
: datagateway prefix. Default: `flags.OverrideDefaultString(cfg.Reva.Frontend.DatagatewayPrefix, "data")`.
-ocdav-prefix | $STORAGE_FRONTEND_OCDAV_PREFIX
: owncloud webdav endpoint prefix. Default: `flags.OverrideDefaultString(cfg.Reva.Frontend.OCDavPrefix, "")`.
-ocs-prefix | $STORAGE_FRONTEND_OCS_PREFIX
: open collaboration services endpoint prefix. Default: `flags.OverrideDefaultString(cfg.Reva.Frontend.OCSPrefix, "ocs")`.
-ocs-share-prefix | $STORAGE_FRONTEND_OCS_Share_PREFIX
: the prefix prepended to the path of shared files. Default: `flags.OverrideDefaultString(cfg.Reva.Frontend.OCSSharePrefix, "/Shares")`.
-gateway-url | $STORAGE_GATEWAY_ENDPOINT
: URL to use for the storage gateway service. Default: `flags.OverrideDefaultString(cfg.Reva.Gateway.Endpoint, "localhost:9142")`.
-default-upload-protocol | $STORAGE_FRONTEND_DEFAULT_UPLOAD_PROTOCOL
: Default upload chunking protocol to be used out of tus/v1/ng. Default: `flags.OverrideDefaultString(cfg.Reva.DefaultUploadProtocol, "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. Default: `flags.OverrideDefaultString(cfg.Reva.UploadHTTPMethodOverride, "")`.
-checksum-preferred-upload-type | $STORAGE_FRONTEND_CHECKSUM_PREFERRED_UPLOAD_TYPE
: Specify the preferred checksum algorithm used for uploads. Default: `flags.OverrideDefaultString(cfg.Reva.ChecksumPreferredUploadType, "")`.
### storage storage-home
@@ -130,95 +157,92 @@ Usage: `storage storage-home [command options] [arguments...]`
-users-endpoint | $STORAGE_USERPROVIDER_ENDPOINT
: endpoint to use for the storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Users.Endpoint, "localhost:9144")`.
### storage auth-basic
### storage storage-public-link
Start authprovider for basic auth
Start storage-public-link service
Usage: `storage auth-basic [command options] [arguments...]`
Usage: `storage storage-public-link [command options] [arguments...]`
-debug-addr | $STORAGE_AUTH_BASIC_DEBUG_ADDR
: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Reva.AuthBasic.DebugAddr, "0.0.0.0:9147")`.
-debug-addr | $STORAGE_PUBLIC_LINK_DEBUG_ADDR
: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Reva.StoragePublicLink.DebugAddr, "0.0.0.0:9179")`.
-auth-driver | $STORAGE_AUTH_DRIVER
: auth driver: 'demo', 'json' or 'ldap'. Default: `flags.OverrideDefaultString(cfg.Reva.AuthProvider.Driver, "ldap")`.
-network | $STORAGE_PUBLIC_LINK_GRPC_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `flags.OverrideDefaultString(cfg.Reva.StoragePublicLink.GRPCNetwork, "tcp")`.
-auth-json | $STORAGE_AUTH_JSON
: Path to users.json file. Default: `flags.OverrideDefaultString(cfg.Reva.AuthProvider.JSON, "")`.
-addr | $STORAGE_PUBLIC_LINK_GRPC_ADDR
: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.StoragePublicLink.GRPCAddr, "0.0.0.0:9178")`.
-network | $STORAGE_AUTH_BASIC_GRPC_NETWORK
: Network to use for the storage auth-basic service, can be 'tcp', 'udp' or 'unix'. Default: `flags.OverrideDefaultString(cfg.Reva.AuthBasic.GRPCNetwork, "tcp")`.
-mount-path | $STORAGE_PUBLIC_LINK_MOUNT_PATH
: mount path. Default: `flags.OverrideDefaultString(cfg.Reva.StoragePublicLink.MountPath, "/public")`.
-addr | $STORAGE_AUTH_BASIC_GRPC_ADDR
: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.AuthBasic.GRPCAddr, "0.0.0.0:9146")`.
-gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT
: endpoint to use for the storage gateway service. Default: `flags.OverrideDefaultString(cfg.Reva.Gateway.Endpoint, "localhost:9142")`.
-gateway-url | $STORAGE_GATEWAY_ENDPOINT
: URL to use for the storage gateway service. Default: `flags.OverrideDefaultString(cfg.Reva.Gateway.Endpoint, "localhost:9142")`.
### storage storage-users
### storage frontend
Start storage-users service
Start frontend service
Usage: `storage storage-users [command options] [arguments...]`
Usage: `storage frontend [command options] [arguments...]`
-debug-addr | $STORAGE_USERS_DEBUG_ADDR
: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Reva.StorageUsers.DebugAddr, "0.0.0.0:9159")`.
-debug-addr | $STORAGE_FRONTEND_DEBUG_ADDR
: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Reva.Frontend.DebugAddr, "0.0.0.0:9141")`.
-grpc-network | $STORAGE_USERS_GRPC_NETWORK
: Network to use for the users storage, can be 'tcp', 'udp' or 'unix'. Default: `flags.OverrideDefaultString(cfg.Reva.StorageUsers.GRPCNetwork, "tcp")`.
-transfer-secret | $STORAGE_TRANSFER_SECRET
: Transfer secret for datagateway. Default: `flags.OverrideDefaultString(cfg.Reva.TransferSecret, "replace-me-with-a-transfer-secret")`.
-grpc-addr | $STORAGE_USERS_GRPC_ADDR
: GRPC Address to bind users storage. Default: `flags.OverrideDefaultString(cfg.Reva.StorageUsers.GRPCAddr, "0.0.0.0:9157")`.
-webdav-namespace | $STORAGE_WEBDAV_NAMESPACE
: Namespace prefix for the /webdav endpoint. Default: `flags.OverrideDefaultString(cfg.Reva.OCDav.WebdavNamespace, "/home/")`.
-http-network | $STORAGE_USERS_HTTP_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `flags.OverrideDefaultString(cfg.Reva.StorageUsers.HTTPNetwork, "tcp")`.
-dav-files-namespace | $STORAGE_DAV_FILES_NAMESPACE
: Namespace prefix for the webdav /dav/files endpoint. Default: `flags.OverrideDefaultString(cfg.Reva.OCDav.DavFilesNamespace, "/users/")`.
-http-addr | $STORAGE_USERS_HTTP_ADDR
: HTTP Address to bind users storage. Default: `flags.OverrideDefaultString(cfg.Reva.StorageUsers.HTTPAddr, "0.0.0.0:9158")`.
-network | $STORAGE_FRONTEND_HTTP_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `flags.OverrideDefaultString(cfg.Reva.Frontend.HTTPNetwork, "tcp")`.
-driver | $STORAGE_USERS_DRIVER
: storage driver for users mount: eg. local, eos, owncloud, ocis or s3. Default: `flags.OverrideDefaultString(cfg.Reva.StorageUsers.Driver, "ocis")`.
-addr | $STORAGE_FRONTEND_HTTP_ADDR
: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Frontend.HTTPAddr, "0.0.0.0:9140")`.
-mount-path | $STORAGE_USERS_MOUNT_PATH
: mount path. Default: `flags.OverrideDefaultString(cfg.Reva.StorageUsers.MountPath, "/users")`.
-public-url | $STORAGE_FRONTEND_PUBLIC_URL , $OCIS_URL
: URL to use for the storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Frontend.PublicURL, "https://localhost:9200")`.
-mount-id | $STORAGE_USERS_MOUNT_ID
: mount id. Default: `flags.OverrideDefaultString(cfg.Reva.StorageUsers.MountID, "1284d238-aa92-42ce-bdc4-0b0000009157")`.
-datagateway-prefix | $STORAGE_FRONTEND_DATAGATEWAY_PREFIX
: datagateway prefix. Default: `flags.OverrideDefaultString(cfg.Reva.Frontend.DatagatewayPrefix, "data")`.
-expose-data-server | $STORAGE_USERS_EXPOSE_DATA_SERVER
: exposes a dedicated data server. Default: `flags.OverrideDefaultBool(cfg.Reva.StorageUsers.ExposeDataServer, false)`.
-ocdav-prefix | $STORAGE_FRONTEND_OCDAV_PREFIX
: owncloud webdav endpoint prefix. Default: `flags.OverrideDefaultString(cfg.Reva.Frontend.OCDavPrefix, "")`.
-data-server-url | $STORAGE_USERS_DATA_SERVER_URL
: data server url. Default: `flags.OverrideDefaultString(cfg.Reva.StorageUsers.DataServerURL, "http://localhost:9158/data")`.
-ocs-prefix | $STORAGE_FRONTEND_OCS_PREFIX
: open collaboration services endpoint prefix. Default: `flags.OverrideDefaultString(cfg.Reva.Frontend.OCSPrefix, "ocs")`.
-http-prefix | $STORAGE_USERS_HTTP_PREFIX
: prefix for the http endpoint, without leading slash. Default: `flags.OverrideDefaultString(cfg.Reva.StorageUsers.HTTPPrefix, "data")`.
-ocs-share-prefix | $STORAGE_FRONTEND_OCS_Share_PREFIX
: the prefix prepended to the path of shared files. Default: `flags.OverrideDefaultString(cfg.Reva.Frontend.OCSSharePrefix, "/Shares")`.
-tmp-folder | $STORAGE_USERS_TMP_FOLDER
: path to tmp folder. Default: `flags.OverrideDefaultString(cfg.Reva.StorageUsers.TempFolder, "/var/tmp/ocis/tmp/users")`.
-gateway-url | $STORAGE_GATEWAY_ENDPOINT
: URL to use for the storage gateway service. Default: `flags.OverrideDefaultString(cfg.Reva.Gateway.Endpoint, "localhost:9142")`.
-gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT
: endpoint to use for the storage gateway service. Default: `flags.OverrideDefaultString(cfg.Reva.Gateway.Endpoint, "localhost:9142")`.
-default-upload-protocol | $STORAGE_FRONTEND_DEFAULT_UPLOAD_PROTOCOL
: Default upload chunking protocol to be used out of tus/v1/ng. Default: `flags.OverrideDefaultString(cfg.Reva.DefaultUploadProtocol, "tus")`.
-users-endpoint | $STORAGE_USERPROVIDER_ENDPOINT
: endpoint to use for the storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Users.Endpoint, "localhost:9144")`.
-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. Default: `flags.OverrideDefaultString(cfg.Reva.UploadHTTPMethodOverride, "")`.
### storage storage
-checksum-preferred-upload-type | $STORAGE_FRONTEND_CHECKSUM_PREFERRED_UPLOAD_TYPE
: Specify the preferred checksum algorithm used for uploads. Default: `flags.OverrideDefaultString(cfg.Reva.ChecksumPreferredUploadType, "")`.
Storage service for oCIS
### storage health
Usage: `storage storage [command options] [arguments...]`
Check health status
-config-file | $STORAGE_CONFIG_FILE
: Path to config file.
Usage: `storage health [command options] [arguments...]`
-log-level | $STORAGE_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-debug-addr | $STORAGE_DEBUG_ADDR
: Address to debug endpoint. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9109")`.
-log-pretty | $STORAGE_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
### storage storage-metadata
Start storage-metadata service
Usage: `storage storage-metadata [command options] [arguments...]`
-log-color | $STORAGE_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
### storage sharing
@@ -247,60 +271,6 @@ Usage: `storage sharing [command options] [arguments...]`
-public-json-file | $STORAGE_SHARING_PUBLIC_JSON_FILE
: file used to persist shares for the PublicShareProvider. Default: `flags.OverrideDefaultString(cfg.Reva.Sharing.PublicJSONFile, "/var/tmp/ocis/storage/publicshares.json")`.
### 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: `flags.OverrideDefaultString(cfg.Reva.StoragePublicLink.DebugAddr, "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: `flags.OverrideDefaultString(cfg.Reva.StoragePublicLink.GRPCNetwork, "tcp")`.
-addr | $STORAGE_PUBLIC_LINK_GRPC_ADDR
: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.StoragePublicLink.GRPCAddr, "0.0.0.0:9178")`.
-mount-path | $STORAGE_PUBLIC_LINK_MOUNT_PATH
: mount path. Default: `flags.OverrideDefaultString(cfg.Reva.StoragePublicLink.MountPath, "/public")`.
-gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT
: endpoint to use for the storage gateway service. Default: `flags.OverrideDefaultString(cfg.Reva.Gateway.Endpoint, "localhost:9142")`.
### storage auth-bearer
Start authprovider for bearer auth
Usage: `storage auth-bearer [command options] [arguments...]`
-debug-addr | $STORAGE_AUTH_BEARER_DEBUG_ADDR
: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Reva.AuthBearer.DebugAddr, "0.0.0.0:9149")`.
-oidc-issuer | $STORAGE_OIDC_ISSUER , $OCIS_URL
: OIDC issuer. Default: `flags.OverrideDefaultString(cfg.Reva.OIDC.Issuer, "https://localhost:9200")`.
-oidc-insecure | $STORAGE_OIDC_INSECURE
: OIDC allow insecure communication. Default: `flags.OverrideDefaultBool(cfg.Reva.OIDC.Insecure, true)`.
-oidc-id-claim | $STORAGE_OIDC_ID_CLAIM
: OIDC id claim. Default: `flags.OverrideDefaultString(cfg.Reva.OIDC.IDClaim, "preferred_username")`.
-oidc-uid-claim | $STORAGE_OIDC_UID_CLAIM
: OIDC uid claim. Default: `flags.OverrideDefaultString(cfg.Reva.OIDC.UIDClaim, "")`.
-oidc-gid-claim | $STORAGE_OIDC_GID_CLAIM
: OIDC gid claim. Default: `flags.OverrideDefaultString(cfg.Reva.OIDC.GIDClaim, "")`.
-network | $STORAGE_AUTH_BEARER_GRPC_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `flags.OverrideDefaultString(cfg.Reva.AuthBearer.GRPCNetwork, "tcp")`.
-addr | $STORAGE_AUTH_BEARER_GRPC_ADDR
: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.AuthBearer.GRPCAddr, "0.0.0.0:9148")`.
-gateway-url | $STORAGE_GATEWAY_ENDPOINT
: URL to use for the storage gateway service. Default: `flags.OverrideDefaultString(cfg.Reva.Gateway.Endpoint, "localhost:9142")`.
### storage gateway
Start gateway
@@ -388,71 +358,29 @@ Usage: `storage gateway [command options] [arguments...]`
-storage-public-link-mount-path | $STORAGE_PUBLIC_LINK_MOUNT_PATH
: mount path. Default: `flags.OverrideDefaultString(cfg.Reva.StoragePublicLink.MountPath, "/public")`.
### storage storage
### storage groups
Storage service for oCIS
Start groups service
Usage: `storage storage [command options] [arguments...]`
Usage: `storage groups [command options] [arguments...]`
-config-file | $STORAGE_CONFIG_FILE
: Path to config file.
-debug-addr | $STORAGE_GROUPPROVIDER_DEBUG_ADDR
: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Reva.Groups.DebugAddr, "0.0.0.0:9161")`.
-log-level | $STORAGE_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-network | $STORAGE_GROUPPROVIDER_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `flags.OverrideDefaultString(cfg.Reva.Groups.GRPCNetwork, "tcp")`.
-log-pretty | $STORAGE_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-addr | $STORAGE_GROUPPROVIDER_ADDR
: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Groups.GRPCAddr, "0.0.0.0:9160")`.
-log-color | $STORAGE_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
-endpoint | $STORAGE_GROUPPROVIDER_ENDPOINT
: URL to use for the storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Groups.Endpoint, "localhost:9160")`.
### storage storage-users
-driver | $STORAGE_GROUPPROVIDER_DRIVER
: group driver: 'json', 'ldap', or 'rest'. Default: `flags.OverrideDefaultString(cfg.Reva.Groups.Driver, "ldap")`.
Start storage-users service
Usage: `storage storage-users [command options] [arguments...]`
-debug-addr | $STORAGE_USERS_DEBUG_ADDR
: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Reva.StorageUsers.DebugAddr, "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: `flags.OverrideDefaultString(cfg.Reva.StorageUsers.GRPCNetwork, "tcp")`.
-grpc-addr | $STORAGE_USERS_GRPC_ADDR
: GRPC Address to bind users storage. Default: `flags.OverrideDefaultString(cfg.Reva.StorageUsers.GRPCAddr, "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: `flags.OverrideDefaultString(cfg.Reva.StorageUsers.HTTPNetwork, "tcp")`.
-http-addr | $STORAGE_USERS_HTTP_ADDR
: HTTP Address to bind users storage. Default: `flags.OverrideDefaultString(cfg.Reva.StorageUsers.HTTPAddr, "0.0.0.0:9158")`.
-driver | $STORAGE_USERS_DRIVER
: storage driver for users mount: eg. local, eos, owncloud, ocis or s3. Default: `flags.OverrideDefaultString(cfg.Reva.StorageUsers.Driver, "ocis")`.
-mount-path | $STORAGE_USERS_MOUNT_PATH
: mount path. Default: `flags.OverrideDefaultString(cfg.Reva.StorageUsers.MountPath, "/users")`.
-mount-id | $STORAGE_USERS_MOUNT_ID
: mount id. Default: `flags.OverrideDefaultString(cfg.Reva.StorageUsers.MountID, "1284d238-aa92-42ce-bdc4-0b0000009157")`.
-expose-data-server | $STORAGE_USERS_EXPOSE_DATA_SERVER
: exposes a dedicated data server. Default: `flags.OverrideDefaultBool(cfg.Reva.StorageUsers.ExposeDataServer, false)`.
-data-server-url | $STORAGE_USERS_DATA_SERVER_URL
: data server url. Default: `flags.OverrideDefaultString(cfg.Reva.StorageUsers.DataServerURL, "http://localhost:9158/data")`.
-http-prefix | $STORAGE_USERS_HTTP_PREFIX
: prefix for the http endpoint, without leading slash. Default: `flags.OverrideDefaultString(cfg.Reva.StorageUsers.HTTPPrefix, "data")`.
-tmp-folder | $STORAGE_USERS_TMP_FOLDER
: path to tmp folder. Default: `flags.OverrideDefaultString(cfg.Reva.StorageUsers.TempFolder, "/var/tmp/ocis/tmp/users")`.
-gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT
: endpoint to use for the storage gateway service. Default: `flags.OverrideDefaultString(cfg.Reva.Gateway.Endpoint, "localhost:9142")`.
-users-endpoint | $STORAGE_USERPROVIDER_ENDPOINT
: endpoint to use for the storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Users.Endpoint, "localhost:9144")`.
-json-config | $STORAGE_GROUPPROVIDER_JSON
: Path to groups.json file. Default: `flags.OverrideDefaultString(cfg.Reva.Groups.JSON, "")`.
### storage users
@@ -478,6 +406,78 @@ Usage: `storage users [command options] [arguments...]`
-json-config | $STORAGE_USERPROVIDER_JSON
: Path to users.json file. Default: `flags.OverrideDefaultString(cfg.Reva.Users.JSON, "")`.
### 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: `flags.OverrideDefaultString(cfg.Reva.AuthBasic.DebugAddr, "0.0.0.0:9147")`.
-auth-driver | $STORAGE_AUTH_DRIVER
: auth driver: 'demo', 'json' or 'ldap'. Default: `flags.OverrideDefaultString(cfg.Reva.AuthProvider.Driver, "ldap")`.
-auth-json | $STORAGE_AUTH_JSON
: Path to users.json file. Default: `flags.OverrideDefaultString(cfg.Reva.AuthProvider.JSON, "")`.
-network | $STORAGE_AUTH_BASIC_GRPC_NETWORK
: Network to use for the storage auth-basic service, can be 'tcp', 'udp' or 'unix'. Default: `flags.OverrideDefaultString(cfg.Reva.AuthBasic.GRPCNetwork, "tcp")`.
-addr | $STORAGE_AUTH_BASIC_GRPC_ADDR
: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.AuthBasic.GRPCAddr, "0.0.0.0:9146")`.
-gateway-url | $STORAGE_GATEWAY_ENDPOINT
: URL to use for the storage gateway service. Default: `flags.OverrideDefaultString(cfg.Reva.Gateway.Endpoint, "localhost:9142")`.
### storage health
Check health status
Usage: `storage health [command options] [arguments...]`
-debug-addr | $STORAGE_DEBUG_ADDR
: Address to debug endpoint. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9109")`.
### storage storage-metadata
Start storage-metadata service
Usage: `storage storage-metadata [command options] [arguments...]`
### 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: `flags.OverrideDefaultString(cfg.Reva.AuthBearer.DebugAddr, "0.0.0.0:9149")`.
-oidc-issuer | $STORAGE_OIDC_ISSUER , $OCIS_URL
: OIDC issuer. Default: `flags.OverrideDefaultString(cfg.Reva.OIDC.Issuer, "https://localhost:9200")`.
-oidc-insecure | $STORAGE_OIDC_INSECURE
: OIDC allow insecure communication. Default: `flags.OverrideDefaultBool(cfg.Reva.OIDC.Insecure, true)`.
-oidc-id-claim | $STORAGE_OIDC_ID_CLAIM
: OIDC id claim. Default: `flags.OverrideDefaultString(cfg.Reva.OIDC.IDClaim, "preferred_username")`.
-oidc-uid-claim | $STORAGE_OIDC_UID_CLAIM
: OIDC uid claim. Default: `flags.OverrideDefaultString(cfg.Reva.OIDC.UIDClaim, "")`.
-oidc-gid-claim | $STORAGE_OIDC_GID_CLAIM
: OIDC gid claim. Default: `flags.OverrideDefaultString(cfg.Reva.OIDC.GIDClaim, "")`.
-network | $STORAGE_AUTH_BEARER_GRPC_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `flags.OverrideDefaultString(cfg.Reva.AuthBearer.GRPCNetwork, "tcp")`.
-addr | $STORAGE_AUTH_BEARER_GRPC_ADDR
: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.AuthBearer.GRPCAddr, "0.0.0.0:9148")`.
-gateway-url | $STORAGE_GATEWAY_ENDPOINT
: URL to use for the storage gateway service. Default: `flags.OverrideDefaultString(cfg.Reva.Gateway.Endpoint, "localhost:9142")`.
## Config for the different Storage Drivers
You can set different storage drivers for the Storage Providers. Please check the storage provider configuration.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-03-26T10:48:58+0000"
date: "2021-03-26T12:03:15+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/store/templates
+13 -13
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-03-26T10:48:59+0000"
date: "2021-03-26T12:03:15+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/thumbnails/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.
### thumbnails version
Print the versions of the running instances
Usage: `thumbnails version [command options] [arguments...]`
-grpc-name | $THUMBNAILS_GRPC_NAME
: Name of the service. Default: `flags.OverrideDefaultString(cfg.Server.Name, "thumbnails")`.
-grpc-namespace | $THUMBNAILS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `flags.OverrideDefaultString(cfg.Server.Namespace, "com.owncloud.api")`.
### thumbnails health
Check health status
@@ -116,15 +128,3 @@ Usage: `thumbnails server [command options] [arguments...]`
-webdavsource-insecure | $THUMBNAILS_WEBDAVSOURCE_INSECURE
: Whether to skip certificate checks. Default: `flags.OverrideDefaultBool(cfg.Thumbnail.WebDavSource.Insecure, true)`.
### thumbnails version
Print the versions of the running instances
Usage: `thumbnails version [command options] [arguments...]`
-grpc-name | $THUMBNAILS_GRPC_NAME
: Name of the service. Default: `flags.OverrideDefaultString(cfg.Server.Name, "thumbnails")`.
-grpc-namespace | $THUMBNAILS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `flags.OverrideDefaultString(cfg.Server.Namespace, "com.owncloud.api")`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-03-26T10:49:00+0000"
date: "2021-03-26T12:03:16+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/web/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-03-26T10:49:00+0000"
date: "2021-03-26T12:03:16+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/webdav/templates
+83 -83
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-03-26T10:48:57+0000"
date: "2021-03-26T12:03:14+0000"
weight: 2
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocis/templates
@@ -86,12 +86,6 @@ Usage: `ocis [global options] command [command options] [arguments...]`
## Sub Commands
### ocis run
Runs an extension
Usage: `ocis run [command options] [arguments...]`
### ocis list
Lists running ocis extensions
@@ -140,10 +134,40 @@ 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...]`
### 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-groupprovider
Start storage groupprovider service
#### ocis version
Lists running services with version
#### ocis onlyoffice
Start onlyoffice server
#### ocis webdav
Start webdav server
#### ocis glauth
Start glauth server
#### ocis proxy
Start proxy server
#### ocis settings
Start settings server
@@ -152,87 +176,63 @@ Start settings server
Start storage and data provider for /home mount
#### ocis glauth
Start glauth server
#### ocis storage-frontend
Start storage frontend
#### ocis version
Lists running services with version
#### ocis proxy
Start proxy server
#### ocis storage-groupprovider
Start storage groupprovider service
#### ocis storage-userprovider
Start storage userprovider service
#### ocis webdav
Start webdav server
#### ocis storage-metadata
Start storage and data service for metadata
#### ocis accounts
Start accounts server
#### ocis storage-gateway
Start storage gateway
#### ocis storage-sharing
Start storage sharing service
#### ocis thumbnails
Start thumbnails server
#### ocis web
Start web server
#### ocis onlyoffice
Start onlyoffice server
#### ocis storage-public-link
Start storage public link storage
#### ocis store
Start a go-micro store
#### ocis storage-auth-basic
Start storage auth-basic service
#### ocis storage-auth-bearer
Start storage auth-bearer service
#### ocis idp
Start idp server
#### ocis ocs
Start ocs server
#### ocis storage-users
Start storage and data provider for /users mount
#### ocis idp
Start idp server
#### ocis storage-auth-basic
Start storage auth-basic service
#### ocis storage-frontend
Start storage frontend
#### ocis store
Start a go-micro store
#### ocis storage-gateway
Start storage gateway
#### ocis storage-metadata
Start storage and data service for metadata
#### ocis storage-userprovider
Start storage userprovider service
#### ocis web
Start web server
#### ocis accounts
Start accounts server
#### ocis ocs
Start ocs server
#### ocis storage-auth-bearer
Start storage auth-bearer service
#### ocis storage-public-link
Start storage public link storage
#### ocis storage-sharing
Start storage sharing service