Merge: 955bd60e 708133ab
Author: Willy Kloucek <34452982+wkloucek@users.noreply.github.com>
Date:   Tue Apr 13 10:28:36 2021 +0200

    Merge pull request #1908 from owncloud/remove_go_micro_smaller_than_v2

    remove micro smaller than v2
This commit is contained in:
Willy Kloucek committed 2021-04-13 08:31:01 +00:00
1 parent 62ab674fa6
commit 3784bf9afe
15 files changed
+356 -356

No files matched your search

+55 -55
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-04-13T06:35:40+0000"
date: "2021-04-13T08:28:59+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/accounts/templates
@@ -35,17 +35,11 @@ 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 inspect
### accounts add
Show detailed data on an existing account
Create a new account
Usage: `accounts inspect [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api")`.
-name | $ACCOUNTS_NAME
: service name. Default: `flags.OverrideDefaultString(cfg.Server.Name, "accounts")`.
Usage: `accounts add [command options] [arguments...]`
### accounts list
@@ -65,6 +59,57 @@ Rebuilds the service's index, i.e. deleting and then re-adding all existing docu
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 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")`.
### 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
@@ -140,48 +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 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
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")`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-04-13T06:36:28+0000"
date: "2021-04-13T08:29:58+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/glauth/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-04-13T06:36:28+0000"
date: "2021-04-13T08:29:58+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph-explorer/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-04-13T06:36:28+0000"
date: "2021-04-13T08:29:58+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph/templates
+13 -13
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-04-13T06:36:28+0000"
date: "2021-04-13T08:29:58+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/idp/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.
### 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
@@ -221,3 +209,15 @@ 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")`.
+13 -13
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-04-13T06:36:28+0000"
date: "2021-04-13T08:29:59+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
@@ -113,15 +125,3 @@ Usage: `ocs server [command options] [arguments...]`
-jwt-secret | $OCS_JWT_SECRET , $OCIS_JWT_SECRET
: Used to dismantle the access token, should equal reva's jwt-secret. Default: `flags.OverrideDefaultString(cfg.TokenManager.JWTSecret, "Pive-Fumkiu4")`.
### ocs version
Print the versions of the running instances
Usage: `ocs version [command options] [arguments...]`
-http-namespace | $OCS_NAMESPACE
: Set the base namespace for the http namespace. Default: `flags.OverrideDefaultString(cfg.Service.Namespace, "com.owncloud.web")`.
-name | $OCS_NAME
: Service name. Default: `flags.OverrideDefaultString(cfg.Service.Name, "ocs")`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-04-13T06:36:28+0000"
date: "2021-04-13T08:29:59+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/onlyoffice/templates
+10 -10
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-04-13T06:36:28+0000"
date: "2021-04-13T08:29:59+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/proxy/templates
@@ -35,6 +35,15 @@ If multiple variables are listed for one option, they are in order of precedence
If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### proxy health
Check health status
Usage: `proxy health [command options] [arguments...]`
--debug-addr | $PROXY_DEBUG_ADDR
: Address to debug endpoint. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9109")`.
### proxy ocis-proxy
proxy for oCIS
@@ -68,12 +77,3 @@ Usage: `proxy version [command options] [arguments...]`
--service-name | $PROXY_SERVICE_NAME
: Service name. Default: `flags.OverrideDefaultString(cfg.Service.Name, "proxy")`.
### proxy health
Check health status
Usage: `proxy health [command options] [arguments...]`
--debug-addr | $PROXY_DEBUG_ADDR
: Address to debug endpoint. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9109")`.
+10 -10
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-04-13T06:36:28+0000"
date: "2021-04-13T08:29:59+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/settings/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.
### settings health
Check health status
Usage: `settings health [command options] [arguments...]`
-debug-addr | $SETTINGS_DEBUG_ADDR
: Address to debug endpoint. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9194")`.
### settings ocis-settings
Provide settings and permissions for oCIS
@@ -134,3 +125,12 @@ Usage: `settings version [command options] [arguments...]`
-name | $SETTINGS_NAME
: service name. Default: `flags.OverrideDefaultString(cfg.Service.Name, "settings")`.
### settings health
Check health status
Usage: `settings health [command options] [arguments...]`
-debug-addr | $SETTINGS_DEBUG_ADDR
: Address to debug endpoint. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9194")`.
+150 -150
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-04-13T06:36:29+0000"
date: "2021-04-13T08:29:59+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/storage/templates
@@ -55,48 +55,6 @@ 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 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 frontend
Start frontend service
@@ -235,30 +193,6 @@ 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
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 health
Check health status
@@ -268,59 +202,29 @@ 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-public-link
### storage storage-metadata
Start storage-public-link service
Start storage-metadata service
Usage: `storage storage-public-link [command options] [arguments...]`
Usage: `storage storage-metadata [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")`.
### storage storage
-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")`.
Storage service for oCIS
-addr | $STORAGE_PUBLIC_LINK_GRPC_ADDR
: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.StoragePublicLink.GRPCAddr, "0.0.0.0:9178")`.
Usage: `storage storage [command options] [arguments...]`
-mount-path | $STORAGE_PUBLIC_LINK_MOUNT_PATH
: mount path. Default: `flags.OverrideDefaultString(cfg.Reva.StoragePublicLink.MountPath, "/public")`.
-config-file | $STORAGE_CONFIG_FILE
: Path to config file.
-gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT
: endpoint to use for the storage gateway service. Default: `flags.OverrideDefaultString(cfg.Reva.Gateway.Endpoint, "localhost:9142")`.
-log-level | $STORAGE_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
### storage auth-bearer
-log-pretty | $STORAGE_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
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")`.
-log-color | $STORAGE_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
### storage sharing
@@ -349,62 +253,53 @@ Usage: `storage sharing [command options] [arguments...]`
-public-json-file | $STORAGE_SHARING_PUBLIC_JSON_FILE
: file used to persist shares for the PublicShareProvider. Default: `flags.OverrideDefaultString(cfg.Reva.Sharing.PublicJSONFile, "/var/tmp/ocis/storage/publicshares.json")`.
### storage storage-home
### storage auth-basic
Start storage-home service
Start authprovider for basic auth
Usage: `storage storage-home [command options] [arguments...]`
Usage: `storage auth-basic [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")`.
-debug-addr | $STORAGE_AUTH_BASIC_DEBUG_ADDR
: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Reva.AuthBasic.DebugAddr, "0.0.0.0:9147")`.
-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")`.
-auth-driver | $STORAGE_AUTH_DRIVER
: auth driver: 'demo', 'json' or 'ldap'. Default: `flags.OverrideDefaultString(cfg.Reva.AuthProvider.Driver, "ldap")`.
-grpc-addr | $STORAGE_HOME_GRPC_ADDR
: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.GRPCAddr, "0.0.0.0:9154")`.
-auth-json | $STORAGE_AUTH_JSON
: Path to users.json file. Default: `flags.OverrideDefaultString(cfg.Reva.AuthProvider.JSON, "")`.
-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")`.
-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")`.
-http-addr | $STORAGE_HOME_HTTP_ADDR
: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.HTTPAddr, "0.0.0.0:9155")`.
-addr | $STORAGE_AUTH_BASIC_GRPC_ADDR
: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.AuthBasic.GRPCAddr, "0.0.0.0:9146")`.
-driver | $STORAGE_HOME_DRIVER
: storage driver for home mount: eg. local, eos, owncloud, ocis or s3. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.Driver, "ocis")`.
-gateway-url | $STORAGE_GATEWAY_ENDPOINT
: URL to use for the storage gateway service. Default: `flags.OverrideDefaultString(cfg.Reva.Gateway.Endpoint, "localhost:9142")`.
-mount-path | $STORAGE_HOME_MOUNT_PATH
: mount path. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.MountPath, "/home")`.
### storage groups
-mount-id | $STORAGE_HOME_MOUNT_ID
: mount id. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.MountID, "1284d238-aa92-42ce-bdc4-0b0000009157")`.
Start groups service
-expose-data-server | $STORAGE_HOME_EXPOSE_DATA_SERVER
: exposes a dedicated data server. Default: `flags.OverrideDefaultBool(cfg.Reva.StorageHome.ExposeDataServer, false)`.
Usage: `storage groups [command options] [arguments...]`
-data-server-url | $STORAGE_HOME_DATA_SERVER_URL
: data server url. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.DataServerURL, "http://localhost:9155/data")`.
-debug-addr | $STORAGE_GROUPPROVIDER_DEBUG_ADDR
: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Reva.Groups.DebugAddr, "0.0.0.0:9161")`.
-http-prefix | $STORAGE_HOME_HTTP_PREFIX
: prefix for the http endpoint, without leading slash. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.HTTPPrefix, "data")`.
-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")`.
-tmp-folder | $STORAGE_HOME_TMP_FOLDER
: path to tmp folder. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.TempFolder, "/var/tmp/ocis/tmp/home")`.
-addr | $STORAGE_GROUPPROVIDER_ADDR
: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Groups.GRPCAddr, "0.0.0.0:9160")`.
-enable-home | $STORAGE_HOME_ENABLE_HOME
: enable the creation of home directories. Default: `flags.OverrideDefaultBool(cfg.Reva.Storages.Home.EnableHome, true)`.
-endpoint | $STORAGE_GROUPPROVIDER_ENDPOINT
: URL to use for the storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Groups.Endpoint, "localhost:9160")`.
-gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT
: endpoint to use for the storage gateway service. Default: `flags.OverrideDefaultString(cfg.Reva.Gateway.Endpoint, "localhost:9142")`.
-driver | $STORAGE_GROUPPROVIDER_DRIVER
: group driver: 'json', 'ldap', or 'rest'. Default: `flags.OverrideDefaultString(cfg.Reva.Groups.Driver, "ldap")`.
-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...]`
-json-config | $STORAGE_GROUPPROVIDER_JSON
: Path to groups.json file. Default: `flags.OverrideDefaultString(cfg.Reva.Groups.JSON, "")`.
### storage storage-users
@@ -478,6 +373,111 @@ Usage: `storage users [command options] [arguments...]`
-json-config | $STORAGE_USERPROVIDER_JSON
: Path to users.json file. Default: `flags.OverrideDefaultString(cfg.Reva.Users.JSON, "")`.
### storage auth-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 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-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")`.
## Config for the different Storage Drivers
You can set different storage drivers for the Storage Providers. Please check the storage provider configuration.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-04-13T06:36:29+0000"
date: "2021-04-13T08:29:59+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/store/templates
+28 -28
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-04-13T06:36:29+0000"
date: "2021-04-13T08:30:00+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/thumbnails/templates
@@ -35,6 +35,33 @@ If multiple variables are listed for one option, they are in order of precedence
If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### thumbnails version
Print the versions of the running instances
Usage: `thumbnails version [command options] [arguments...]`
-grpc-name | $THUMBNAILS_GRPC_NAME
: Name of the service. Default: `flags.OverrideDefaultString(cfg.Server.Name, "thumbnails")`.
-grpc-namespace | $THUMBNAILS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `flags.OverrideDefaultString(cfg.Server.Namespace, "com.owncloud.api")`.
### thumbnails health
Check health status
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
@@ -101,30 +128,3 @@ Usage: `thumbnails server [command options] [arguments...]`
-webdavsource-insecure | $THUMBNAILS_WEBDAVSOURCE_INSECURE
: Whether to skip certificate checks. Default: `flags.OverrideDefaultBool(cfg.Thumbnail.WebDavSource.Insecure, true)`.
### thumbnails version
Print the versions of the running instances
Usage: `thumbnails version [command options] [arguments...]`
-grpc-name | $THUMBNAILS_GRPC_NAME
: Name of the service. Default: `flags.OverrideDefaultString(cfg.Server.Name, "thumbnails")`.
-grpc-namespace | $THUMBNAILS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `flags.OverrideDefaultString(cfg.Server.Namespace, "com.owncloud.api")`.
### 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...]`
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-04-13T06:36:30+0000"
date: "2021-04-13T08:30:00+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/web/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-04-13T06:36:30+0000"
date: "2021-04-13T08:30:00+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/webdav/templates
+70 -70
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-04-13T06:36:28+0000"
date: "2021-04-13T08:29:59+0000"
weight: 2
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocis/templates
@@ -86,21 +86,6 @@ Usage: `ocis [global options] command [command options] [arguments...]`
## Sub Commands
### ocis kill
Kill an extension by name
Usage: `ocis kill [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
@@ -140,69 +125,72 @@ Usage: `ocis server [command options] [arguments...]`
-grpc-addr | $OCIS_GRPC_ADDR
: Address to bind grpc server. Default: `0.0.0.0:9001`.
### ocis health
Check health status
Usage: `ocis health [command options] [arguments...]`
-debug-addr | $OCIS_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9010`.
### ocis kill
Kill an extension by name
Usage: `ocis kill [command options] [arguments...]`
### List of available Extension subcommands
There are more subcommands to start the individual extensions. Please check the documentation about their usage and options in the dedicated section of the documentation.
#### ocis glauth
Start glauth server
#### ocis idp
Start idp server
#### ocis settings
Start settings server
#### ocis store
Start a go-micro store
#### ocis storage-metadata
Start storage and data service for metadata
#### ocis onlyoffice
Start onlyoffice server
#### ocis proxy
Start proxy server
#### ocis storage-auth-basic
Start storage auth-basic service
#### ocis storage-sharing
Start storage sharing service
#### ocis storage-userprovider
#### ocis accounts
Start storage userprovider service
Start accounts server
#### ocis proxy
Start proxy server
#### ocis storage-metadata
Start storage and data service for metadata
#### ocis webdav
Start webdav server
#### ocis onlyoffice
Start onlyoffice server
#### ocis storage-auth-basic
Start storage auth-basic service
#### ocis storage-public-link
Start storage public link storage
#### ocis storage-users
Start storage and data provider for /users mount
#### ocis web
#### ocis glauth
Start web server
Start glauth server
#### ocis thumbnails
#### ocis version
Start thumbnails server
Lists running services with version
#### ocis storage-home
#### ocis store
Start storage and data provider for /home mount
#### ocis storage-auth-bearer
Start storage auth-bearer service
Start a go-micro store
#### ocis storage-frontend
@@ -212,27 +200,39 @@ Start storage frontend
Start storage gateway
#### ocis settings
Start settings server
#### ocis storage-auth-bearer
Start storage auth-bearer service
#### ocis storage-groupprovider
Start storage groupprovider service
#### ocis storage-public-link
#### ocis storage-home
Start storage public link storage
Start storage and data provider for /home mount
#### ocis webdav
#### ocis storage-userprovider
Start webdav server
Start storage userprovider service
#### ocis accounts
#### ocis thumbnails
Start accounts server
#### ocis version
Lists running services with version
Start thumbnails server
#### ocis ocs
Start ocs server
#### ocis web
Start web server
#### ocis idp
Start idp server