commit 215b01544c
Merge:cc8f0c9baf03099aAuthor: David Christofas <C0rby@users.noreply.github.com> Date: Wed Apr 28 09:54:36 2021 +0200 Merge pull request #1898 from owncloud/thumbnails_public_links Thumbnails for public links
This commit is contained in:
1 parent
c1be8bb237
commit
311a4fdbc5
16 files changed
+411
-388
No files matched your search
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-04-27T15:29:07+0000"
|
||||
date: "2021-04-28T07:54:55+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/accounts/templates
|
||||
@@ -35,6 +35,12 @@ 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 update
|
||||
|
||||
Make changes to an existing account
|
||||
|
||||
Usage: `accounts update [command options] [arguments...]`
|
||||
|
||||
### accounts add
|
||||
|
||||
Create a new account
|
||||
@@ -65,45 +71,6 @@ Usage: `accounts list [command options] [arguments...]`
|
||||
-name | $ACCOUNTS_NAME
|
||||
: service name. Default: `flags.OverrideDefaultString(cfg.Server.Name, "accounts")`.
|
||||
|
||||
### accounts update
|
||||
|
||||
Make changes to an existing account
|
||||
|
||||
Usage: `accounts update [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 remove
|
||||
|
||||
Removes an existing account
|
||||
|
||||
Usage: `accounts remove [command options] [arguments...]`
|
||||
|
||||
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
|
||||
: Set the base namespace for the grpc namespace. Default: `flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api")`.
|
||||
|
||||
-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
|
||||
@@ -173,6 +140,39 @@ 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 rebuildIndex
|
||||
|
||||
Rebuilds the service's index, i.e. deleting and then re-adding all existing documents
|
||||
|
||||
Usage: `accounts rebuildIndex [command options] [arguments...]`
|
||||
|
||||
### accounts remove
|
||||
|
||||
Removes an existing account
|
||||
|
||||
Usage: `accounts remove [command options] [arguments...]`
|
||||
|
||||
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
|
||||
: Set the base namespace for the grpc namespace. Default: `flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api")`.
|
||||
|
||||
-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 version
|
||||
|
||||
Print the versions of the running instances
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-04-27T15:29:59+0000"
|
||||
date: "2021-04-28T07:55:41+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/glauth/templates
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-04-27T15:29:59+0000"
|
||||
date: "2021-04-28T07:55:41+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/graph-explorer/templates
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-04-27T15:29:59+0000"
|
||||
date: "2021-04-28T07:55:41+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/graph/templates
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-04-27T15:29:59+0000"
|
||||
date: "2021-04-28T07:55:41+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/idp/templates
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-04-27T15:29:59+0000"
|
||||
date: "2021-04-28T07:55:41+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: `flags.OverrideDefaultString(cfg.Service.Namespace, "com.owncloud.web")`.
|
||||
|
||||
-name | $OCS_NAME
|
||||
: Service name. Default: `flags.OverrideDefaultString(cfg.Service.Name, "ocs")`.
|
||||
|
||||
### ocs health
|
||||
|
||||
Check health status
|
||||
@@ -119,15 +131,3 @@ Usage: `ocs server [command options] [arguments...]`
|
||||
-reva-gateway-addr | $OCS_REVA_GATEWAY_ADDR
|
||||
: REVA Gateway Endpoint. Default: `flags.OverrideDefaultString(cfg.RevaAddress, "127.0.0.1:9142")`.
|
||||
|
||||
### 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: `flags.OverrideDefaultString(cfg.Service.Namespace, "com.owncloud.web")`.
|
||||
|
||||
-name | $OCS_NAME
|
||||
: Service name. Default: `flags.OverrideDefaultString(cfg.Service.Name, "ocs")`.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-04-27T15:30:00+0000"
|
||||
date: "2021-04-28T07:55:41+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/onlyoffice/templates
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-04-27T15:30:00+0000"
|
||||
date: "2021-04-28T07:55:41+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/proxy/templates
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-04-27T15:30:00+0000"
|
||||
date: "2021-04-28T07:55:41+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/settings/templates
|
||||
|
||||
+222
-222
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-04-27T15:30:00+0000"
|
||||
date: "2021-04-28T07:55:42+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/storage/templates
|
||||
@@ -55,6 +55,183 @@ Usage: `storage [global options] command [command options] [arguments...]`
|
||||
|
||||
## Sub Commands
|
||||
|
||||
### 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 groups
|
||||
|
||||
Start groups service
|
||||
|
||||
Usage: `storage groups [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")`.
|
||||
|
||||
-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")`.
|
||||
|
||||
-addr | $STORAGE_GROUPPROVIDER_ADDR
|
||||
: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Groups.GRPCAddr, "0.0.0.0:9160")`.
|
||||
|
||||
-endpoint | $STORAGE_GROUPPROVIDER_ENDPOINT
|
||||
: URL to use for the storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Groups.Endpoint, "localhost:9160")`.
|
||||
|
||||
-driver | $STORAGE_GROUPPROVIDER_DRIVER
|
||||
: group driver: 'json', 'ldap', or 'rest'. Default: `flags.OverrideDefaultString(cfg.Reva.Groups.Driver, "ldap")`.
|
||||
|
||||
-json-config | $STORAGE_GROUPPROVIDER_JSON
|
||||
: Path to groups.json file. Default: `flags.OverrideDefaultString(cfg.Reva.Groups.JSON, "")`.
|
||||
|
||||
### storage sharing
|
||||
|
||||
Start sharing service
|
||||
|
||||
Usage: `storage sharing [command options] [arguments...]`
|
||||
|
||||
-debug-addr | $STORAGE_SHARING_DEBUG_ADDR
|
||||
: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Reva.Sharing.DebugAddr, "0.0.0.0:9151")`.
|
||||
|
||||
-network | $STORAGE_SHARING_GRPC_NETWORK
|
||||
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `flags.OverrideDefaultString(cfg.Reva.Sharing.GRPCNetwork, "tcp")`.
|
||||
|
||||
-addr | $STORAGE_SHARING_GRPC_ADDR
|
||||
: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Sharing.GRPCAddr, "0.0.0.0:9150")`.
|
||||
|
||||
-user-driver | $STORAGE_SHARING_USER_DRIVER
|
||||
: driver to use for the UserShareProvider. Default: `flags.OverrideDefaultString(cfg.Reva.Sharing.UserDriver, "json")`.
|
||||
|
||||
-user-json-file | $STORAGE_SHARING_USER_JSON_FILE
|
||||
: file used to persist shares for the UserShareProvider. Default: `flags.OverrideDefaultString(cfg.Reva.Sharing.UserJSONFile, "/var/tmp/ocis/storage/shares.json")`.
|
||||
|
||||
-public-driver | $STORAGE_SHARING_PUBLIC_DRIVER
|
||||
: driver to use for the PublicShareProvider. Default: `flags.OverrideDefaultString(cfg.Reva.Sharing.PublicDriver, "json")`.
|
||||
|
||||
-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")`.
|
||||
|
||||
-public-enable-expired-shares-cleanup | $STORAGE_SHARING_PUBLIC_ENABLE_EXPIRED_SHARES_CLEANUP
|
||||
: whether to periodically delete expired public shares. Default: `flags.OverrideDefaultBool(cfg.Reva.Sharing.PublicEnableExpiredSharesCleanup, true)`.
|
||||
|
||||
### 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: `flags.OverrideDefaultString(cfg.Reva.StorageHome.DebugAddr, "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: `flags.OverrideDefaultString(cfg.Reva.StorageHome.GRPCNetwork, "tcp")`.
|
||||
|
||||
-grpc-addr | $STORAGE_HOME_GRPC_ADDR
|
||||
: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.GRPCAddr, "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: `flags.OverrideDefaultString(cfg.Reva.StorageHome.HTTPNetwork, "tcp")`.
|
||||
|
||||
-http-addr | $STORAGE_HOME_HTTP_ADDR
|
||||
: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.HTTPAddr, "0.0.0.0:9155")`.
|
||||
|
||||
-driver | $STORAGE_HOME_DRIVER
|
||||
: storage driver for home mount: eg. local, eos, owncloud, ocis or s3. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.Driver, "ocis")`.
|
||||
|
||||
-mount-path | $STORAGE_HOME_MOUNT_PATH
|
||||
: mount path. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.MountPath, "/home")`.
|
||||
|
||||
-mount-id | $STORAGE_HOME_MOUNT_ID
|
||||
: mount id. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.MountID, "1284d238-aa92-42ce-bdc4-0b0000009157")`.
|
||||
|
||||
-expose-data-server | $STORAGE_HOME_EXPOSE_DATA_SERVER
|
||||
: exposes a dedicated data server. Default: `flags.OverrideDefaultBool(cfg.Reva.StorageHome.ExposeDataServer, false)`.
|
||||
|
||||
-data-server-url | $STORAGE_HOME_DATA_SERVER_URL
|
||||
: data server url. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.DataServerURL, "http://localhost:9155/data")`.
|
||||
|
||||
-http-prefix | $STORAGE_HOME_HTTP_PREFIX
|
||||
: prefix for the http endpoint, without leading slash. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.HTTPPrefix, "data")`.
|
||||
|
||||
-tmp-folder | $STORAGE_HOME_TMP_FOLDER
|
||||
: path to tmp folder. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.TempFolder, "/var/tmp/ocis/tmp/home")`.
|
||||
|
||||
-enable-home | $STORAGE_HOME_ENABLE_HOME
|
||||
: enable the creation of home directories. Default: `flags.OverrideDefaultBool(cfg.Reva.Storages.Home.EnableHome, true)`.
|
||||
|
||||
-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")`.
|
||||
|
||||
### 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: `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")`.
|
||||
|
||||
### storage frontend
|
||||
|
||||
Start frontend service
|
||||
@@ -109,114 +286,6 @@ Usage: `storage frontend [command options] [arguments...]`
|
||||
-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
|
||||
|
||||
Start storage-home service
|
||||
|
||||
Usage: `storage storage-home [command options] [arguments...]`
|
||||
|
||||
-debug-addr | $STORAGE_HOME_DEBUG_ADDR
|
||||
: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.DebugAddr, "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: `flags.OverrideDefaultString(cfg.Reva.StorageHome.GRPCNetwork, "tcp")`.
|
||||
|
||||
-grpc-addr | $STORAGE_HOME_GRPC_ADDR
|
||||
: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.GRPCAddr, "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: `flags.OverrideDefaultString(cfg.Reva.StorageHome.HTTPNetwork, "tcp")`.
|
||||
|
||||
-http-addr | $STORAGE_HOME_HTTP_ADDR
|
||||
: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.HTTPAddr, "0.0.0.0:9155")`.
|
||||
|
||||
-driver | $STORAGE_HOME_DRIVER
|
||||
: storage driver for home mount: eg. local, eos, owncloud, ocis or s3. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.Driver, "ocis")`.
|
||||
|
||||
-mount-path | $STORAGE_HOME_MOUNT_PATH
|
||||
: mount path. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.MountPath, "/home")`.
|
||||
|
||||
-mount-id | $STORAGE_HOME_MOUNT_ID
|
||||
: mount id. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.MountID, "1284d238-aa92-42ce-bdc4-0b0000009157")`.
|
||||
|
||||
-expose-data-server | $STORAGE_HOME_EXPOSE_DATA_SERVER
|
||||
: exposes a dedicated data server. Default: `flags.OverrideDefaultBool(cfg.Reva.StorageHome.ExposeDataServer, false)`.
|
||||
|
||||
-data-server-url | $STORAGE_HOME_DATA_SERVER_URL
|
||||
: data server url. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.DataServerURL, "http://localhost:9155/data")`.
|
||||
|
||||
-http-prefix | $STORAGE_HOME_HTTP_PREFIX
|
||||
: prefix for the http endpoint, without leading slash. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.HTTPPrefix, "data")`.
|
||||
|
||||
-tmp-folder | $STORAGE_HOME_TMP_FOLDER
|
||||
: path to tmp folder. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.TempFolder, "/var/tmp/ocis/tmp/home")`.
|
||||
|
||||
-enable-home | $STORAGE_HOME_ENABLE_HOME
|
||||
: enable the creation of home directories. Default: `flags.OverrideDefaultBool(cfg.Reva.Storages.Home.EnableHome, true)`.
|
||||
|
||||
-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")`.
|
||||
|
||||
### storage users
|
||||
|
||||
Start users service
|
||||
|
||||
Usage: `storage users [command options] [arguments...]`
|
||||
|
||||
-debug-addr | $STORAGE_SHARING_DEBUG_ADDR
|
||||
: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Reva.Users.DebugAddr, "0.0.0.0:9145")`.
|
||||
|
||||
-network | $STORAGE_USERPROVIDER_NETWORK
|
||||
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `flags.OverrideDefaultString(cfg.Reva.Users.GRPCNetwork, "tcp")`.
|
||||
|
||||
-addr | $STORAGE_USERPROVIDER_ADDR
|
||||
: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Users.GRPCAddr, "0.0.0.0:9144")`.
|
||||
|
||||
-endpoint | $STORAGE_USERPROVIDER_ENDPOINT
|
||||
: URL to use for the storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Users.Endpoint, "localhost:9144")`.
|
||||
|
||||
-driver | $STORAGE_USERPROVIDER_DRIVER
|
||||
: user driver: 'demo', 'json', 'ldap', or 'rest'. Default: `flags.OverrideDefaultString(cfg.Reva.Users.Driver, "ldap")`.
|
||||
|
||||
-json-config | $STORAGE_USERPROVIDER_JSON
|
||||
: Path to users.json file. Default: `flags.OverrideDefaultString(cfg.Reva.Users.JSON, "")`.
|
||||
|
||||
### storage auth-bearer
|
||||
|
||||
Start authprovider for bearer auth
|
||||
|
||||
Usage: `storage auth-bearer [command options] [arguments...]`
|
||||
|
||||
-debug-addr | $STORAGE_AUTH_BEARER_DEBUG_ADDR
|
||||
: Address to bind debug server. Default: `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
|
||||
@@ -307,128 +376,44 @@ 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 groups
|
||||
### storage health
|
||||
|
||||
Start groups service
|
||||
Check health status
|
||||
|
||||
Usage: `storage groups [command options] [arguments...]`
|
||||
Usage: `storage health [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_DEBUG_ADDR
|
||||
: Address to debug endpoint. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9109")`.
|
||||
|
||||
-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")`.
|
||||
### storage auth-bearer
|
||||
|
||||
-addr | $STORAGE_GROUPPROVIDER_ADDR
|
||||
: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Groups.GRPCAddr, "0.0.0.0:9160")`.
|
||||
Start authprovider for bearer auth
|
||||
|
||||
-endpoint | $STORAGE_GROUPPROVIDER_ENDPOINT
|
||||
: URL to use for the storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Groups.Endpoint, "localhost:9160")`.
|
||||
Usage: `storage auth-bearer [command options] [arguments...]`
|
||||
|
||||
-driver | $STORAGE_GROUPPROVIDER_DRIVER
|
||||
: group driver: 'json', 'ldap', or 'rest'. Default: `flags.OverrideDefaultString(cfg.Reva.Groups.Driver, "ldap")`.
|
||||
-debug-addr | $STORAGE_AUTH_BEARER_DEBUG_ADDR
|
||||
: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Reva.AuthBearer.DebugAddr, "0.0.0.0:9149")`.
|
||||
|
||||
-json-config | $STORAGE_GROUPPROVIDER_JSON
|
||||
: Path to groups.json file. Default: `flags.OverrideDefaultString(cfg.Reva.Groups.JSON, "")`.
|
||||
-oidc-issuer | $STORAGE_OIDC_ISSUER , $OCIS_URL
|
||||
: OIDC issuer. Default: `flags.OverrideDefaultString(cfg.Reva.OIDC.Issuer, "https://localhost:9200")`.
|
||||
|
||||
### storage sharing
|
||||
-oidc-insecure | $STORAGE_OIDC_INSECURE
|
||||
: OIDC allow insecure communication. Default: `flags.OverrideDefaultBool(cfg.Reva.OIDC.Insecure, true)`.
|
||||
|
||||
Start sharing service
|
||||
-oidc-id-claim | $STORAGE_OIDC_ID_CLAIM
|
||||
: OIDC id claim. Default: `flags.OverrideDefaultString(cfg.Reva.OIDC.IDClaim, "preferred_username")`.
|
||||
|
||||
Usage: `storage sharing [command options] [arguments...]`
|
||||
-oidc-uid-claim | $STORAGE_OIDC_UID_CLAIM
|
||||
: OIDC uid claim. Default: `flags.OverrideDefaultString(cfg.Reva.OIDC.UIDClaim, "")`.
|
||||
|
||||
-debug-addr | $STORAGE_SHARING_DEBUG_ADDR
|
||||
: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Reva.Sharing.DebugAddr, "0.0.0.0:9151")`.
|
||||
-oidc-gid-claim | $STORAGE_OIDC_GID_CLAIM
|
||||
: OIDC gid claim. Default: `flags.OverrideDefaultString(cfg.Reva.OIDC.GIDClaim, "")`.
|
||||
|
||||
-network | $STORAGE_SHARING_GRPC_NETWORK
|
||||
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `flags.OverrideDefaultString(cfg.Reva.Sharing.GRPCNetwork, "tcp")`.
|
||||
-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_SHARING_GRPC_ADDR
|
||||
: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Sharing.GRPCAddr, "0.0.0.0:9150")`.
|
||||
|
||||
-user-driver | $STORAGE_SHARING_USER_DRIVER
|
||||
: driver to use for the UserShareProvider. Default: `flags.OverrideDefaultString(cfg.Reva.Sharing.UserDriver, "json")`.
|
||||
|
||||
-user-json-file | $STORAGE_SHARING_USER_JSON_FILE
|
||||
: file used to persist shares for the UserShareProvider. Default: `flags.OverrideDefaultString(cfg.Reva.Sharing.UserJSONFile, "/var/tmp/ocis/storage/shares.json")`.
|
||||
|
||||
-public-driver | $STORAGE_SHARING_PUBLIC_DRIVER
|
||||
: driver to use for the PublicShareProvider. Default: `flags.OverrideDefaultString(cfg.Reva.Sharing.PublicDriver, "json")`.
|
||||
|
||||
-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")`.
|
||||
|
||||
-public-enable-expired-shares-cleanup | $STORAGE_SHARING_PUBLIC_ENABLE_EXPIRED_SHARES_CLEANUP
|
||||
: whether to periodically delete expired public shares. Default: `flags.OverrideDefaultBool(cfg.Reva.Sharing.PublicEnableExpiredSharesCleanup, true)`.
|
||||
|
||||
### 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: `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")`.
|
||||
|
||||
### 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")`.
|
||||
-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")`.
|
||||
@@ -478,14 +463,29 @@ Usage: `storage storage-public-link [command options] [arguments...]`
|
||||
-gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT
|
||||
: endpoint to use for the storage gateway service. Default: `flags.OverrideDefaultString(cfg.Reva.Gateway.Endpoint, "localhost:9142")`.
|
||||
|
||||
### storage health
|
||||
### storage users
|
||||
|
||||
Check health status
|
||||
Start users service
|
||||
|
||||
Usage: `storage health [command options] [arguments...]`
|
||||
Usage: `storage users [command options] [arguments...]`
|
||||
|
||||
-debug-addr | $STORAGE_DEBUG_ADDR
|
||||
: Address to debug endpoint. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9109")`.
|
||||
-debug-addr | $STORAGE_SHARING_DEBUG_ADDR
|
||||
: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Reva.Users.DebugAddr, "0.0.0.0:9145")`.
|
||||
|
||||
-network | $STORAGE_USERPROVIDER_NETWORK
|
||||
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `flags.OverrideDefaultString(cfg.Reva.Users.GRPCNetwork, "tcp")`.
|
||||
|
||||
-addr | $STORAGE_USERPROVIDER_ADDR
|
||||
: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Users.GRPCAddr, "0.0.0.0:9144")`.
|
||||
|
||||
-endpoint | $STORAGE_USERPROVIDER_ENDPOINT
|
||||
: URL to use for the storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Users.Endpoint, "localhost:9144")`.
|
||||
|
||||
-driver | $STORAGE_USERPROVIDER_DRIVER
|
||||
: user driver: 'demo', 'json', 'ldap', or 'rest'. Default: `flags.OverrideDefaultString(cfg.Reva.Users.Driver, "ldap")`.
|
||||
|
||||
-json-config | $STORAGE_USERPROVIDER_JSON
|
||||
: Path to users.json file. Default: `flags.OverrideDefaultString(cfg.Reva.Users.JSON, "")`.
|
||||
|
||||
## Config for the different Storage Drivers
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-04-27T15:30:00+0000"
|
||||
date: "2021-04-28T07:55:42+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/store/templates
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-04-27T15:30:01+0000"
|
||||
date: "2021-04-28T07:55:42+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/thumbnails/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.
|
||||
|
||||
### thumbnails health
|
||||
|
||||
Check health status
|
||||
|
||||
Usage: `thumbnails health [command options] [arguments...]`
|
||||
|
||||
-debug-addr | $THUMBNAILS_DEBUG_ADDR
|
||||
: Address to debug endpoint. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9189")`.
|
||||
|
||||
### thumbnails ocis-thumbnails
|
||||
|
||||
Example usage
|
||||
|
||||
Usage: `thumbnails ocis-thumbnails [command options] [arguments...]`
|
||||
|
||||
### thumbnails server
|
||||
|
||||
Start integrated server
|
||||
@@ -110,11 +95,11 @@ Usage: `thumbnails server [command options] [arguments...]`
|
||||
-filesystemstorage-root | $THUMBNAILS_FILESYSTEMSTORAGE_ROOT
|
||||
: Root path of the filesystem storage directory. Default: `/var/tmp/ocis/thumbnails`.
|
||||
|
||||
-webdavsource-baseurl | $THUMBNAILS_WEBDAVSOURCE_BASEURL
|
||||
: Base url for a webdav api. Default: `flags.OverrideDefaultString(cfg.Thumbnail.WebDavSource.BaseURL, "https://localhost:9200/remote.php/webdav/")`.
|
||||
-reva-gateway-addr | $THUMBNAILS_REVA_GATEWAY , $PROXY_REVA_GATEWAY_ADDR
|
||||
: Reva gateway address. Default: `flags.OverrideDefaultString(cfg.Thumbnail.RevaGateway, "127.0.0.1:9142")`.
|
||||
|
||||
-webdavsource-insecure | $THUMBNAILS_WEBDAVSOURCE_INSECURE
|
||||
: Whether to skip certificate checks. Default: `flags.OverrideDefaultBool(cfg.Thumbnail.WebDavSource.Insecure, true)`.
|
||||
: Whether to skip certificate checks. Default: `flags.OverrideDefaultBool(cfg.Thumbnail.WebdavAllowInsecure, true)`.
|
||||
|
||||
### thumbnails version
|
||||
|
||||
@@ -128,3 +113,18 @@ Usage: `thumbnails version [command options] [arguments...]`
|
||||
-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
|
||||
|
||||
Usage: `thumbnails health [command options] [arguments...]`
|
||||
|
||||
-debug-addr | $THUMBNAILS_DEBUG_ADDR
|
||||
: Address to debug endpoint. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9189")`.
|
||||
|
||||
### thumbnails ocis-thumbnails
|
||||
|
||||
Example usage
|
||||
|
||||
Usage: `thumbnails ocis-thumbnails [command options] [arguments...]`
|
||||
|
||||
@@ -11,21 +11,29 @@ geekdocFilePath: grpc.md
|
||||
|
||||
## thumbnails.proto
|
||||
|
||||
### GetRequest
|
||||
### CS3Source
|
||||
|
||||
|
||||
|
||||
| Field | Type | Label | Description |
|
||||
| ----- | ---- | ----- | ----------- |
|
||||
| path | [string](#string) | | |
|
||||
| authorization | [string](#string) | | |
|
||||
|
||||
### GetThumbnailRequest
|
||||
|
||||
A request to retrieve a thumbnail
|
||||
|
||||
| Field | Type | Label | Description |
|
||||
| ----- | ---- | ----- | ----------- |
|
||||
| filepath | [string](#string) | | The path to the source image |
|
||||
| filetype | [GetRequest.FileType](#getrequestfiletype) | | The type to which the thumbnail should get encoded to. |
|
||||
| etag | [string](#string) | | The etag of the source image |
|
||||
| thumbnail_type | [GetThumbnailRequest.ThumbnailType](#getthumbnailrequestthumbnailtype) | | The type to which the thumbnail should get encoded to. |
|
||||
| width | [int32](#int32) | | The width of the thumbnail |
|
||||
| height | [int32](#int32) | | The height of the thumbnail |
|
||||
| authorization | [string](#string) | | The authorization token |
|
||||
| username | [string](#string) | | The user requesting the resource. |
|
||||
| webdav_source | [WebdavSource](#webdavsource) | | |
|
||||
| cs3_source | [CS3Source](#cs3source) | | |
|
||||
|
||||
### GetResponse
|
||||
### GetThumbnailResponse
|
||||
|
||||
The service response
|
||||
|
||||
@@ -34,9 +42,21 @@ The service response
|
||||
| thumbnail | [bytes](#bytes) | | The thumbnail as a binary |
|
||||
| mimetype | [string](#string) | | The mimetype of the thumbnail |
|
||||
|
||||
### GetRequest.FileType
|
||||
### WebdavSource
|
||||
|
||||
The file types to which the thumbnail cna get encoded to.
|
||||
|
||||
|
||||
| Field | Type | Label | Description |
|
||||
| ----- | ---- | ----- | ----------- |
|
||||
| url | [string](#string) | | REQUIRED. |
|
||||
| is_public_link | [bool](#bool) | | REQUIRED. |
|
||||
| webdav_authorization | [string](#string) | | OPTIONAL. |
|
||||
| reva_authorization | [string](#string) | | OPTIONAL. |
|
||||
| public_link_token | [string](#string) | | OPTIONAL. |
|
||||
|
||||
### GetThumbnailRequest.ThumbnailType
|
||||
|
||||
The file types to which the thumbnail can get encoded to.
|
||||
|
||||
| Name | Number | Description |
|
||||
| ---- | ------ | ----------- |
|
||||
@@ -49,7 +69,7 @@ A Service for handling thumbnail generation
|
||||
|
||||
| Method Name | Request Type | Response Type | Description |
|
||||
| ----------- | ------------ | ------------- | ------------|
|
||||
| GetThumbnail | [GetRequest](#getrequest) | [GetResponse](#getresponse) | Generates the thumbnail and returns it. |
|
||||
| GetThumbnail | [GetThumbnailRequest](#getthumbnailrequest) | [GetThumbnailResponse](#getthumbnailresponse) | Generates the thumbnail and returns it. |
|
||||
|
||||
## Scalar Value Types
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-04-27T15:30:01+0000"
|
||||
date: "2021-04-28T07:55:42+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/web/templates
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-04-27T15:30:02+0000"
|
||||
date: "2021-04-28T07:55:42+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/webdav/templates
|
||||
@@ -112,6 +112,9 @@ Usage: `webdav server [command options] [arguments...]`
|
||||
-http-root | $WEBDAV_HTTP_ROOT
|
||||
: Root path of http server. Default: `flags.OverrideDefaultString(cfg.HTTP.Root, "/")`.
|
||||
|
||||
-ocis-public-url | $OCIS_PUBLIC_URL , $OCIS_URL
|
||||
: The domain under which oCIS is reachable. Default: `flags.OverrideDefaultString(cfg.OcisPublicURL, "https://127.0.0.1:9200")`.
|
||||
|
||||
### webdav version
|
||||
|
||||
Print the versions of the running instances
|
||||
|
||||
+75
-75
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-04-27T15:29:59+0000"
|
||||
date: "2021-04-28T07:55:41+0000"
|
||||
weight: 2
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/ocis/templates
|
||||
@@ -86,27 +86,18 @@ Usage: `ocis [global options] command [command options] [arguments...]`
|
||||
|
||||
## Sub Commands
|
||||
|
||||
### ocis list
|
||||
|
||||
Lists running ocis extensions
|
||||
|
||||
Usage: `ocis list [command options] [arguments...]`
|
||||
|
||||
### 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 kill
|
||||
|
||||
Kill an extension by name
|
||||
|
||||
Usage: `ocis kill [command options] [arguments...]`
|
||||
|
||||
### ocis server
|
||||
|
||||
Start fullstack server
|
||||
@@ -134,95 +125,68 @@ Usage: `ocis server [command options] [arguments...]`
|
||||
-grpc-addr | $OCIS_GRPC_ADDR
|
||||
: Address to bind grpc server. Default: `0.0.0.0:9001`.
|
||||
|
||||
### ocis kill
|
||||
### ocis health
|
||||
|
||||
Kill an extension by name
|
||||
Check health status
|
||||
|
||||
Usage: `ocis kill [command options] [arguments...]`
|
||||
Usage: `ocis health [command options] [arguments...]`
|
||||
|
||||
-debug-addr | $OCIS_DEBUG_ADDR
|
||||
: Address to debug endpoint. Default: `0.0.0.0:9010`.
|
||||
|
||||
### ocis list
|
||||
|
||||
Lists running ocis extensions
|
||||
|
||||
Usage: `ocis list [command options] [arguments...]`
|
||||
|
||||
### 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 ocs
|
||||
#### ocis storage-auth-bearer
|
||||
|
||||
Start ocs server
|
||||
|
||||
#### ocis storage-gateway
|
||||
|
||||
Start storage gateway
|
||||
|
||||
#### ocis storage-public-link
|
||||
|
||||
Start storage public link storage
|
||||
|
||||
#### ocis storage-users
|
||||
|
||||
Start storage and data provider for /users mount
|
||||
|
||||
#### ocis storage-home
|
||||
|
||||
Start storage and data provider for /home mount
|
||||
|
||||
#### ocis storage-userprovider
|
||||
|
||||
Start storage userprovider service
|
||||
Start storage auth-bearer service
|
||||
|
||||
#### ocis version
|
||||
|
||||
Lists running services with version
|
||||
|
||||
#### ocis onlyoffice
|
||||
#### ocis store
|
||||
|
||||
Start onlyoffice server
|
||||
Start a go-micro store
|
||||
|
||||
#### ocis storage-auth-basic
|
||||
#### ocis ocs
|
||||
|
||||
Start storage auth-basic service
|
||||
|
||||
#### ocis accounts
|
||||
|
||||
Start accounts server
|
||||
|
||||
#### ocis storage-auth-bearer
|
||||
|
||||
Start storage auth-bearer service
|
||||
|
||||
#### ocis webdav
|
||||
|
||||
Start webdav server
|
||||
|
||||
#### ocis proxy
|
||||
|
||||
Start proxy server
|
||||
Start ocs server
|
||||
|
||||
#### ocis settings
|
||||
|
||||
Start settings server
|
||||
|
||||
#### ocis storage-groupprovider
|
||||
#### ocis storage-gateway
|
||||
|
||||
Start storage groupprovider service
|
||||
Start storage gateway
|
||||
|
||||
#### ocis storage-sharing
|
||||
#### ocis proxy
|
||||
|
||||
Start storage sharing service
|
||||
|
||||
#### ocis store
|
||||
|
||||
Start a go-micro store
|
||||
|
||||
#### ocis idp
|
||||
|
||||
Start idp server
|
||||
Start proxy server
|
||||
|
||||
#### ocis storage-frontend
|
||||
|
||||
Start storage frontend
|
||||
|
||||
#### ocis storage-metadata
|
||||
#### ocis storage-sharing
|
||||
|
||||
Start storage and data service for metadata
|
||||
Start storage sharing service
|
||||
|
||||
#### ocis storage-home
|
||||
|
||||
Start storage and data provider for /home mount
|
||||
|
||||
#### ocis storage-public-link
|
||||
|
||||
Start storage public link storage
|
||||
|
||||
#### ocis thumbnails
|
||||
|
||||
@@ -232,7 +196,43 @@ Start thumbnails server
|
||||
|
||||
Start web server
|
||||
|
||||
#### ocis accounts
|
||||
|
||||
Start accounts server
|
||||
|
||||
#### ocis onlyoffice
|
||||
|
||||
Start onlyoffice server
|
||||
|
||||
#### ocis storage-auth-basic
|
||||
|
||||
Start storage auth-basic service
|
||||
|
||||
#### ocis storage-userprovider
|
||||
|
||||
Start storage userprovider service
|
||||
|
||||
#### ocis glauth
|
||||
|
||||
Start glauth server
|
||||
|
||||
#### ocis storage-groupprovider
|
||||
|
||||
Start storage groupprovider service
|
||||
|
||||
#### ocis storage-users
|
||||
|
||||
Start storage and data provider for /users mount
|
||||
|
||||
#### ocis webdav
|
||||
|
||||
Start webdav server
|
||||
|
||||
#### ocis idp
|
||||
|
||||
Start idp server
|
||||
|
||||
#### ocis storage-metadata
|
||||
|
||||
Start storage and data service for metadata
|
||||
|
||||
Reference in new issue
Block a user