commit d3f6298c8d
Merge:74e4788cba58cf89Author: Willy Kloucek <34452982+wkloucek@users.noreply.github.com> Date: Thu May 6 14:35:31 2021 +0200 Merge pull request #2023 from owncloud/starlark_format_linting starlark format linting
This commit is contained in:
1 parent
738bb3d45f
commit
a40cc5febb
16 files changed
+453
-453
No files matched your search
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-05-06T11:59:02+0000"
|
||||
date: "2021-05-06T12:35:51+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/accounts/templates
|
||||
@@ -35,6 +35,48 @@ 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 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 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: `flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api")`.
|
||||
|
||||
-name | $ACCOUNTS_NAME
|
||||
: service name. Default: `flags.OverrideDefaultString(cfg.Server.Name, "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: `flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api")`.
|
||||
|
||||
-name | $ACCOUNTS_NAME
|
||||
: service name. Default: `flags.OverrideDefaultString(cfg.Server.Name, "accounts")`.
|
||||
|
||||
### accounts list
|
||||
|
||||
List existing accounts
|
||||
@@ -47,17 +89,26 @@ Usage: `accounts list [command options] [arguments...]`
|
||||
-name | $ACCOUNTS_NAME
|
||||
: service name. Default: `flags.OverrideDefaultString(cfg.Server.Name, "accounts")`.
|
||||
|
||||
### accounts remove
|
||||
### accounts rebuildIndex
|
||||
|
||||
Removes an existing account
|
||||
Rebuilds the service's index, i.e. deleting and then re-adding all existing documents
|
||||
|
||||
Usage: `accounts remove [command options] [arguments...]`
|
||||
Usage: `accounts rebuildIndex [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")`.
|
||||
### accounts ocis-accounts
|
||||
|
||||
-name | $ACCOUNTS_NAME
|
||||
: service name. Default: `flags.OverrideDefaultString(cfg.Server.Name, "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
|
||||
|
||||
@@ -134,54 +185,3 @@ Make changes to an existing account
|
||||
|
||||
Usage: `accounts update [command options] [arguments...]`
|
||||
|
||||
### accounts add
|
||||
|
||||
Create a new account
|
||||
|
||||
Usage: `accounts add [command options] [arguments...]`
|
||||
|
||||
### accounts 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
|
||||
|
||||
Usage: `accounts version [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 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")`.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-05-06T12:00:00+0000"
|
||||
date: "2021-05-06T12:36:52+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/glauth/templates
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-05-06T12:00:00+0000"
|
||||
date: "2021-05-06T12:36:52+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/graph-explorer/templates
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-05-06T12:00:00+0000"
|
||||
date: "2021-05-06T12:36:52+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/graph/templates
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-05-06T12:00:00+0000"
|
||||
date: "2021-05-06T12:36:52+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/idp/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.
|
||||
|
||||
### idp version
|
||||
|
||||
Print the versions of the running instances
|
||||
|
||||
Usage: `idp version [command options] [arguments...]`
|
||||
|
||||
-http-namespace | $IDP_HTTP_NAMESPACE
|
||||
: Set the base namespace for service discovery. Default: `flags.OverrideDefaultString(cfg.Service.Namespace, "com.owncloud.web")`.
|
||||
|
||||
-name | $IDP_NAME
|
||||
: Service name. Default: `flags.OverrideDefaultString(cfg.Service.Name, "idp")`.
|
||||
|
||||
### idp health
|
||||
|
||||
Check health status
|
||||
@@ -209,15 +221,3 @@ Usage: `idp server [command options] [arguments...]`
|
||||
-disable-identifier-webapp | $IDP_DISABLE_IDENTIFIER_WEBAPP
|
||||
: Disable built-in identifier-webapp to use a frontend hosted elsewhere.. Default: `flags.OverrideDefaultBool(cfg.IDP.IdentifierClientDisabled, true)`.
|
||||
|
||||
### idp version
|
||||
|
||||
Print the versions of the running instances
|
||||
|
||||
Usage: `idp version [command options] [arguments...]`
|
||||
|
||||
-http-namespace | $IDP_HTTP_NAMESPACE
|
||||
: Set the base namespace for service discovery. Default: `flags.OverrideDefaultString(cfg.Service.Namespace, "com.owncloud.web")`.
|
||||
|
||||
-name | $IDP_NAME
|
||||
: Service name. Default: `flags.OverrideDefaultString(cfg.Service.Name, "idp")`.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-05-06T12:00:00+0000"
|
||||
date: "2021-05-06T12:36:52+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/ocs/templates
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-05-06T12:00:00+0000"
|
||||
date: "2021-05-06T12:36:52+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/onlyoffice/templates
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-05-06T12:00:00+0000"
|
||||
date: "2021-05-06T12:36:52+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/proxy/templates
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-05-06T12:00:00+0000"
|
||||
date: "2021-05-06T12:36:52+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/settings/templates
|
||||
@@ -35,18 +35,6 @@ If multiple variables are listed for one option, they are in order of precedence
|
||||
|
||||
If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
|
||||
|
||||
### settings version
|
||||
|
||||
Print the versions of the running instances
|
||||
|
||||
Usage: `settings version [command options] [arguments...]`
|
||||
|
||||
-grpc-namespace | $SETTINGS_GRPC_NAMESPACE
|
||||
: Set the base namespace for the grpc namespace. Default: `flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api")`.
|
||||
|
||||
-name | $SETTINGS_NAME
|
||||
: service name. Default: `flags.OverrideDefaultString(cfg.Service.Name, "settings")`.
|
||||
|
||||
### settings health
|
||||
|
||||
Check health status
|
||||
@@ -134,3 +122,15 @@ Usage: `settings server [command options] [arguments...]`
|
||||
-jwt-secret | $SETTINGS_JWT_SECRET , $OCIS_JWT_SECRET
|
||||
: Used to create JWT to talk to reva, should equal reva's jwt-secret. Default: `flags.OverrideDefaultString(cfg.TokenManager.JWTSecret, "Pive-Fumkiu4")`.
|
||||
|
||||
### settings version
|
||||
|
||||
Print the versions of the running instances
|
||||
|
||||
Usage: `settings version [command options] [arguments...]`
|
||||
|
||||
-grpc-namespace | $SETTINGS_GRPC_NAMESPACE
|
||||
: Set the base namespace for the grpc namespace. Default: `flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api")`.
|
||||
|
||||
-name | $SETTINGS_NAME
|
||||
: service name. Default: `flags.OverrideDefaultString(cfg.Service.Name, "settings")`.
|
||||
|
||||
+254
-254
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-05-06T12:00:01+0000"
|
||||
date: "2021-05-06T12:36:53+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/storage/templates
|
||||
@@ -55,180 +55,6 @@ Usage: `storage [global options] command [command options] [arguments...]`
|
||||
|
||||
## Sub Commands
|
||||
|
||||
### 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 , $OCIS_LOG_LEVEL
|
||||
: Set logging level.
|
||||
|
||||
-log-pretty | $STORAGE_LOG_PRETTY , $OCIS_LOG_PRETTY
|
||||
: Enable pretty logging.
|
||||
|
||||
-log-color | $STORAGE_LOG_COLOR , $OCIS_LOG_COLOR
|
||||
: Enable colored logging.
|
||||
|
||||
### 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-metadata
|
||||
|
||||
Start storage-metadata service
|
||||
|
||||
Usage: `storage storage-metadata [command options] [arguments...]`
|
||||
|
||||
### 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 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-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 frontend
|
||||
|
||||
Start frontend service
|
||||
@@ -283,92 +109,26 @@ 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 health
|
||||
### storage auth-basic
|
||||
|
||||
Check health status
|
||||
Start authprovider for basic auth
|
||||
|
||||
Usage: `storage health [command options] [arguments...]`
|
||||
Usage: `storage auth-basic [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_AUTH_BASIC_DEBUG_ADDR
|
||||
: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Reva.AuthBasic.DebugAddr, "0.0.0.0:9147")`.
|
||||
|
||||
### storage storage-users
|
||||
-auth-driver | $STORAGE_AUTH_DRIVER
|
||||
: auth driver: 'demo', 'json' or 'ldap'. Default: `flags.OverrideDefaultString(cfg.Reva.AuthProvider.Driver, "ldap")`.
|
||||
|
||||
Start storage-users service
|
||||
-auth-json | $STORAGE_AUTH_JSON
|
||||
: Path to users.json file. Default: `flags.OverrideDefaultString(cfg.Reva.AuthProvider.JSON, "")`.
|
||||
|
||||
Usage: `storage storage-users [command options] [arguments...]`
|
||||
-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")`.
|
||||
|
||||
-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-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")`.
|
||||
-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")`.
|
||||
@@ -463,6 +223,153 @@ 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 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 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 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 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-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 groups
|
||||
|
||||
Start groups service
|
||||
@@ -487,6 +394,99 @@ Usage: `storage groups [command options] [arguments...]`
|
||||
-json-config | $STORAGE_GROUPPROVIDER_JSON
|
||||
: Path to groups.json file. Default: `flags.OverrideDefaultString(cfg.Reva.Groups.JSON, "")`.
|
||||
|
||||
### 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 , $OCIS_LOG_LEVEL
|
||||
: Set logging level.
|
||||
|
||||
-log-pretty | $STORAGE_LOG_PRETTY , $OCIS_LOG_PRETTY
|
||||
: Enable pretty logging.
|
||||
|
||||
-log-color | $STORAGE_LOG_COLOR , $OCIS_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: `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, "")`.
|
||||
|
||||
## Config for the different Storage Drivers
|
||||
|
||||
You can set different storage drivers for the Storage Providers. Please check the storage provider configuration.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-05-06T12:00:01+0000"
|
||||
date: "2021-05-06T12:36:53+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/store/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.
|
||||
|
||||
### store version
|
||||
|
||||
Print the versions of the running instances
|
||||
|
||||
Usage: `store version [command options] [arguments...]`
|
||||
|
||||
-grpc-namespace | $STORE_GRPC_NAMESPACE
|
||||
: Set the base namespace for the grpc namespace. Default: `flags.OverrideDefaultString(cfg.Service.Namespace, "com.owncloud.api")`.
|
||||
|
||||
-name | $STORE_NAME
|
||||
: Service name. Default: `flags.OverrideDefaultString(cfg.Service.Name, "store")`.
|
||||
|
||||
### store health
|
||||
|
||||
Check health status
|
||||
@@ -107,15 +119,3 @@ Usage: `store server [command options] [arguments...]`
|
||||
-data-path | $STORE_DATA_PATH
|
||||
: location of the store data path. Default: `flags.OverrideDefaultString(cfg.Datapath, "/var/tmp/ocis/store")`.
|
||||
|
||||
### store version
|
||||
|
||||
Print the versions of the running instances
|
||||
|
||||
Usage: `store version [command options] [arguments...]`
|
||||
|
||||
-grpc-namespace | $STORE_GRPC_NAMESPACE
|
||||
: Set the base namespace for the grpc namespace. Default: `flags.OverrideDefaultString(cfg.Service.Namespace, "com.owncloud.api")`.
|
||||
|
||||
-name | $STORE_NAME
|
||||
: Service name. Default: `flags.OverrideDefaultString(cfg.Service.Name, "store")`.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-05-06T12:00:01+0000"
|
||||
date: "2021-05-06T12:36:53+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: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9189")`.
|
||||
|
||||
### thumbnails ocis-thumbnails
|
||||
|
||||
Example usage
|
||||
@@ -128,3 +119,12 @@ 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")`.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-05-06T12:00:02+0000"
|
||||
date: "2021-05-06T12:36:54+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/web/templates
|
||||
@@ -43,6 +43,12 @@ Usage: `web [global options] command [command options] [arguments...]`
|
||||
|
||||
## Sub Commands
|
||||
|
||||
### web server
|
||||
|
||||
Start integrated server
|
||||
|
||||
Usage: `web server [command options] [arguments...]`
|
||||
|
||||
### web health
|
||||
|
||||
Check health status
|
||||
@@ -52,9 +58,3 @@ Usage: `web health [command options] [arguments...]`
|
||||
-debug-addr | $WEB_DEBUG_ADDR
|
||||
: Address to debug endpoint. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9104")`.
|
||||
|
||||
### web server
|
||||
|
||||
Start integrated server
|
||||
|
||||
Usage: `web server [command options] [arguments...]`
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-05-06T12:00:02+0000"
|
||||
date: "2021-05-06T12:36:54+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/webdav/templates
|
||||
|
||||
+76
-76
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-05-06T12:00:00+0000"
|
||||
date: "2021-05-06T12:36:52+0000"
|
||||
weight: 2
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/ocis/templates
|
||||
@@ -86,6 +86,27 @@ 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 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
|
||||
@@ -113,68 +134,19 @@ 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 run
|
||||
|
||||
Runs an extension
|
||||
|
||||
Usage: `ocis run [command options] [arguments...]`
|
||||
|
||||
### ocis kill
|
||||
|
||||
Kill an extension by name
|
||||
|
||||
Usage: `ocis kill [command options] [arguments...]`
|
||||
|
||||
### ocis list
|
||||
|
||||
Lists running ocis extensions
|
||||
|
||||
Usage: `ocis list [command options] [arguments...]`
|
||||
|
||||
### 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-public-link
|
||||
#### ocis accounts
|
||||
|
||||
Start storage public link storage
|
||||
|
||||
#### ocis ocs
|
||||
|
||||
Start ocs server
|
||||
|
||||
#### ocis storage-auth-bearer
|
||||
|
||||
Start storage auth-bearer service
|
||||
|
||||
#### ocis glauth
|
||||
|
||||
Start glauth server
|
||||
|
||||
#### ocis storage-auth-basic
|
||||
|
||||
Start storage auth-basic service
|
||||
|
||||
#### ocis storage-home
|
||||
|
||||
Start storage and data provider for /home mount
|
||||
|
||||
#### ocis storage-userprovider
|
||||
|
||||
Start storage userprovider service
|
||||
|
||||
#### ocis webdav
|
||||
|
||||
Start webdav server
|
||||
Start accounts server
|
||||
|
||||
#### ocis idp
|
||||
|
||||
@@ -184,55 +156,83 @@ Start idp server
|
||||
|
||||
Start storage groupprovider service
|
||||
|
||||
#### ocis storage-users
|
||||
|
||||
Start storage and data provider for /users mount
|
||||
|
||||
#### ocis store
|
||||
|
||||
Start a go-micro store
|
||||
|
||||
#### ocis accounts
|
||||
#### ocis glauth
|
||||
|
||||
Start accounts server
|
||||
|
||||
#### ocis storage-sharing
|
||||
|
||||
Start storage sharing service
|
||||
|
||||
#### ocis settings
|
||||
|
||||
Start settings server
|
||||
Start glauth server
|
||||
|
||||
#### ocis storage-frontend
|
||||
|
||||
Start storage frontend
|
||||
|
||||
#### ocis storage-metadata
|
||||
#### ocis storage-home
|
||||
|
||||
Start storage and data service for metadata
|
||||
Start storage and data provider for /home mount
|
||||
|
||||
#### ocis storage-users
|
||||
#### ocis storage-userprovider
|
||||
|
||||
Start storage and data provider for /users mount
|
||||
Start storage userprovider service
|
||||
|
||||
#### ocis thumbnails
|
||||
#### ocis settings
|
||||
|
||||
Start thumbnails server
|
||||
Start settings server
|
||||
|
||||
#### ocis onlyoffice
|
||||
#### ocis storage-auth-basic
|
||||
|
||||
Start onlyoffice server
|
||||
Start storage auth-basic service
|
||||
|
||||
#### ocis proxy
|
||||
#### ocis storage-auth-bearer
|
||||
|
||||
Start proxy server
|
||||
Start storage auth-bearer service
|
||||
|
||||
#### ocis storage-gateway
|
||||
|
||||
Start storage gateway
|
||||
|
||||
#### ocis version
|
||||
|
||||
Lists running services with version
|
||||
|
||||
#### ocis web
|
||||
|
||||
Start web server
|
||||
|
||||
#### ocis storage-metadata
|
||||
|
||||
Start storage and data service for metadata
|
||||
|
||||
#### ocis ocs
|
||||
|
||||
Start ocs server
|
||||
|
||||
#### ocis proxy
|
||||
|
||||
Start proxy server
|
||||
|
||||
#### ocis storage-sharing
|
||||
|
||||
Start storage sharing service
|
||||
|
||||
#### ocis thumbnails
|
||||
|
||||
Start thumbnails server
|
||||
|
||||
#### ocis version
|
||||
|
||||
Lists running services with version
|
||||
|
||||
#### ocis onlyoffice
|
||||
|
||||
Start onlyoffice server
|
||||
|
||||
#### ocis storage-public-link
|
||||
|
||||
Start storage public link storage
|
||||
|
||||
#### ocis webdav
|
||||
|
||||
Start webdav server
|
||||
|
||||
@@ -13,7 +13,7 @@ oCIS uses [DRONE](https://www.drone.io/) as CI system. You can find the pipeline
|
||||
|
||||
## Concepts
|
||||
|
||||
The pipeline is defined in [Starlark](https://github.com/bazelbuild/starlark) and transformed to YAML upon pipeline run. This enables us to do a highly dynamic and non repeating pipeline configuration.
|
||||
The pipeline is defined in [Starlark](https://github.com/bazelbuild/starlark) and transformed to YAML upon pipeline run. This enables us to do a highly dynamic and non repeating pipeline configuration. We enforce Starlark format guidelines with Bazel Buildifier. You can format the .drone.star file by running `make ci-format`.
|
||||
|
||||
Upon running the pipeline, your branch gets merged to the master branch. This ensures that we always test your changeset if as it was applied to the master of oCIS. Please note that this does not apply to the pipeline definition (`.drone.star`).
|
||||
|
||||
|
||||
Reference in new issue
Block a user