From a28a1d7ba32ddc9cf8a6b50f0539fbf03b48eba8 Mon Sep 17 00:00:00 2001 From: Michael Barz Date: Thu, 1 Jul 2021 15:14:05 +0000 Subject: [PATCH] commit 6dc4e5c43e8e05d69b0496fe835ded98d1502b28 Merge: debbec1d 63dc6497 Author: Michael Barz Date: Thu Jul 1 17:12:18 2021 +0200 Merge pull request #2239 from owncloud/update_flaex fix default values in configuration documentation --- extensions/accounts/configuration.md | 752 ++-- extensions/glauth/configuration.md | 68 +- extensions/graph-explorer/configuration.md | 28 +- extensions/graph/configuration.md | 304 +- extensions/idp/configuration.md | 130 +- extensions/ocs/configuration.md | 292 +- extensions/onlyoffice/configuration.md | 86 +- extensions/proxy/configuration.md | 72 +- extensions/settings/configuration.md | 45 +- extensions/storage/configuration.md | 4645 +++++++++++--------- extensions/store/configuration.md | 26 +- extensions/thumbnails/configuration.md | 39 +- extensions/web/configuration.md | 128 +- extensions/webdav/configuration.md | 100 +- ocis/configuration.md | 134 +- 15 files changed, 3724 insertions(+), 3125 deletions(-) diff --git a/extensions/accounts/configuration.md b/extensions/accounts/configuration.md index 03254013b6e..e5085e2dc98 100644 --- a/extensions/accounts/configuration.md +++ b/extensions/accounts/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-07-01T15:08:05+0000" +date: "2021-07-01T15:12:48+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/accounts/templates @@ -35,227 +35,6 @@ If multiple variables are listed for one option, they are in order of precedence If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly. -### accounts server - -Start ocis accounts service - -Usage: `accounts server [command options] [arguments...]` - - - - - - --log-file | $ACCOUNTS_LOG_FILE , $OCIS_LOG_FILE -: Enable log to file. - - --tracing-enabled | $ACCOUNTS_TRACING_ENABLED -: Enable sending traces. - - --tracing-type | $ACCOUNTS_TRACING_TYPE -: Tracing backend type. Default: `flags.OverrideDefaultString(cfg.Tracing.Type, "jaeger")`. - - --tracing-endpoint | $ACCOUNTS_TRACING_ENDPOINT -: Endpoint for the agent. Default: `flags.OverrideDefaultString(cfg.Tracing.Endpoint, "")`. - - --tracing-collector | $ACCOUNTS_TRACING_COLLECTOR -: Endpoint for the collector. Default: `flags.OverrideDefaultString(cfg.Tracing.Collector, "")`. - - --tracing-service | $ACCOUNTS_TRACING_SERVICE -: Service name for tracing. Default: `flags.OverrideDefaultString(cfg.Tracing.Service, "accounts")`. - - --http-namespace | $ACCOUNTS_HTTP_NAMESPACE -: Set the base namespace for the http namespace. Default: `flags.OverrideDefaultString(cfg.HTTP.Namespace, "com.owncloud.web")`. - - --http-addr | $ACCOUNTS_HTTP_ADDR -: Address to bind http server. Default: `flags.OverrideDefaultString(cfg.HTTP.Addr, "0.0.0.0:9181")`. - - --http-root | $ACCOUNTS_HTTP_ROOT -: Root path of http server. Default: `flags.OverrideDefaultString(cfg.HTTP.Root, "/")`. - - --grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE -: Set the base namespace for the grpc namespace. Default: `flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api")`. - - --grpc-addr | $ACCOUNTS_GRPC_ADDR -: Address to bind grpc server. Default: `flags.OverrideDefaultString(cfg.GRPC.Addr, "0.0.0.0:9180")`. - - --name | $ACCOUNTS_NAME -: service name. Default: `flags.OverrideDefaultString(cfg.Server.Name, "accounts")`. - - --asset-path | $ACCOUNTS_ASSET_PATH -: Path to custom assets. Default: `flags.OverrideDefaultString(cfg.Asset.Path, "")`. - - --jwt-secret | $ACCOUNTS_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")`. - - --storage-disk-path | $ACCOUNTS_STORAGE_DISK_PATH -: Path on the local disk, e.g. /var/tmp/ocis/accounts. Default: `flags.OverrideDefaultString(cfg.Repo.Disk.Path, "")`. - - --storage-cs3-provider-addr | $ACCOUNTS_STORAGE_CS3_PROVIDER_ADDR -: bind address for the metadata storage provider. Default: `flags.OverrideDefaultString(cfg.Repo.CS3.ProviderAddr, "localhost:9215")`. - - --storage-cs3-data-url | $ACCOUNTS_STORAGE_CS3_DATA_URL -: http endpoint of the metadata storage. Default: `flags.OverrideDefaultString(cfg.Repo.CS3.DataURL, "http://localhost:9216")`. - - --storage-cs3-data-prefix | $ACCOUNTS_STORAGE_CS3_DATA_PREFIX -: path prefix for the http endpoint of the metadata storage, without leading slash. Default: `flags.OverrideDefaultString(cfg.Repo.CS3.DataPrefix, "data")`. - - --storage-cs3-jwt-secret | $ACCOUNTS_STORAGE_CS3_JWT_SECRET , $OCIS_JWT_SECRET -: Used to create JWT to talk to reva, should equal reva's jwt-secret. Default: `flags.OverrideDefaultString(cfg.Repo.CS3.JWTSecret, "Pive-Fumkiu4")`. - - --service-user-uuid | $ACCOUNTS_SERVICE_USER_UUID -: uuid of the internal service user (required on EOS). Default: `flags.OverrideDefaultString(cfg.ServiceUser.UUID, "95cb8724-03b2-11eb-a0a6-c33ef8ef53ad")`. - - --service-user-username | $ACCOUNTS_SERVICE_USER_USERNAME -: username of the internal service user (required on EOS). Default: `flags.OverrideDefaultString(cfg.ServiceUser.Username, "")`. - - --extensions | -: Run specific extensions during supervised mode. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -### accounts update - -Make changes to an existing account - -Usage: `accounts update [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")`. - - --enabled | -: Enable the account. - - --displayname | -: Set the displayname for the account. - - --preferred-name | -: Set the preferred-name for the account. - - --on-premises-sam-account-name | -: Set the on-premises-sam-account-name. - - --mail | -: Set the mail for the account. - - --description | -: Set the description for the account. - - --password | -: Set the password for the account. - - --force-password-change | -: Force password change on next sign-in. - - --force-password-change-mfa | -: Force password change on next sign-in with mfa. - - - - - - - - - - - - - - - - - - - ### accounts list List existing accounts @@ -297,6 +76,20 @@ Usage: `accounts list [command options] [arguments...]` + + + + + + + + + + + + + + @@ -313,11 +106,11 @@ Usage: `accounts list [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")`. +: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`. -name | $ACCOUNTS_NAME -: service name. Default: `flags.OverrideDefaultString(cfg.Server.Name, "accounts")`. +: service name. Default: `"accounts"`. @@ -384,23 +177,226 @@ 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 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: `"com.owncloud.api"`. + + +-name | $ACCOUNTS_NAME +: service name. Default: `"accounts"`. + + + +### accounts server + +Start ocis accounts service + +Usage: `accounts server [command options] [arguments...]` + + + + + + +-log-file | $ACCOUNTS_LOG_FILE , $OCIS_LOG_FILE +: Enable log to file. + + +-tracing-enabled | $ACCOUNTS_TRACING_ENABLED +: Enable sending traces. + + +-tracing-type | $ACCOUNTS_TRACING_TYPE +: Tracing backend type. Default: `"jaeger"`. + + +-tracing-endpoint | $ACCOUNTS_TRACING_ENDPOINT +: Endpoint for the agent. Default: `""`. + + +-tracing-collector | $ACCOUNTS_TRACING_COLLECTOR +: Endpoint for the collector. Default: `""`. + + +-tracing-service | $ACCOUNTS_TRACING_SERVICE +: Service name for tracing. Default: `"accounts"`. + + +-http-namespace | $ACCOUNTS_HTTP_NAMESPACE +: Set the base namespace for the http namespace. Default: `"com.owncloud.web"`. + + +-http-addr | $ACCOUNTS_HTTP_ADDR +: Address to bind http server. Default: `"0.0.0.0:9181"`. + + +-http-root | $ACCOUNTS_HTTP_ROOT +: Root path of http server. Default: `"/"`. + + +-http-cache-ttl | $ACCOUNTS_CACHE_TTL +: Set the static assets caching duration in seconds. Default: `604800`. + + +-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE +: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`. + + +-grpc-addr | $ACCOUNTS_GRPC_ADDR +: Address to bind grpc server. Default: `"0.0.0.0:9180"`. + + +-name | $ACCOUNTS_NAME +: service name. Default: `"accounts"`. + + +-accounts-hash-difficulty | $ACCOUNTS_HASH_DIFFICULTY +: accounts password hash difficulty. Default: `11`. + + +-asset-path | $ACCOUNTS_ASSET_PATH +: Path to custom assets. Default: `""`. + + +-jwt-secret | $ACCOUNTS_JWT_SECRET , $OCIS_JWT_SECRET +: Used to create JWT to talk to reva, should equal reva's jwt-secret. Default: `"Pive-Fumkiu4"`. + + +-storage-disk-path | $ACCOUNTS_STORAGE_DISK_PATH +: Path on the local disk, e.g. /var/tmp/ocis/accounts. Default: `""`. + + +-storage-cs3-provider-addr | $ACCOUNTS_STORAGE_CS3_PROVIDER_ADDR +: bind address for the metadata storage provider. Default: `"localhost:9215"`. + + +-storage-cs3-data-url | $ACCOUNTS_STORAGE_CS3_DATA_URL +: http endpoint of the metadata storage. Default: `"http://localhost:9216"`. + + +-storage-cs3-data-prefix | $ACCOUNTS_STORAGE_CS3_DATA_PREFIX +: path prefix for the http endpoint of the metadata storage, without leading slash. Default: `"data"`. + + +-storage-cs3-jwt-secret | $ACCOUNTS_STORAGE_CS3_JWT_SECRET , $OCIS_JWT_SECRET +: Used to create JWT to talk to reva, should equal reva's jwt-secret. Default: `"Pive-Fumkiu4"`. + + +-service-user-uuid | $ACCOUNTS_SERVICE_USER_UUID +: uuid of the internal service user (required on EOS). Default: `"95cb8724-03b2-11eb-a0a6-c33ef8ef53ad"`. + + +-service-user-username | $ACCOUNTS_SERVICE_USER_USERNAME +: username of the internal service user (required on EOS). Default: `""`. + + +-service-user-uid | $ACCOUNTS_SERVICE_USER_UID +: uid of the internal service user (required on EOS). Default: `0`. + + +-service-user-gid | $ACCOUNTS_SERVICE_USER_GID +: gid of the internal service user (required on EOS). Default: `0`. + + +-uid-index-lower-bound | $ACCOUNTS_UID_INDEX_LOWER_BOUND +: define a starting point for the account UID. Default: `0`. + + +-gid-index-lower-bound | $ACCOUNTS_GID_INDEX_LOWER_BOUND +: define a starting point for the account GID. Default: `1000`. + + +-uid-index-upper-bound | $ACCOUNTS_UID_INDEX_UPPER_BOUND +: define an ending point for the account UID. Default: `0`. + + +-gid-index-upper-bound | $ACCOUNTS_GID_INDEX_UPPER_BOUND +: define an ending point for the account GID. Default: `1000`. -extensions | @@ -436,6 +432,107 @@ Usage: `accounts ocis-accounts [command options] [arguments...]` + + + + + +### accounts update + +Make changes to an existing account + +Usage: `accounts update [command options] [arguments...]` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE +: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`. + + +-name | $ACCOUNTS_NAME +: service name. Default: `"accounts"`. + + +-enabled | +: Enable the account. + + +-displayname | +: Set the displayname for the account. + + +-preferred-name | +: Set the preferred-name for the account. + + +-on-premises-sam-account-name | +: Set the on-premises-sam-account-name. + + +-uidnumber | +: Set the uidnumber for the account. + + +-gidnumber | +: Set the gidnumber for the account. + + +-mail | +: Set the mail for the account. + + +-description | +: Set the description for the account. + + +-password | +: Set the password for the account. + + +-password-policies | +: Possible policies: DisableStrongPassword, DisablePasswordExpiration. + + +-force-password-change | +: Force password change on next sign-in. + + +-force-password-change-mfa | +: Force password change on next sign-in with mfa. + @@ -498,6 +595,20 @@ Usage: `accounts version [command options] [arguments...]` + + + + + + + + + + + + + + @@ -514,11 +625,11 @@ 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")`. +: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`. -name | $ACCOUNTS_NAME -: service name. Default: `flags.OverrideDefaultString(cfg.Server.Name, "accounts")`. +: service name. Default: `"accounts"`. @@ -556,6 +667,17 @@ Usage: `accounts add [command options] [arguments...]` + + + + + + + + + + + @@ -569,11 +691,11 @@ Usage: `accounts add [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")`. +: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`. -name | $ACCOUNTS_NAME -: service name. Default: `flags.OverrideDefaultString(cfg.Server.Name, "accounts")`. +: service name. Default: `"accounts"`. -enabled | @@ -596,6 +718,14 @@ Usage: `accounts add [command options] [arguments...]` : Set the on-premises-sam-account-name. +-uidnumber | +: Set the uidnumber for the account. + + +-gidnumber | +: Set the gidnumber for the account. + + -mail | : Set the mail for the account. @@ -608,6 +738,10 @@ Usage: `accounts add [command options] [arguments...]` : Set the password for the account. +-password-policies | +: Possible policies: DisableStrongPassword, DisablePasswordExpiration. + + -force-password-change | : Force password change on next sign-in. @@ -662,57 +796,6 @@ 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 remove - -Removes an existing account - -Usage: `accounts remove [command options] [arguments...]` - - - - - - - - - - - - - - - - - - - - @@ -747,11 +830,96 @@ 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")`. +: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`. -name | $ACCOUNTS_NAME -: service name. Default: `flags.OverrideDefaultString(cfg.Server.Name, "accounts")`. +: service name. Default: `"accounts"`. + +### accounts ocis-accounts + +Provide accounts and groups for oCIS + +Usage: `accounts ocis-accounts [command options] [arguments...]` + + +-log-level | $ACCOUNTS_LOG_LEVEL , $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. + + +-extensions | +: Run specific extensions during supervised mode. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/glauth/configuration.md b/extensions/glauth/configuration.md index e6c3be7ad3a..c3f7e2c69ff 100644 --- a/extensions/glauth/configuration.md +++ b/extensions/glauth/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-07-01T15:08:40+0000" +date: "2021-07-01T15:13:25+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/glauth/templates @@ -46,7 +46,9 @@ Usage: `glauth health [command options] [arguments...]` -debug-addr | $GLAUTH_DEBUG_ADDR -: Address to debug endpoint. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9129")`. +: Address to debug endpoint. Default: `"0.0.0.0:9129"`. + + @@ -130,6 +132,8 @@ Usage: `glauth ocis-glauth [command options] [arguments...]` + + @@ -149,7 +153,7 @@ Usage: `glauth server [command options] [arguments...]` -config-file | $GLAUTH_CONFIG_FILE -: Path to config file. Default: `flags.OverrideDefaultString(cfg.File, "")`. +: Path to config file. Default: `""`. -tracing-enabled | $GLAUTH_TRACING_ENABLED @@ -157,27 +161,27 @@ Usage: `glauth server [command options] [arguments...]` -tracing-type | $GLAUTH_TRACING_TYPE -: Tracing backend type. Default: `flags.OverrideDefaultString(cfg.Tracing.Type, "jaeger")`. +: Tracing backend type. Default: `"jaeger"`. -tracing-endpoint | $GLAUTH_TRACING_ENDPOINT -: Endpoint for the agent. Default: `flags.OverrideDefaultString(cfg.Tracing.Endpoint, "")`. +: Endpoint for the agent. Default: `""`. -tracing-collector | $GLAUTH_TRACING_COLLECTOR -: Endpoint for the collector. Default: `flags.OverrideDefaultString(cfg.Tracing.Collector, "")`. +: Endpoint for the collector. Default: `""`. -tracing-service | $GLAUTH_TRACING_SERVICE -: Service name for tracing. Default: `flags.OverrideDefaultString(cfg.Tracing.Service, "glauth")`. +: Service name for tracing. Default: `"glauth"`. -debug-addr | $GLAUTH_DEBUG_ADDR -: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9129")`. +: Address to bind debug server. Default: `"0.0.0.0:9129"`. -debug-token | $GLAUTH_DEBUG_TOKEN -: Token to grant metrics access. Default: `flags.OverrideDefaultString(cfg.Debug.Token, "")`. +: Token to grant metrics access. Default: `""`. -debug-pprof | $GLAUTH_DEBUG_PPROF @@ -189,23 +193,23 @@ Usage: `glauth server [command options] [arguments...]` -role-bundle-id | $GLAUTH_ROLE_BUNDLE_ID -: roleid used to make internal grpc requests. Default: `flags.OverrideDefaultString(cfg.RoleBundleUUID, "71881883-1768-46bd-a24d-a356a2afdf7f")`. +: roleid used to make internal grpc requests. Default: `"71881883-1768-46bd-a24d-a356a2afdf7f"`. -ldap-addr | $GLAUTH_LDAP_ADDR -: Address to bind ldap server. Default: `flags.OverrideDefaultString(cfg.Ldap.Address, "0.0.0.0:9125")`. +: Address to bind ldap server. Default: `"0.0.0.0:9125"`. -ldap-enabled | $GLAUTH_LDAP_ENABLED -: Enable ldap server. Default: `flags.OverrideDefaultBool(cfg.Ldap.Enabled, true)`. +: Enable ldap server. Default: `true`. -ldaps-addr | $GLAUTH_LDAPS_ADDR -: Address to bind ldap server. Default: `flags.OverrideDefaultString(cfg.Ldaps.Address, "0.0.0.0:9126")`. +: Address to bind ldap server. Default: `"0.0.0.0:9126"`. -ldaps-enabled | $GLAUTH_LDAPS_ENABLED -: Enable ldap server. Default: `flags.OverrideDefaultBool(cfg.Ldaps.Enabled, true)`. +: Enable ldap server. Default: `true`. -ldaps-cert | $GLAUTH_LDAPS_CERT @@ -217,59 +221,67 @@ Usage: `glauth server [command options] [arguments...]` -backend-basedn | $GLAUTH_BACKEND_BASEDN -: base distinguished name to expose. Default: `flags.OverrideDefaultString(cfg.Backend.BaseDN, "dc=example,dc=org")`. +: base distinguished name to expose. Default: `"dc=example,dc=org"`. -backend-name-format | $GLAUTH_BACKEND_NAME_FORMAT -: name attribute for entries to expose. typically cn or uid. Default: `flags.OverrideDefaultString(cfg.Backend.NameFormat, "cn")`. +: name attribute for entries to expose. typically cn or uid. Default: `"cn"`. -backend-group-format | $GLAUTH_BACKEND_GROUP_FORMAT -: name attribute for entries to expose. typically ou, cn or dc. Default: `flags.OverrideDefaultString(cfg.Backend.GroupFormat, "ou")`. +: name attribute for entries to expose. typically ou, cn or dc. Default: `"ou"`. -backend-ssh-key-attr | $GLAUTH_BACKEND_SSH_KEY_ATTR -: ssh key attribute for entries to expose. Default: `flags.OverrideDefaultString(cfg.Backend.SSHKeyAttr, "sshPublicKey")`. +: ssh key attribute for entries to expose. Default: `"sshPublicKey"`. -backend-datastore | $GLAUTH_BACKEND_DATASTORE -: datastore to use as the backend. one of accounts, ldap or owncloud. Default: `flags.OverrideDefaultString(cfg.Backend.Datastore, "accounts")`. +: datastore to use as the backend. one of accounts, ldap or owncloud. Default: `"accounts"`. -backend-insecure | $GLAUTH_BACKEND_INSECURE -: Allow insecure requests to the datastore. Default: `flags.OverrideDefaultBool(cfg.Backend.Insecure, false)`. +: Allow insecure requests to the datastore. Default: `false`. + + +-backend-server | $GLAUTH_BACKEND_SERVERS +: `--backend-server http://internal1.example.com [--backend-server http://internal2.example.com]`. Default: `cli.NewStringSlice("https://demo.owncloud.com/apps/graphapi/v1.0")`. -backend-use-graphapi | $GLAUTH_BACKEND_USE_GRAPHAPI -: use Graph API, only for owncloud datastore. Default: `flags.OverrideDefaultBool(cfg.Backend.UseGraphAPI, true)`. +: use Graph API, only for owncloud datastore. Default: `true`. -fallback-basedn | $GLAUTH_FALLBACK_BASEDN -: base distinguished name to expose. Default: `flags.OverrideDefaultString(cfg.Fallback.BaseDN, "dc=example,dc=org")`. +: base distinguished name to expose. Default: `"dc=example,dc=org"`. -fallback-name-format | $GLAUTH_FALLBACK_NAME_FORMAT -: name attribute for entries to expose. typically cn or uid. Default: `flags.OverrideDefaultString(cfg.Fallback.NameFormat, "cn")`. +: name attribute for entries to expose. typically cn or uid. Default: `"cn"`. -fallback-group-format | $GLAUTH_FALLBACK_GROUP_FORMAT -: name attribute for entries to expose. typically ou, cn or dc. Default: `flags.OverrideDefaultString(cfg.Fallback.GroupFormat, "ou")`. +: name attribute for entries to expose. typically ou, cn or dc. Default: `"ou"`. -fallback-ssh-key-attr | $GLAUTH_FALLBACK_SSH_KEY_ATTR -: ssh key attribute for entries to expose. Default: `flags.OverrideDefaultString(cfg.Fallback.SSHKeyAttr, "sshPublicKey")`. +: ssh key attribute for entries to expose. Default: `"sshPublicKey"`. -fallback-datastore | $GLAUTH_FALLBACK_DATASTORE -: datastore to use as the fallback. one of accounts, ldap or owncloud. Default: `flags.OverrideDefaultString(cfg.Fallback.Datastore, "")`. +: datastore to use as the fallback. one of accounts, ldap or owncloud. Default: `""`. -fallback-insecure | $GLAUTH_FALLBACK_INSECURE -: Allow insecure requests to the datastore. Default: `flags.OverrideDefaultBool(cfg.Fallback.Insecure, false)`. +: Allow insecure requests to the datastore. Default: `false`. + + +-fallback-server | $GLAUTH_FALLBACK_SERVERS +: `--fallback-server http://internal1.example.com [--fallback-server http://internal2.example.com]`. Default: `cli.NewStringSlice("https://demo.owncloud.com/apps/graphapi/v1.0")`. -fallback-use-graphapi | $GLAUTH_FALLBACK_USE_GRAPHAPI -: use Graph API, only for owncloud datastore. Default: `flags.OverrideDefaultBool(cfg.Fallback.UseGraphAPI, true)`. +: use Graph API, only for owncloud datastore. Default: `true`. -extensions | diff --git a/extensions/graph-explorer/configuration.md b/extensions/graph-explorer/configuration.md index 3fc1a990e2b..df1e1fde02f 100644 --- a/extensions/graph-explorer/configuration.md +++ b/extensions/graph-explorer/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-07-01T15:08:40+0000" +date: "2021-07-01T15:13:25+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/graph-explorer/templates @@ -93,27 +93,27 @@ Usage: `graph-explorer server [command options] [arguments...]` -tracing-type | $GRAPH_EXPLORER_TRACING_TYPE -: Tracing backend type. Default: `flags.OverrideDefaultString(cfg.Tracing.Type, "jaeger")`. +: Tracing backend type. Default: `"jaeger"`. -tracing-endpoint | $GRAPH_EXPLORER_TRACING_ENDPOINT -: Endpoint for the agent. Default: `flags.OverrideDefaultString(cfg.Tracing.Endpoint, "")`. +: Endpoint for the agent. Default: `""`. -tracing-collector | $GRAPH_EXPLORER_TRACING_COLLECTOR -: Endpoint for the collector. Default: `flags.OverrideDefaultString(cfg.Tracing.Collector, "")`. +: Endpoint for the collector. Default: `""`. -tracing-service | $GRAPH_EXPLORER_TRACING_SERVICE -: Service name for tracing. Default: `flags.OverrideDefaultString(cfg.Tracing.Service, "graph-explorer")`. +: Service name for tracing. Default: `"graph-explorer"`. -debug-addr | $GRAPH_EXPLORER_DEBUG_ADDR -: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9136")`. +: Address to bind debug server. Default: `"0.0.0.0:9136"`. -debug-token | $GRAPH_EXPLORER_DEBUG_TOKEN -: Token to grant metrics access. Default: `flags.OverrideDefaultString(cfg.Debug.Token, "")`. +: Token to grant metrics access. Default: `""`. -debug-pprof | $GRAPH_EXPLORER_DEBUG_PPROF @@ -125,27 +125,27 @@ Usage: `graph-explorer server [command options] [arguments...]` -http-addr | $GRAPH_EXPLORER_HTTP_ADDR -: Address to bind http server. Default: `flags.OverrideDefaultString(cfg.HTTP.Addr, "0.0.0.0:9135")`. +: Address to bind http server. Default: `"0.0.0.0:9135"`. -http-root | $GRAPH_EXPLORER_HTTP_ROOT -: Root path of http server. Default: `flags.OverrideDefaultString(cfg.HTTP.Root, "/graph-explorer")`. +: Root path of http server. Default: `"/graph-explorer"`. -http-namespace | $GRAPH_EXPLORER_NAMESPACE -: Set the base namespace for the http namespace. Default: `flags.OverrideDefaultString(cfg.HTTP.Namespace, "com.owncloud.web")`. +: Set the base namespace for the http namespace. Default: `"com.owncloud.web"`. -issuer | $GRAPH_EXPLORER_ISSUER , $OCIS_URL -: Set the OpenID Connect Provider. Default: `flags.OverrideDefaultString(cfg.GraphExplorer.Issuer, "https://localhost:9200")`. +: Set the OpenID Connect Provider. Default: `"https://localhost:9200"`. -client-id | $GRAPH_EXPLORER_CLIENT_ID -: Set the OpenID Client ID to send to the issuer. Default: `flags.OverrideDefaultString(cfg.GraphExplorer.ClientID, "ocis-explorer.js")`. +: Set the OpenID Client ID to send to the issuer. Default: `"ocis-explorer.js"`. -graph-url | $GRAPH_EXPLORER_GRAPH_URL -: Set the url to the graph api service. Default: `flags.OverrideDefaultString(cfg.GraphExplorer.GraphURL, "https://localhost:9200/graph")`. +: Set the url to the graph api service. Default: `"https://localhost:9200/graph"`. -extensions | @@ -162,7 +162,7 @@ Usage: `graph-explorer health [command options] [arguments...]` -debug-addr | $GRAPH_EXPLORER_DEBUG_ADDR -: Address to debug endpoint. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9136")`. +: Address to debug endpoint. Default: `"0.0.0.0:9136"`. diff --git a/extensions/graph/configuration.md b/extensions/graph/configuration.md index b027635816a..1a8730272cb 100644 --- a/extensions/graph/configuration.md +++ b/extensions/graph/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-07-01T15:08:40+0000" +date: "2021-07-01T15:13:25+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/graph/templates @@ -34,156 +34,6 @@ If multiple variables are listed for one option, they are in order of precedence ### Commandline flags 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. - -### graph server - -Start integrated server - -Usage: `graph server [command options] [arguments...]` - - - - - - - --log-file | $GRAPH_LOG_FILE , $OCIS_LOG_FILE -: Enable log to file. - - --tracing-enabled | $GRAPH_TRACING_ENABLED -: Enable sending traces. - - --tracing-type | $GRAPH_TRACING_TYPE -: Tracing backend type. Default: `flags.OverrideDefaultString(cfg.Tracing.Type, "jaeger")`. - - --tracing-endpoint | $GRAPH_TRACING_ENDPOINT -: Endpoint for the agent. Default: `flags.OverrideDefaultString(cfg.Tracing.Endpoint, "")`. - - --tracing-collector | $GRAPH_TRACING_COLLECTOR -: Endpoint for the collector. Default: `flags.OverrideDefaultString(cfg.Tracing.Collector, "")`. - - --tracing-service | $GRAPH_TRACING_SERVICE -: Service name for tracing. Default: `flags.OverrideDefaultString(cfg.Tracing.Service, "graph")`. - - --debug-addr | $GRAPH_DEBUG_ADDR -: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9124")`. - - --debug-token | $GRAPH_DEBUG_TOKEN -: Token to grant metrics access. Default: `flags.OverrideDefaultString(cfg.Debug.Token, "")`. - - --debug-pprof | $GRAPH_DEBUG_PPROF -: Enable pprof debugging. - - --debug-zpages | $GRAPH_DEBUG_ZPAGES -: Enable zpages debugging. - - --http-addr | $GRAPH_HTTP_ADDR -: Address to bind http server. Default: `flags.OverrideDefaultString(cfg.HTTP.Addr, "0.0.0.0:9120")`. - - --http-root | $GRAPH_HTTP_ROOT -: Root path of http server. Default: `flags.OverrideDefaultString(cfg.HTTP.Root, "/graph")`. - - --http-namespace | $GRAPH_HTTP_NAMESPACE -: Set the base namespace for the http service for service discovery. Default: `flags.OverrideDefaultString(cfg.HTTP.Namespace, "com.owncloud.web")`. - - --ldap-network | $GRAPH_LDAP_NETWORK -: Network protocol to use to connect to the Ldap server. Default: `flags.OverrideDefaultString(cfg.Ldap.Network, "tcp")`. - - --ldap-address | $GRAPH_LDAP_ADDRESS -: Address to connect to the Ldap server. Default: `flags.OverrideDefaultString(cfg.Ldap.Address, "0.0.0.0:9125")`. - - --ldap-username | $GRAPH_LDAP_USERNAME -: User to bind to the Ldap server. Default: `flags.OverrideDefaultString(cfg.Ldap.UserName, "cn=admin,dc=example,dc=org")`. - - --ldap-password | $GRAPH_LDAP_PASSWORD -: Password to bind to the Ldap server. Default: `flags.OverrideDefaultString(cfg.Ldap.Password, "admin")`. - - --ldap-basedn-users | $GRAPH_LDAP_BASEDN_USERS -: BaseDN to look for users. Default: `flags.OverrideDefaultString(cfg.Ldap.BaseDNUsers, "ou=users,dc=example,dc=org")`. - - --ldap-basedn-groups | $GRAPH_LDAP_BASEDN_GROUPS -: BaseDN to look for users. Default: `flags.OverrideDefaultString(cfg.Ldap.BaseDNGroups, "ou=groups,dc=example,dc=org")`. - - --oidc-endpoint | $GRAPH_OIDC_ENDPOINT , $OCIS_URL -: OpenIDConnect endpoint. Default: `flags.OverrideDefaultString(cfg.OpenIDConnect.Endpoint, "https://localhost:9200")`. - - --oidc-insecure | $GRAPH_OIDC_INSECURE -: OpenIDConnect endpoint. - - --oidc-realm | $GRAPH_OIDC_REALM -: OpenIDConnect realm. Default: `flags.OverrideDefaultString(cfg.OpenIDConnect.Realm, "")`. - - --reva-gateway-addr | $REVA_GATEWAY_ADDR -: REVA Gateway Endpoint. Default: `flags.OverrideDefaultString(cfg.Reva.Address, "127.0.0.1:9142")`. - - --webdav-namespace | $STORAGE_WEBDAV_NAMESPACE -: Namespace prefix for the webdav endpoint. Default: `flags.OverrideDefaultString(cfg.WebdavNamespace, "/home")`. - - --extensions | -: Run specific extensions during supervised mode. This flag is set by the runtime. - -### graph health - -Check health status - -Usage: `graph health [command options] [arguments...]` - - - - - - --debug-addr | $GRAPH_DEBUG_ADDR -: Address to debug endpoint. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9124")`. - - - - - - - - - - - - - - - - - - - - - - - - - ### graph ocis-graph @@ -193,7 +43,7 @@ Usage: `graph ocis-graph [command options] [arguments...]` -config-file | $GRAPH_CONFIG_FILE -: Path to config file. Default: `flags.OverrideDefaultString(cfg.File, "")`. +: Path to config file. Default: `""`. -log-level | $GRAPH_LOG_LEVEL , $OCIS_LOG_LEVEL @@ -226,6 +76,156 @@ Usage: `graph ocis-graph [command options] [arguments...]` + + + + + + + +### graph server + +Start integrated server + +Usage: `graph server [command options] [arguments...]` + + + + + + + +-log-file | $GRAPH_LOG_FILE , $OCIS_LOG_FILE +: Enable log to file. + + +-tracing-enabled | $GRAPH_TRACING_ENABLED +: Enable sending traces. + + +-tracing-type | $GRAPH_TRACING_TYPE +: Tracing backend type. Default: `"jaeger"`. + + +-tracing-endpoint | $GRAPH_TRACING_ENDPOINT +: Endpoint for the agent. Default: `""`. + + +-tracing-collector | $GRAPH_TRACING_COLLECTOR +: Endpoint for the collector. Default: `""`. + + +-tracing-service | $GRAPH_TRACING_SERVICE +: Service name for tracing. Default: `"graph"`. + + +-debug-addr | $GRAPH_DEBUG_ADDR +: Address to bind debug server. Default: `"0.0.0.0:9124"`. + + +-debug-token | $GRAPH_DEBUG_TOKEN +: Token to grant metrics access. Default: `""`. + + +-debug-pprof | $GRAPH_DEBUG_PPROF +: Enable pprof debugging. + + +-debug-zpages | $GRAPH_DEBUG_ZPAGES +: Enable zpages debugging. + + +-http-addr | $GRAPH_HTTP_ADDR +: Address to bind http server. Default: `"0.0.0.0:9120"`. + + +-http-root | $GRAPH_HTTP_ROOT +: Root path of http server. Default: `"/graph"`. + + +-http-namespace | $GRAPH_HTTP_NAMESPACE +: Set the base namespace for the http service for service discovery. Default: `"com.owncloud.web"`. + + +-ldap-network | $GRAPH_LDAP_NETWORK +: Network protocol to use to connect to the Ldap server. Default: `"tcp"`. + + +-ldap-address | $GRAPH_LDAP_ADDRESS +: Address to connect to the Ldap server. Default: `"0.0.0.0:9125"`. + + +-ldap-username | $GRAPH_LDAP_USERNAME +: User to bind to the Ldap server. Default: `"cn=admin,dc=example,dc=org"`. + + +-ldap-password | $GRAPH_LDAP_PASSWORD +: Password to bind to the Ldap server. Default: `"admin"`. + + +-ldap-basedn-users | $GRAPH_LDAP_BASEDN_USERS +: BaseDN to look for users. Default: `"ou=users,dc=example,dc=org"`. + + +-ldap-basedn-groups | $GRAPH_LDAP_BASEDN_GROUPS +: BaseDN to look for users. Default: `"ou=groups,dc=example,dc=org"`. + + +-oidc-endpoint | $GRAPH_OIDC_ENDPOINT , $OCIS_URL +: OpenIDConnect endpoint. Default: `"https://localhost:9200"`. + + +-oidc-insecure | $GRAPH_OIDC_INSECURE +: OpenIDConnect endpoint. + + +-oidc-realm | $GRAPH_OIDC_REALM +: OpenIDConnect realm. Default: `""`. + + +-reva-gateway-addr | $REVA_GATEWAY_ADDR +: REVA Gateway Endpoint. Default: `"127.0.0.1:9142"`. + + +-webdav-namespace | $STORAGE_WEBDAV_NAMESPACE +: Namespace prefix for the webdav endpoint. Default: `"/home"`. + + +-extensions | +: Run specific extensions during supervised mode. This flag is set by the runtime. + +### graph health + +Check health status + +Usage: `graph health [command options] [arguments...]` + + + + + + +-debug-addr | $GRAPH_DEBUG_ADDR +: Address to debug endpoint. Default: `"0.0.0.0:9124"`. + + + + + + + + + + + + + + + + + + + diff --git a/extensions/idp/configuration.md b/extensions/idp/configuration.md index 088f2ec1fb6..05541f40b05 100644 --- a/extensions/idp/configuration.md +++ b/extensions/idp/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-07-01T15:08:40+0000" +date: "2021-07-01T15:13:25+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/idp/templates @@ -46,7 +46,13 @@ Usage: `idp health [command options] [arguments...]` -debug-addr | $IDP_DEBUG_ADDR -: Address to debug endpoint. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9134")`. +: Address to debug endpoint. Default: `"0.0.0.0:9134"`. + + + + + + @@ -162,6 +168,12 @@ Usage: `idp ocis-idp [command options] [arguments...]` + + + + + + @@ -185,7 +197,7 @@ Usage: `idp server [command options] [arguments...]` -config-file | $IDP_CONFIG_FILE -: Path to config file. Default: `flags.OverrideDefaultString(cfg.File, "")`. +: Path to config file. Default: `""`. -tracing-enabled | $IDP_TRACING_ENABLED @@ -193,27 +205,27 @@ Usage: `idp server [command options] [arguments...]` -tracing-type | $IDP_TRACING_TYPE -: Tracing backend type. Default: `flags.OverrideDefaultString(cfg.Tracing.Type, "jaeger")`. +: Tracing backend type. Default: `"jaeger"`. -tracing-endpoint | $IDP_TRACING_ENDPOINT -: Endpoint for the agent. Default: `flags.OverrideDefaultString(cfg.Tracing.Endpoint, "")`. +: Endpoint for the agent. Default: `""`. -tracing-collector | $IDP_TRACING_COLLECTOR -: Endpoint for the collector. Default: `flags.OverrideDefaultString(cfg.Tracing.Collector, "")`. +: Endpoint for the collector. Default: `""`. -tracing-service | $IDP_TRACING_SERVICE -: Service name for tracing. Default: `flags.OverrideDefaultString(cfg.Tracing.Service, "idp")`. +: Service name for tracing. Default: `"idp"`. -debug-addr | $IDP_DEBUG_ADDR -: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9134")`. +: Address to bind debug server. Default: `"0.0.0.0:9134"`. -debug-token | $IDP_DEBUG_TOKEN -: Token to grant metrics access. Default: `flags.OverrideDefaultString(cfg.Debug.Token, "")`. +: Token to grant metrics access. Default: `""`. -debug-pprof | $IDP_DEBUG_PPROF @@ -225,67 +237,67 @@ Usage: `idp server [command options] [arguments...]` -http-addr | $IDP_HTTP_ADDR -: Address to bind http server. Default: `flags.OverrideDefaultString(cfg.HTTP.Addr, "0.0.0.0:9130")`. +: Address to bind http server. Default: `"0.0.0.0:9130"`. -http-root | $IDP_HTTP_ROOT -: Root path of http server. Default: `flags.OverrideDefaultString(cfg.HTTP.Root, "/")`. +: Root path of http server. Default: `"/"`. -http-namespace | $IDP_HTTP_NAMESPACE -: Set the base namespace for service discovery. Default: `flags.OverrideDefaultString(cfg.Service.Namespace, "com.owncloud.web")`. +: Set the base namespace for service discovery. Default: `"com.owncloud.web"`. -name | $IDP_NAME -: Service name. Default: `flags.OverrideDefaultString(cfg.Service.Name, "idp")`. +: Service name. Default: `"idp"`. -identity-manager | $IDP_IDENTITY_MANAGER -: Identity manager (one of ldap,kc,cookie,dummy). Default: `flags.OverrideDefaultString(cfg.IDP.IdentityManager, "ldap")`. +: Identity manager (one of ldap,kc,cookie,dummy). Default: `"ldap"`. -ldap-uri | $IDP_LDAP_URI -: URI of the LDAP server (glauth). Default: `flags.OverrideDefaultString(cfg.Ldap.URI, "ldap://localhost:9125")`. +: URI of the LDAP server (glauth). Default: `"ldap://localhost:9125"`. -ldap-bind-dn | $IDP_LDAP_BIND_DN -: Bind DN for the LDAP server (glauth). Default: `flags.OverrideDefaultString(cfg.Ldap.BindDN, "cn=idp,ou=sysusers,dc=example,dc=org")`. +: Bind DN for the LDAP server (glauth). Default: `"cn=idp,ou=sysusers,dc=example,dc=org"`. -ldap-bind-password | $IDP_LDAP_BIND_PASSWORD -: Password for the Bind DN of the LDAP server (glauth). Default: `flags.OverrideDefaultString(cfg.Ldap.BindPassword, "idp")`. +: Password for the Bind DN of the LDAP server (glauth). Default: `"idp"`. -ldap-base-dn | $IDP_LDAP_BASE_DN -: LDAP base DN of the oCIS users. Default: `flags.OverrideDefaultString(cfg.Ldap.BaseDN, "ou=users,dc=example,dc=org")`. +: LDAP base DN of the oCIS users. Default: `"ou=users,dc=example,dc=org"`. -ldap-scope | $IDP_LDAP_SCOPE -: LDAP scope of the oCIS users. Default: `flags.OverrideDefaultString(cfg.Ldap.Scope, "sub")`. +: LDAP scope of the oCIS users. Default: `"sub"`. -ldap-login-attribute | $IDP_LDAP_LOGIN_ATTRIBUTE -: LDAP login attribute of the oCIS users. Default: `flags.OverrideDefaultString(cfg.Ldap.LoginAttribute, "cn")`. +: LDAP login attribute of the oCIS users. Default: `"cn"`. -ldap-email-attribute | $IDP_LDAP_EMAIL_ATTRIBUTE -: LDAP email attribute of the oCIS users. Default: `flags.OverrideDefaultString(cfg.Ldap.EmailAttribute, "mail")`. +: LDAP email attribute of the oCIS users. Default: `"mail"`. -ldap-name-attribute | $IDP_LDAP_NAME_ATTRIBUTE -: LDAP name attribute of the oCIS users. Default: `flags.OverrideDefaultString(cfg.Ldap.NameAttribute, "sn")`. +: LDAP name attribute of the oCIS users. Default: `"sn"`. -ldap-uuid-attribute | $IDP_LDAP_UUID_ATTRIBUTE -: LDAP UUID attribute of the oCIS users. Default: `flags.OverrideDefaultString(cfg.Ldap.UUIDAttribute, "uid")`. +: LDAP UUID attribute of the oCIS users. Default: `"uid"`. -ldap-uuid-attribute-type | $IDP_LDAP_UUID_ATTRIBUTE_TYPE -: LDAP UUID attribute type of the oCIS users. Default: `flags.OverrideDefaultString(cfg.Ldap.UUIDAttributeType, "text")`. +: LDAP UUID attribute type of the oCIS users. Default: `"text"`. -ldap-filter | $IDP_LDAP_FILTER -: LDAP filter of the oCIS users. Default: `flags.OverrideDefaultString(cfg.Ldap.Filter, "(objectClass=posixaccount)")`. +: LDAP filter of the oCIS users. Default: `"(objectClass=posixaccount)"`. -transport-tls-cert | $IDP_TRANSPORT_TLS_CERT @@ -297,59 +309,63 @@ Usage: `idp server [command options] [arguments...]` -iss | $IDP_ISS , $OCIS_URL -: OIDC issuer URL. Default: `flags.OverrideDefaultString(cfg.IDP.Iss, "https://localhost:9200")`. +: OIDC issuer URL. Default: `"https://localhost:9200"`. + + +-signing-private-key | $IDP_SIGNING_PRIVATE_KEY +: Full path to PEM encoded private key file (must match the --signing-method algorithm). Default: `nil`. -signing-kid | $IDP_SIGNING_KID -: Value of kid field to use in created tokens (uniquely identifying the signing-private-key). Default: `flags.OverrideDefaultString(cfg.IDP.SigningKid, "")`. +: Value of kid field to use in created tokens (uniquely identifying the signing-private-key). Default: `""`. -validation-keys-path | $IDP_VALIDATION_KEYS_PATH -: Full path to a folder containg PEM encoded private or public key files used for token validaton (file name without extension is used as kid). Default: `flags.OverrideDefaultString(cfg.IDP.ValidationKeysPath, "")`. +: Full path to a folder containg PEM encoded private or public key files used for token validaton (file name without extension is used as kid). Default: `""`. -encryption-secret | $IDP_ENCRYPTION_SECRET -: Full path to a file containing a %d bytes secret key. Default: `flags.OverrideDefaultString(cfg.IDP.EncryptionSecretFile, "")`. +: Full path to a file containing a %d bytes secret key. Default: `""`. -signing-method | $IDP_SIGNING_METHOD -: JWT default signing method. Default: `flags.OverrideDefaultString(cfg.IDP.SigningMethod, "PS256")`. +: JWT default signing method. Default: `"PS256"`. -uri-base-path | $IDP_URI_BASE_PATH -: Custom base path for URI endpoints. Default: `flags.OverrideDefaultString(cfg.IDP.URIBasePath, "")`. +: Custom base path for URI endpoints. Default: `""`. -sign-in-uri | $IDP_SIGN_IN_URI -: Custom redirection URI to sign-in form. Default: `flags.OverrideDefaultString(cfg.IDP.SignInURI, "")`. +: Custom redirection URI to sign-in form. Default: `""`. -signed-out-uri | $IDP_SIGN_OUT_URI -: Custom redirection URI to signed-out goodbye page. Default: `flags.OverrideDefaultString(cfg.IDP.SignedOutURI, "")`. +: Custom redirection URI to signed-out goodbye page. Default: `""`. -authorization-endpoint-uri | $IDP_ENDPOINT_URI -: Custom authorization endpoint URI. Default: `flags.OverrideDefaultString(cfg.IDP.AuthorizationEndpointURI, "")`. +: Custom authorization endpoint URI. Default: `""`. -endsession-endpoint-uri | $IDP_ENDSESSION_ENDPOINT_URI -: Custom endsession endpoint URI. Default: `flags.OverrideDefaultString(cfg.IDP.EndsessionEndpointURI, "")`. +: Custom endsession endpoint URI. Default: `""`. -asset-path | $IDP_ASSET_PATH -: Path to custom assets. Default: `flags.OverrideDefaultString(cfg.Asset.Path, "")`. +: Path to custom assets. Default: `""`. -identifier-client-path | $IDP_IDENTIFIER_CLIENT_PATH -: Path to the identifier web client base folder. Default: `flags.OverrideDefaultString(cfg.IDP.IdentifierClientPath, "/var/tmp/ocis/idp")`. +: Path to the identifier web client base folder. Default: `"/var/tmp/ocis/idp"`. -identifier-registration-conf | $IDP_IDENTIFIER_REGISTRATION_CONF -: Path to a identifier-registration.yaml configuration file. Default: `flags.OverrideDefaultString(cfg.IDP.IdentifierRegistrationConf, "./config/identifier-registration.yaml")`. +: Path to a identifier-registration.yaml configuration file. Default: `"./config/identifier-registration.yaml"`. -identifier-scopes-conf | $IDP_IDENTIFIER_SCOPES_CONF -: Path to a scopes.yaml configuration file. Default: `flags.OverrideDefaultString(cfg.IDP.IdentifierScopesConf, "")`. +: Path to a scopes.yaml configuration file. Default: `""`. -insecure | $IDP_INSECURE @@ -357,7 +373,15 @@ Usage: `idp server [command options] [arguments...]` -tls | $IDP_TLS -: Use TLS (disable only if idp is behind a TLS-terminating reverse-proxy).. Default: `flags.OverrideDefaultBool(cfg.HTTP.TLS, false)`. +: Use TLS (disable only if idp is behind a TLS-terminating reverse-proxy).. Default: `false`. + + +-trusted-proxy | $IDP_TRUSTED_PROXY +: Trusted proxy IP or IP network (can be used multiple times). Default: `nil`. + + +-allow-scope | $IDP_ALLOW_SCOPE +: Allow OAuth 2 scope (can be used multiple times, if not set default scopes are allowed). Default: `nil`. -allow-client-guests | $IDP_ALLOW_CLIENT_GUESTS @@ -365,11 +389,23 @@ Usage: `idp server [command options] [arguments...]` -allow-dynamic-client-registration | $IDP_ALLOW_DYNAMIC_CLIENT_REGISTRATION -: Allow dynamic OAuth2 client registration. Default: `flags.OverrideDefaultBool(cfg.IDP.AllowDynamicClientRegistration, false)`. +: Allow dynamic OAuth2 client registration. Default: `false`. -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)`. +: Disable built-in identifier-webapp to use a frontend hosted elsewhere.. Default: `true`. + + +-access-token-expiration | $IDP_ACCESS_TOKEN_EXPIRATION +: Expiration time of access tokens in seconds since generated. Default: `60 * 10`. + + +-id-token-expiration | $IDP_ID_TOKEN_EXPIRATION +: Expiration time of id tokens in seconds since generated. Default: `60 * 60`. + + +-refresh-token-expiration | $IDP_REFRESH_TOKEN_EXPIRATION +: Expiration time of refresh tokens in seconds since generated. Default: `60 * 60 * 24 * 365 * 3`. -extensions | @@ -430,6 +466,12 @@ Usage: `idp version [command options] [arguments...]` + + + + + + @@ -438,9 +480,9 @@ 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")`. +: Set the base namespace for service discovery. Default: `"com.owncloud.web"`. -name | $IDP_NAME -: Service name. Default: `flags.OverrideDefaultString(cfg.Service.Name, "idp")`. +: Service name. Default: `"idp"`. diff --git a/extensions/ocs/configuration.md b/extensions/ocs/configuration.md index af34b09ee3e..cbc248a1399 100644 --- a/extensions/ocs/configuration.md +++ b/extensions/ocs/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-07-01T15:08:41+0000" +date: "2021-07-01T15:13:25+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/ocs/templates @@ -35,150 +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. -### ocs server - -Start integrated server - -Usage: `ocs server [command options] [arguments...]` - - - --log-file | $OCS_LOG_FILE , $OCIS_LOG_FILE -: Enable log to file. - - --log-level | $OCS_LOG_LEVEL , $OCIS_LOG_LEVEL -: Set logging level. - - --log-pretty | $OCS_LOG_PRETTY , $OCIS_LOG_PRETTY -: Enable pretty logging. - - --log-color | $OCS_LOG_COLOR , $OCIS_LOG_COLOR -: Enable colored logging. - - --config-file | $OCS_CONFIG_FILE -: Path to config file. - - --tracing-enabled | $OCS_TRACING_ENABLED -: Enable sending traces. Default: `flags.OverrideDefaultBool(cfg.Tracing.Enabled, false)`. - - --tracing-type | $OCS_TRACING_TYPE -: Tracing backend type. Default: `flags.OverrideDefaultString(cfg.Tracing.Type, "jaeger")`. - - --tracing-endpoint | $OCS_TRACING_ENDPOINT -: Endpoint for the agent. Default: `flags.OverrideDefaultString(cfg.Tracing.Endpoint, "")`. - - --tracing-collector | $OCS_TRACING_COLLECTOR -: Endpoint for the collector. Default: `flags.OverrideDefaultString(cfg.Tracing.Collector, "")`. - - --tracing-service | $OCS_TRACING_SERVICE -: Service name for tracing. Default: `flags.OverrideDefaultString(cfg.Tracing.Service, "ocs")`. - - --debug-addr | $OCS_DEBUG_ADDR -: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9114")`. - - --debug-token | $OCS_DEBUG_TOKEN -: Token to grant metrics access. Default: `flags.OverrideDefaultString(cfg.Debug.Token, "")`. - - --debug-pprof | $OCS_DEBUG_PPROF -: Enable pprof debugging. - - --debug-zpages | $OCS_DEBUG_ZPAGES -: Enable zpages debugging. - - --http-addr | $OCS_HTTP_ADDR -: Address to bind http server. Default: `flags.OverrideDefaultString(cfg.HTTP.Addr, "0.0.0.0:9110")`. - - --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")`. - - --http-root | $OCS_HTTP_ROOT -: Root path of http server. Default: `flags.OverrideDefaultString(cfg.HTTP.Root, "/ocs")`. - - --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")`. - - --account-backend-type | $OCS_ACCOUNT_BACKEND_TYPE -: account-backend-type. Default: `flags.OverrideDefaultString(cfg.AccountBackend, "accounts")`. - - --reva-gateway-addr | $OCS_REVA_GATEWAY_ADDR -: REVA Gateway Endpoint. Default: `flags.OverrideDefaultString(cfg.RevaAddress, "127.0.0.1:9142")`. - - --idm-address | $OCS_IDM_ADDRESS , $OCIS_URL -: keeps track of the IDM Address. Needed because of Reva requisite of uniqueness for users. Default: `flags.OverrideDefaultString(cfg.IdentityManagement.Address, "https://localhost:9200")`. - - --users-driver | $OCS_STORAGE_USERS_DRIVER , $STORAGE_USERS_DRIVER -: storage driver for users mount: eg. local, eos, owncloud, ocis or s3. Default: `flags.OverrideDefaultString(cfg.StorageUsersDriver, "ocis")`. - - --extensions | -: Run specific extensions during supervised mode. - - - -### 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 @@ -187,7 +43,7 @@ Usage: `ocs health [command options] [arguments...]` -debug-addr | $OCS_DEBUG_ADDR -: Address to debug endpoint. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9114")`. +: Address to debug endpoint. Default: `"0.0.0.0:9114"`. @@ -247,4 +103,148 @@ Usage: `ocs ocis-ocs [command options] [arguments...]` + +### ocs server + +Start integrated server + +Usage: `ocs server [command options] [arguments...]` + + + +-log-file | $OCS_LOG_FILE , $OCIS_LOG_FILE +: Enable log to file. + + +-log-level | $OCS_LOG_LEVEL , $OCIS_LOG_LEVEL +: Set logging level. + + +-log-pretty | $OCS_LOG_PRETTY , $OCIS_LOG_PRETTY +: Enable pretty logging. + + +-log-color | $OCS_LOG_COLOR , $OCIS_LOG_COLOR +: Enable colored logging. + + +-config-file | $OCS_CONFIG_FILE +: Path to config file. + + +-tracing-enabled | $OCS_TRACING_ENABLED +: Enable sending traces. Default: `false`. + + +-tracing-type | $OCS_TRACING_TYPE +: Tracing backend type. Default: `"jaeger"`. + + +-tracing-endpoint | $OCS_TRACING_ENDPOINT +: Endpoint for the agent. Default: `""`. + + +-tracing-collector | $OCS_TRACING_COLLECTOR +: Endpoint for the collector. Default: `""`. + + +-tracing-service | $OCS_TRACING_SERVICE +: Service name for tracing. Default: `"ocs"`. + + +-debug-addr | $OCS_DEBUG_ADDR +: Address to bind debug server. Default: `"0.0.0.0:9114"`. + + +-debug-token | $OCS_DEBUG_TOKEN +: Token to grant metrics access. Default: `""`. + + +-debug-pprof | $OCS_DEBUG_PPROF +: Enable pprof debugging. + + +-debug-zpages | $OCS_DEBUG_ZPAGES +: Enable zpages debugging. + + +-http-addr | $OCS_HTTP_ADDR +: Address to bind http server. Default: `"0.0.0.0:9110"`. + + +-http-namespace | $OCS_NAMESPACE +: Set the base namespace for the http namespace. Default: `"com.owncloud.web"`. + + +-name | $OCS_NAME +: Service name. Default: `"ocs"`. + + +-http-root | $OCS_HTTP_ROOT +: Root path of http server. Default: `"/ocs"`. + + +-jwt-secret | $OCS_JWT_SECRET , $OCIS_JWT_SECRET +: Used to dismantle the access token, should equal reva's jwt-secret. Default: `"Pive-Fumkiu4"`. + + +-account-backend-type | $OCS_ACCOUNT_BACKEND_TYPE +: account-backend-type. Default: `"accounts"`. + + +-reva-gateway-addr | $OCS_REVA_GATEWAY_ADDR +: REVA Gateway Endpoint. Default: `"127.0.0.1:9142"`. + + +-idm-address | $OCS_IDM_ADDRESS , $OCIS_URL +: keeps track of the IDM Address. Needed because of Reva requisite of uniqueness for users. Default: `"https://localhost:9200"`. + + +-users-driver | $OCS_STORAGE_USERS_DRIVER , $STORAGE_USERS_DRIVER +: storage driver for users mount: eg. local, eos, owncloud, ocis or s3. Default: `"ocis"`. + + +-extensions | +: Run specific extensions during supervised mode. + + + +### 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: `"com.owncloud.web"`. + + +-name | $OCS_NAME +: Service name. Default: `"ocs"`. diff --git a/extensions/onlyoffice/configuration.md b/extensions/onlyoffice/configuration.md index 5fee81913c2..2c137c0fb46 100644 --- a/extensions/onlyoffice/configuration.md +++ b/extensions/onlyoffice/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-07-01T15:08:41+0000" +date: "2021-07-01T15:13:25+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/onlyoffice/templates @@ -77,37 +77,9 @@ Usage: `onlyoffice [global options] command [command options] [arguments...]` + ## Sub Commands -### onlyoffice health - -Check health status - -Usage: `onlyoffice health [command options] [arguments...]` - - - - - - --debug-addr | $ONLYOFFICE_DEBUG_ADDR -: Address to debug endpoint. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9224")`. - - - - - - - - - - - - - - - - ### onlyoffice server Start integrated server @@ -129,27 +101,27 @@ Usage: `onlyoffice server [command options] [arguments...]` -tracing-type | $ONLYOFFICE_TRACING_TYPE -: Tracing backend type. Default: `flags.OverrideDefaultString(cfg.Tracing.Type, "jaeger")`. +: Tracing backend type. Default: `"jaeger"`. -tracing-endpoint | $ONLYOFFICE_TRACING_ENDPOINT -: Endpoint for the agent. Default: `flags.OverrideDefaultString(cfg.Tracing.Endpoint, "")`. +: Endpoint for the agent. Default: `""`. -tracing-collector | $ONLYOFFICE_TRACING_COLLECTOR -: Endpoint for the collector. Default: `flags.OverrideDefaultString(cfg.Tracing.Collector, "")`. +: Endpoint for the collector. Default: `""`. -tracing-service | $ONLYOFFICE_TRACING_SERVICE -: Service name for tracing. Default: `flags.OverrideDefaultString(cfg.Tracing.Service, "onlyoffice")`. +: Service name for tracing. Default: `"onlyoffice"`. -debug-addr | $ONLYOFFICE_DEBUG_ADDR -: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9224")`. +: Address to bind debug server. Default: `"0.0.0.0:9224"`. -debug-token | $ONLYOFFICE_DEBUG_TOKEN -: Token to grant metrics access. Default: `flags.OverrideDefaultString(cfg.Debug.Token, "")`. +: Token to grant metrics access. Default: `""`. -debug-pprof | $ONLYOFFICE_DEBUG_PPROF @@ -161,21 +133,55 @@ Usage: `onlyoffice server [command options] [arguments...]` -http-addr | $ONLYOFFICE_HTTP_ADDR -: Address to bind http server. Default: `flags.OverrideDefaultString(cfg.HTTP.Addr, "0.0.0.0:9220")`. +: Address to bind http server. Default: `"0.0.0.0:9220"`. -http-namespace | $ONLYOFFICE_HTTP_NAMESPACE -: Set the base namespace for the http namespace. Default: `flags.OverrideDefaultString(cfg.HTTP.Namespace, "com.owncloud.web")`. +: Set the base namespace for the http namespace. Default: `"com.owncloud.web"`. -http-root | $ONLYOFFICE_HTTP_ROOT -: Root path of http server. Default: `flags.OverrideDefaultString(cfg.HTTP.Root, "/")`. +: Root path of http server. Default: `"/"`. + + +-http-cache-ttl | $ONLYOFFICE_CACHE_TTL +: Set the static assets caching duration in seconds. Default: `604800`. -asset-path | $ONLYOFFICE_ASSET_PATH -: Path to custom assets. Default: `flags.OverrideDefaultString(cfg.Asset.Path, "")`. +: Path to custom assets. Default: `""`. -extensions | : Run specific extensions during supervised mode. This flag is set by the runtime. +### onlyoffice health + +Check health status + +Usage: `onlyoffice health [command options] [arguments...]` + + + + + + +-debug-addr | $ONLYOFFICE_DEBUG_ADDR +: Address to debug endpoint. Default: `"0.0.0.0:9224"`. + + + + + + + + + + + + + + + + + diff --git a/extensions/proxy/configuration.md b/extensions/proxy/configuration.md index d75172c6f8e..832b51b32a0 100644 --- a/extensions/proxy/configuration.md +++ b/extensions/proxy/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-07-01T15:08:41+0000" +date: "2021-07-01T15:13:25+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/proxy/templates @@ -47,7 +47,11 @@ 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")`. +: Address to debug endpoint. Default: `"0.0.0.0:9109"`. + + + + @@ -127,6 +131,10 @@ Usage: `proxy ocis-proxy [command options] [arguments...]` + + + + @@ -169,7 +177,7 @@ Usage: `proxy server [command options] [arguments...]` -tracing-type | $PROXY_TRACING_TYPE -: Tracing backend type. Default: `flags.OverrideDefaultString(cfg.Tracing.Type, "jaeger")`. +: Tracing backend type. Default: `"jaeger"`. -tracing-endpoint | $PROXY_TRACING_ENDPOINT @@ -181,11 +189,11 @@ Usage: `proxy server [command options] [arguments...]` -tracing-service | $PROXY_TRACING_SERVICE -: Service name for tracing. Default: `flags.OverrideDefaultString(cfg.Tracing.Service, "proxy")`. +: Service name for tracing. Default: `"proxy"`. -debug-addr | $PROXY_DEBUG_ADDR -: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9205")`. +: Address to bind debug server. Default: `"0.0.0.0:9205"`. -debug-token | $PROXY_DEBUG_TOKEN @@ -201,23 +209,23 @@ Usage: `proxy server [command options] [arguments...]` -http-addr | $PROXY_HTTP_ADDR -: Address to bind http server. Default: `flags.OverrideDefaultString(cfg.HTTP.Addr, "0.0.0.0:9200")`. +: Address to bind http server. Default: `"0.0.0.0:9200"`. -http-root | $PROXY_HTTP_ROOT -: Root path of http server. Default: `flags.OverrideDefaultString(cfg.HTTP.Root, "/")`. +: Root path of http server. Default: `"/"`. -asset-path | $PROXY_ASSET_PATH -: Path to custom assets. Default: `flags.OverrideDefaultString(cfg.Asset.Path, "")`. +: Path to custom assets. Default: `""`. -service-namespace | $PROXY_SERVICE_NAMESPACE -: Set the base namespace for the service namespace. Default: `flags.OverrideDefaultString(cfg.Service.Namespace, "com.owncloud.web")`. +: Set the base namespace for the service namespace. Default: `"com.owncloud.web"`. -service-name | $PROXY_SERVICE_NAME -: Service name. Default: `flags.OverrideDefaultString(cfg.Service.Name, "proxy")`. +: Service name. Default: `"proxy"`. -transport-tls-cert | $PROXY_TRANSPORT_TLS_CERT @@ -229,43 +237,59 @@ Usage: `proxy server [command options] [arguments...]` -tls | $PROXY_TLS -: Use TLS (disable only if proxy is behind a TLS-terminating reverse-proxy).. Default: `flags.OverrideDefaultBool(cfg.HTTP.TLS, true)`. +: Use TLS (disable only if proxy is behind a TLS-terminating reverse-proxy).. Default: `true`. -jwt-secret | $PROXY_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")`. +: Used to create JWT to talk to reva, should equal reva's jwt-secret. Default: `"Pive-Fumkiu4"`. -reva-gateway-addr | $PROXY_REVA_GATEWAY_ADDR -: REVA Gateway Endpoint. Default: `flags.OverrideDefaultString(cfg.Reva.Address, "127.0.0.1:9142")`. +: REVA Gateway Endpoint. Default: `"127.0.0.1:9142"`. -insecure | $PROXY_INSECURE_BACKENDS -: allow insecure communication to upstream servers. Default: `flags.OverrideDefaultBool(cfg.InsecureBackends, false)`. +: allow insecure communication to upstream servers. Default: `false`. -oidc-issuer | $PROXY_OIDC_ISSUER , $OCIS_URL -: OIDC issuer. Default: `flags.OverrideDefaultString(cfg.OIDC.Issuer, "https://localhost:9200")`. +: OIDC issuer. Default: `"https://localhost:9200"`. -oidc-insecure | $PROXY_OIDC_INSECURE -: OIDC allow insecure communication. Default: `flags.OverrideDefaultBool(cfg.OIDC.Insecure, true)`. +: OIDC allow insecure communication. Default: `true`. + + +-oidc-userinfo-cache-tll | $PROXY_OIDC_USERINFO_CACHE_TTL +: Fallback TTL in seconds for caching userinfo, when no token lifetime can be identified. Default: `10`. + + +-oidc-userinfo-cache-size | $PROXY_OIDC_USERINFO_CACHE_SIZE +: Max entries for caching userinfo. Default: `1024`. -autoprovision-accounts | $PROXY_AUTOPROVISION_ACCOUNTS -: create accounts from OIDC access tokens to learn new users. Default: `flags.OverrideDefaultBool(cfg.AutoprovisionAccounts, false)`. +: create accounts from OIDC access tokens to learn new users. Default: `false`. + + +-presignedurl-allow-method | $PRESIGNEDURL_ALLOWED_METHODS +: --presignedurl-allow-method GET [--presignedurl-allow-method POST]. Default: `cli.NewStringSlice("GET")`. -enable-presignedurls | $PROXY_ENABLE_PRESIGNEDURLS -: Enable or disable handling the presigned urls in the proxy. Default: `flags.OverrideDefaultBool(cfg.PreSignedURL.Enabled, true)`. +: Enable or disable handling the presigned urls in the proxy. Default: `true`. -enable-basic-auth | $PROXY_ENABLE_BASIC_AUTH -: enable basic authentication. Default: `flags.OverrideDefaultBool(cfg.EnableBasicAuth, false)`. +: enable basic authentication. Default: `false`. -account-backend-type | $PROXY_ACCOUNT_BACKEND_TYPE -: account-backend-type. Default: `flags.OverrideDefaultString(cfg.AccountBackend, "accounts")`. +: account-backend-type. Default: `"accounts"`. + + +-proxy-user-agent-lock-in | $PROXY_MIDDLEWARE_AUTH_CREDENTIALS_BY_USER_AGENT +: --user-agent-whitelist-lock-in=mirall:basic,foo:bearer Given a tuple of [UserAgent:challenge] it locks a given user agent to the authentication challenge. Particularly useful for old clients whose USer-Agent is known and only support one authentication challenge. When this flag is set in the proxy it configures the authentication middlewares.. @@ -304,15 +328,19 @@ Usage: `proxy version [command options] [arguments...]` + + + + -service-namespace | $PROXY_SERVICE_NAMESPACE -: Set the base namespace for the service namespace. Default: `flags.OverrideDefaultString(cfg.OIDC.Issuer, "com.owncloud.web")`. +: Set the base namespace for the service namespace. Default: `"com.owncloud.web"`. -service-name | $PROXY_SERVICE_NAME -: Service name. Default: `flags.OverrideDefaultString(cfg.Service.Name, "proxy")`. +: Service name. Default: `"proxy"`. diff --git a/extensions/settings/configuration.md b/extensions/settings/configuration.md index 3fe0f55d09c..3dc2c140570 100644 --- a/extensions/settings/configuration.md +++ b/extensions/settings/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-07-01T15:08:41+0000" +date: "2021-07-01T15:13:25+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/settings/templates @@ -46,7 +46,8 @@ 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")`. +: Address to debug endpoint. Default: `"0.0.0.0:9194"`. + @@ -109,6 +110,7 @@ Usage: `settings ocis-settings [command options] [arguments...]` + ### settings server @@ -131,27 +133,27 @@ Usage: `settings server [command options] [arguments...]` -tracing-type | $SETTINGS_TRACING_TYPE -: Tracing backend type. Default: `flags.OverrideDefaultString(cfg.Tracing.Type, "jaeger")`. +: Tracing backend type. Default: `"jaeger"`. -tracing-endpoint | $SETTINGS_TRACING_ENDPOINT -: Endpoint for the agent. Default: `flags.OverrideDefaultString(cfg.Tracing.Endpoint, "")`. +: Endpoint for the agent. Default: `""`. -tracing-collector | $SETTINGS_TRACING_COLLECTOR -: Endpoint for the collector. Default: `flags.OverrideDefaultString(cfg.Tracing.Collector, "")`. +: Endpoint for the collector. Default: `""`. -tracing-service | $SETTINGS_TRACING_SERVICE -: Service name for tracing. Default: `flags.OverrideDefaultString(cfg.Tracing.Service, "settings")`. +: Service name for tracing. Default: `"settings"`. -debug-addr | $SETTINGS_DEBUG_ADDR -: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9194")`. +: Address to bind debug server. Default: `"0.0.0.0:9194"`. -debug-token | $SETTINGS_DEBUG_TOKEN -: Token to grant metrics access. Default: `flags.OverrideDefaultString(cfg.Debug.Token, "")`. +: Token to grant metrics access. Default: `""`. -debug-pprof | $SETTINGS_DEBUG_PPROF @@ -163,39 +165,43 @@ Usage: `settings server [command options] [arguments...]` -http-addr | $SETTINGS_HTTP_ADDR -: Address to bind http server. Default: `flags.OverrideDefaultString(cfg.HTTP.Addr, "0.0.0.0:9190")`. +: Address to bind http server. Default: `"0.0.0.0:9190"`. -http-namespace | $SETTINGS_HTTP_NAMESPACE -: Set the base namespace for the http namespace. Default: `flags.OverrideDefaultString(cfg.HTTP.Namespace, "com.owncloud.web")`. +: Set the base namespace for the http namespace. Default: `"com.owncloud.web"`. -http-root | $SETTINGS_HTTP_ROOT -: Root path of http server. Default: `flags.OverrideDefaultString(cfg.HTTP.Root, "/")`. +: Root path of http server. Default: `"/"`. + + +-http-cache-ttl | $SETTINGS_CACHE_TTL +: Set the static assets caching duration in seconds. Default: `604800`. -grpc-addr | $SETTINGS_GRPC_ADDR -: Address to bind grpc server. Default: `flags.OverrideDefaultString(cfg.GRPC.Addr, "0.0.0.0:9191")`. +: Address to bind grpc server. Default: `"0.0.0.0:9191"`. -asset-path | $SETTINGS_ASSET_PATH -: Path to custom assets. Default: `flags.OverrideDefaultString(cfg.Asset.Path, "")`. +: Path to custom assets. Default: `""`. -grpc-namespace | $SETTINGS_GRPC_NAMESPACE -: Set the base namespace for the grpc namespace. Default: `flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api")`. +: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`. -name | $SETTINGS_NAME -: service name. Default: `flags.OverrideDefaultString(cfg.Service.Name, "settings")`. +: service name. Default: `"settings"`. -data-path | $SETTINGS_DATA_PATH -: Mount path for the storage. Default: `flags.OverrideDefaultString(cfg.Service.DataPath, "/var/tmp/ocis/settings")`. +: Mount path for the storage. Default: `"/var/tmp/ocis/settings"`. -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")`. +: Used to create JWT to talk to reva, should equal reva's jwt-secret. Default: `"Pive-Fumkiu4"`. -extensions | @@ -232,12 +238,13 @@ 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")`. +: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`. -name | $SETTINGS_NAME -: service name. Default: `flags.OverrideDefaultString(cfg.Service.Name, "settings")`. +: service name. Default: `"settings"`. diff --git a/extensions/storage/configuration.md b/extensions/storage/configuration.md index 10d0b125e45..0098eefd33d 100644 --- a/extensions/storage/configuration.md +++ b/extensions/storage/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-07-01T15:08:41+0000" +date: "2021-07-01T15:13:26+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/storage/templates @@ -157,68 +157,6 @@ Usage: `storage [global options] command [command options] [arguments...]` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -267,7 +205,892 @@ Usage: `storage [global options] command [command options] [arguments...]` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ## Sub Commands + +### 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: `"0.0.0.0:9149"`. + + +-oidc-issuer | $STORAGE_OIDC_ISSUER , $OCIS_URL +: OIDC issuer. Default: `"https://localhost:9200"`. + + +-oidc-insecure | $STORAGE_OIDC_INSECURE +: OIDC allow insecure communication. Default: `true`. + + +-oidc-id-claim | $STORAGE_OIDC_ID_CLAIM +: OIDC id claim. Default: `"preferred_username"`. + + +-oidc-uid-claim | $STORAGE_OIDC_UID_CLAIM +: OIDC uid claim. Default: `""`. + + +-oidc-gid-claim | $STORAGE_OIDC_GID_CLAIM +: OIDC gid claim. Default: `""`. + + +-network | $STORAGE_AUTH_BEARER_GRPC_NETWORK +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `"tcp"`. + + +-addr | $STORAGE_AUTH_BEARER_GRPC_ADDR +: Address to bind storage service. Default: `"0.0.0.0:9148"`. + + +-service | $STORAGE_AUTH_BEARER_SERVICES +: --service authprovider [--service otherservice]. Default: `cli.NewStringSlice("authprovider")`. + + +-gateway-url | $STORAGE_GATEWAY_ENDPOINT +: URL to use for the storage gateway service. Default: `"localhost:9142"`. + +### storage sharing + +Start sharing service + +Usage: `storage sharing [command options] [arguments...]` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-debug-addr | $STORAGE_SHARING_DEBUG_ADDR +: Address to bind debug server. Default: `"0.0.0.0:9151"`. + + +-network | $STORAGE_SHARING_GRPC_NETWORK +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `"tcp"`. + + +-addr | $STORAGE_SHARING_GRPC_ADDR +: Address to bind storage service. Default: `"0.0.0.0:9150"`. + + +-service | $STORAGE_SHARING_SERVICES +: --service usershareprovider [--service publicshareprovider]. Default: `cli.NewStringSlice("usershareprovider", "publicshareprovider")`. + + +-user-driver | $STORAGE_SHARING_USER_DRIVER +: driver to use for the UserShareProvider. Default: `"json"`. + + +-user-json-file | $STORAGE_SHARING_USER_JSON_FILE +: file used to persist shares for the UserShareProvider. Default: `"/var/tmp/ocis/storage/shares.json"`. + + +-public-driver | $STORAGE_SHARING_PUBLIC_DRIVER +: driver to use for the PublicShareProvider. Default: `"json"`. + + +-public-json-file | $STORAGE_SHARING_PUBLIC_JSON_FILE +: file used to persist shares for the PublicShareProvider. Default: `"/var/tmp/ocis/storage/publicshares.json"`. + + +-public-password-hash-cost | $STORAGE_SHARING_PUBLIC_PASSWORD_HASH_COST +: the cost of hashing the public shares passwords. Default: `11`. + + +-public-enable-expired-shares-cleanup | $STORAGE_SHARING_PUBLIC_ENABLE_EXPIRED_SHARES_CLEANUP +: whether to periodically delete expired public shares. Default: `true`. + + +-public-janitor-run-interval | $STORAGE_SHARING_PUBLIC_JANITOR_RUN_INTERVAL +: the time period in seconds after which to start a janitor run. Default: `60`. + + + + + + + + + + + +### storage users + +Start users service + +Usage: `storage users [command options] [arguments...]` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-debug-addr | $STORAGE_SHARING_DEBUG_ADDR +: Address to bind debug server. Default: `"0.0.0.0:9145"`. + + +-network | $STORAGE_USERPROVIDER_NETWORK +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `"tcp"`. + + +-addr | $STORAGE_USERPROVIDER_ADDR +: Address to bind storage service. Default: `"0.0.0.0:9144"`. + + +-endpoint | $STORAGE_USERPROVIDER_ENDPOINT +: URL to use for the storage service. Default: `"localhost:9144"`. + + +-service | $STORAGE_USERPROVIDER_SERVICES +: --service userprovider [--service otherservice]. Default: `cli.NewStringSlice("userprovider")`. + + +-driver | $STORAGE_USERPROVIDER_DRIVER +: user driver: 'demo', 'json', 'ldap', or 'rest'. Default: `"ldap"`. + + +-json-config | $STORAGE_USERPROVIDER_JSON +: Path to users.json file. Default: `""`. + + +-user-groups-cache-expiration | $STORAGE_USER_CACHE_EXPIRATION +: Time in minutes for redis cache expiration.. Default: `5`. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ### storage auth-basic @@ -346,35 +1169,36 @@ 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")`. +: Address to bind debug server. Default: `"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 driver: 'demo', 'json' or 'ldap'. Default: `"ldap"`. -auth-json | $STORAGE_AUTH_JSON -: Path to users.json file. Default: `flags.OverrideDefaultString(cfg.Reva.AuthProvider.JSON, "")`. +: Path to users.json file. Default: `""`. -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")`. +: Network to use for the storage auth-basic service, can be 'tcp', 'udp' or 'unix'. Default: `"tcp"`. -addr | $STORAGE_AUTH_BASIC_GRPC_ADDR -: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.AuthBasic.GRPCAddr, "0.0.0.0:9146")`. +: Address to bind storage service. Default: `"0.0.0.0:9146"`. + + +-service | $STORAGE_AUTH_BASIC_SERVICES +: --service authprovider [--service otherservice]. Default: `cli.NewStringSlice("authprovider")`. -gateway-url | $STORAGE_GATEWAY_ENDPOINT -: URL to use for the storage gateway service. Default: `flags.OverrideDefaultString(cfg.Reva.Gateway.Endpoint, "localhost:9142")`. +: URL to use for the storage gateway service. Default: `"localhost:9142"`. @@ -486,6 +1310,1432 @@ Usage: `storage auth-basic [command options] [arguments...]` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +### storage gateway + +Start gateway + +Usage: `storage gateway [command options] [arguments...]` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-debug-addr | $STORAGE_GATEWAY_DEBUG_ADDR +: Address to bind debug server. Default: `"0.0.0.0:9143"`. + + +-transfer-secret | $STORAGE_TRANSFER_SECRET +: Transfer secret for datagateway. Default: `"replace-me-with-a-transfer-secret"`. + + +-transfer-expires | $STORAGE_TRANSFER_EXPIRES +: Transfer token ttl in seconds. Default: `24 * 60 * 60`. + + +-network | $STORAGE_GATEWAY_GRPC_NETWORK +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `"tcp"`. + + +-addr | $STORAGE_GATEWAY_GRPC_ADDR +: Address to bind storage service. Default: `"0.0.0.0:9142"`. + + +-endpoint | $STORAGE_GATEWAY_ENDPOINT +: endpoint to use for the storage service. Default: `"localhost:9142"`. + + +-service | $STORAGE_GATEWAY_SERVICES +: --service gateway [--service authregistry]. Default: `cli.NewStringSlice("gateway", "authregistry", "storageregistry")`. + + +-commit-share-to-storage-grant | $STORAGE_GATEWAY_COMMIT_SHARE_TO_STORAGE_GRANT +: Commit shares to the share manager. Default: `true`. + + +-commit-share-to-storage-ref | $STORAGE_GATEWAY_COMMIT_SHARE_TO_STORAGE_REF +: Commit shares to the storage. Default: `true`. + + +-share-folder | $STORAGE_GATEWAY_SHARE_FOLDER +: mount shares in this folder of the home storage provider. Default: `"Shares"`. + + +-disable-home-creation-on-login | $STORAGE_GATEWAY_DISABLE_HOME_CREATION_ON_LOGIN +: Disable creation of home folder on login. + + +-storage-home-mapping | $STORAGE_GATEWAY_HOME_MAPPING +: mapping template for user home paths to user-specific mount points, e.g. /home/{{substr 0 1 .Username}}. Default: `""`. + + +-etag-cache-ttl | $STORAGE_GATEWAY_ETAG_CACHE_TTL +: TTL for the home and shares directory etags cache. Default: `0`. + + +-auth-basic-endpoint | $STORAGE_AUTH_BASIC_ENDPOINT +: endpoint to use for the basic auth provider. Default: `"localhost:9146"`. + + +-auth-bearer-endpoint | $STORAGE_AUTH_BEARER_ENDPOINT +: endpoint to use for the bearer auth provider. Default: `"localhost:9148"`. + + +-storage-registry-driver | $STORAGE_STORAGE_REGISTRY_DRIVER +: driver of the storage registry. Default: `"static"`. + + +-storage-registry-rule | $STORAGE_STORAGE_REGISTRY_RULES +: `Replaces the generated storage registry rules with this set: --storage-registry-rule "/eos=localhost:9158" [--storage-registry-rule "1284d238-aa92-42ce-bdc4-0b0000009162=localhost:9162"]`. Default: `cli.NewStringSlice()`. + + +-storage-home-provider | $STORAGE_STORAGE_REGISTRY_HOME_PROVIDER +: mount point of the storage provider for user homes in the global namespace. Default: `"/home"`. + + +-storage-registry-json | $STORAGE_STORAGE_REGISTRY_JSON +: JSON file containing the storage registry rules. Default: `""`. + + +-public-url | $STORAGE_FRONTEND_PUBLIC_URL , $OCIS_URL +: URL to use for the storage service. Default: `"https://localhost:9200"`. + + +-datagateway-url | $STORAGE_DATAGATEWAY_PUBLIC_URL +: URL to use for the storage datagateway, defaults to /data. Default: `""`. + + +-userprovider-endpoint | $STORAGE_USERPROVIDER_ENDPOINT +: endpoint to use for the userprovider. Default: `"localhost:9144"`. + + +-groupprovider-endpoint | $STORAGE_GROUPPROVIDER_ENDPOINT +: endpoint to use for the groupprovider. Default: `"localhost:9160"`. + + +-sharing-endpoint | $STORAGE_SHARING_ENDPOINT +: endpoint to use for the storage service. Default: `"localhost:9150"`. + + +-storage-home-endpoint | $STORAGE_HOME_ENDPOINT +: endpoint to use for the home storage. Default: `"localhost:9154"`. + + +-storage-home-mount-path | $STORAGE_HOME_MOUNT_PATH +: mount path. Default: `"/home"`. + + +-storage-home-mount-id | $STORAGE_HOME_MOUNT_ID +: mount id. Default: `"1284d238-aa92-42ce-bdc4-0b0000009154"`. + + +-storage-users-endpoint | $STORAGE_USERS_ENDPOINT +: endpoint to use for the users storage. Default: `"localhost:9157"`. + + +-storage-users-mount-path | $STORAGE_USERS_MOUNT_PATH +: mount path. Default: `"/users"`. + + +-storage-users-mount-id | $STORAGE_USERS_MOUNT_ID +: mount id. Default: `"1284d238-aa92-42ce-bdc4-0b0000009157"`. + + +-public-link-endpoint | $STORAGE_PUBLIC_LINK_ENDPOINT +: endpoint to use for the public links service. Default: `"localhost:9178"`. + + +-storage-public-link-mount-path | $STORAGE_PUBLIC_LINK_MOUNT_PATH +: mount path. Default: `"/public"`. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +### storage groups + +Start groups service + +Usage: `storage groups [command options] [arguments...]` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-debug-addr | $STORAGE_GROUPPROVIDER_DEBUG_ADDR +: Address to bind debug server. Default: `"0.0.0.0:9161"`. + + +-network | $STORAGE_GROUPPROVIDER_NETWORK +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `"tcp"`. + + +-addr | $STORAGE_GROUPPROVIDER_ADDR +: Address to bind storage service. Default: `"0.0.0.0:9160"`. + + +-endpoint | $STORAGE_GROUPPROVIDER_ENDPOINT +: URL to use for the storage service. Default: `"localhost:9160"`. + + +-service | $STORAGE_GROUPPROVIDER_SERVICES +: --service groupprovider [--service otherservice]. Default: `cli.NewStringSlice("groupprovider")`. + + +-driver | $STORAGE_GROUPPROVIDER_DRIVER +: group driver: 'json', 'ldap', or 'rest'. Default: `"ldap"`. + + +-json-config | $STORAGE_GROUPPROVIDER_JSON +: Path to groups.json file. Default: `""`. + + +-group-members-cache-expiration | $STORAGE_GROUP_CACHE_EXPIRATION +: Time in minutes for redis cache expiration.. Default: `5`. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +### storage health + +Check health status + +Usage: `storage health [command options] [arguments...]` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-debug-addr | $STORAGE_DEBUG_ADDR +: Address to debug endpoint. Default: `"0.0.0.0:9109"`. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +### storage storage-home + +Start storage-home service + +Usage: `storage storage-home [command options] [arguments...]` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-debug-addr | $STORAGE_HOME_DEBUG_ADDR +: Address to bind debug server. Default: `"0.0.0.0:9156"`. + + +-grpc-network | $STORAGE_HOME_GRPC_NETWORK +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `"tcp"`. + + +-grpc-addr | $STORAGE_HOME_GRPC_ADDR +: Address to bind storage service. Default: `"0.0.0.0:9154"`. + + +-http-network | $STORAGE_HOME_HTTP_NETWORK +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `"tcp"`. + + +-http-addr | $STORAGE_HOME_HTTP_ADDR +: Address to bind storage service. Default: `"0.0.0.0:9155"`. + + +-driver | $STORAGE_HOME_DRIVER +: storage driver for home mount: eg. local, eos, owncloud, ocis or s3. Default: `"ocis"`. + + +-mount-path | $STORAGE_HOME_MOUNT_PATH +: mount path. Default: `"/home"`. + + +-mount-id | $STORAGE_HOME_MOUNT_ID +: mount id. Default: `"1284d238-aa92-42ce-bdc4-0b0000009157"`. + + +-expose-data-server | $STORAGE_HOME_EXPOSE_DATA_SERVER +: exposes a dedicated data server. Default: `false`. + + +-data-server-url | $STORAGE_HOME_DATA_SERVER_URL +: data server url. Default: `"http://localhost:9155/data"`. + + +-http-prefix | $STORAGE_HOME_HTTP_PREFIX +: prefix for the http endpoint, without leading slash. Default: `"data"`. + + +-tmp-folder | $STORAGE_HOME_TMP_FOLDER +: path to tmp folder. Default: `"/var/tmp/ocis/tmp/home"`. + + +-enable-home | $STORAGE_HOME_ENABLE_HOME +: enable the creation of home directories. Default: `true`. + + +-gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT +: endpoint to use for the storage gateway service. Default: `"localhost:9142"`. + + +-users-endpoint | $STORAGE_USERPROVIDER_ENDPOINT +: endpoint to use for the storage service. Default: `"localhost:9144"`. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +### storage storage-users + +Start storage-users service + +Usage: `storage storage-users [command options] [arguments...]` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-debug-addr | $STORAGE_USERS_DEBUG_ADDR +: Address to bind debug server. Default: `"0.0.0.0:9159"`. + + +-grpc-network | $STORAGE_USERS_GRPC_NETWORK +: Network to use for the users storage, can be 'tcp', 'udp' or 'unix'. Default: `"tcp"`. + + +-grpc-addr | $STORAGE_USERS_GRPC_ADDR +: GRPC Address to bind users storage. Default: `"0.0.0.0:9157"`. + + +-http-network | $STORAGE_USERS_HTTP_NETWORK +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `"tcp"`. + + +-http-addr | $STORAGE_USERS_HTTP_ADDR +: HTTP Address to bind users storage. Default: `"0.0.0.0:9158"`. + + +-driver | $STORAGE_USERS_DRIVER +: storage driver for users mount: eg. local, eos, owncloud, ocis or s3. Default: `"ocis"`. + + +-mount-path | $STORAGE_USERS_MOUNT_PATH +: mount path. Default: `"/users"`. + + +-mount-id | $STORAGE_USERS_MOUNT_ID +: mount id. Default: `"1284d238-aa92-42ce-bdc4-0b0000009157"`. + + +-expose-data-server | $STORAGE_USERS_EXPOSE_DATA_SERVER +: exposes a dedicated data server. Default: `false`. + + +-data-server-url | $STORAGE_USERS_DATA_SERVER_URL +: data server url. Default: `"http://localhost:9158/data"`. + + +-http-prefix | $STORAGE_USERS_HTTP_PREFIX +: prefix for the http endpoint, without leading slash. Default: `"data"`. + + +-tmp-folder | $STORAGE_USERS_TMP_FOLDER +: path to tmp folder. Default: `"/var/tmp/ocis/tmp/users"`. + + +-gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT +: endpoint to use for the storage gateway service. Default: `"localhost:9142"`. + + +-users-endpoint | $STORAGE_USERPROVIDER_ENDPOINT +: endpoint to use for the storage service. Default: `"localhost:9144"`. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -629,68 +2879,6 @@ Usage: `storage storage [command options] [arguments...]` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -739,6 +2927,87 @@ Usage: `storage storage [command options] [arguments...]` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ### storage storage-metadata Start storage-metadata service @@ -786,101 +3055,6 @@ Usage: `storage storage-metadata [command options] [arguments...]` - - - - - - - - - - - - - - - - - - - - - --debug-addr | $STORAGE_METADATA_DEBUG_ADDR -: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Reva.StorageMetadata.DebugAddr, "0.0.0.0:9217")`. - - --grpc-network | $STORAGE_METADATA_GRPC_NETWORK -: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `flags.OverrideDefaultString(cfg.Reva.StorageMetadata.GRPCNetwork, "tcp")`. - - --grpc-addr | $STORAGE_METADATA_GRPC_PROVIDER_ADDR -: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.StorageMetadata.GRPCAddr, "0.0.0.0:9215")`. - - --data-server-url | $STORAGE_METADATA_DATA_SERVER_URL -: URL of the data-provider the storage-provider uses. Default: `flags.OverrideDefaultString(cfg.Reva.StorageMetadata.DataServerURL, "http://localhost:9216")`. - - --http-network | $STORAGE_METADATA_HTTP_NETWORK -: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `flags.OverrideDefaultString(cfg.Reva.StorageMetadata.HTTPNetwork, "tcp")`. - - --http-addr | $STORAGE_METADATA_HTTP_ADDR -: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.StorageMetadata.HTTPAddr, "0.0.0.0:9216")`. - - --tmp-folder | $STORAGE_METADATA_TMP_FOLDER -: path to tmp folder. Default: `flags.OverrideDefaultString(cfg.Reva.StorageMetadata.TempFolder, "/var/tmp/ocis/tmp/metadata")`. - - --driver | $STORAGE_METADATA_DRIVER -: storage driver for metadata mount: eg. local, eos, owncloud, ocis or s3. Default: `flags.OverrideDefaultString(cfg.Reva.StorageMetadata.Driver, "ocis")`. - - --gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT -: endpoint to use for the gateway service. Default: `flags.OverrideDefaultString(cfg.Reva.Gateway.Endpoint, "localhost:9142")`. - - --userprovider-endpoint | $STORAGE_USERPROVIDER_ENDPOINT -: endpoint to use for the userprovider service. Default: `flags.OverrideDefaultString(cfg.Reva.Users.Endpoint, "localhost:9144")`. - - --storage-root | $STORAGE_METADATA_ROOT -: the path to the metadata storage root. Default: `flags.OverrideDefaultString(cfg.Reva.Storages.Common.Root, "/var/tmp/ocis/storage/metadata")`. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1004,11 +3178,8 @@ Usage: `storage storage-metadata [command options] [arguments...]` -### storage groups -Start groups service -Usage: `storage groups [command options] [arguments...]` @@ -1033,672 +3204,48 @@ Usage: `storage groups [command options] [arguments...]` +-debug-addr | $STORAGE_METADATA_DEBUG_ADDR +: Address to bind debug server. Default: `"0.0.0.0:9217"`. +-grpc-network | $STORAGE_METADATA_GRPC_NETWORK +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `"tcp"`. +-grpc-addr | $STORAGE_METADATA_GRPC_PROVIDER_ADDR +: Address to bind storage service. Default: `"0.0.0.0:9215"`. +-data-server-url | $STORAGE_METADATA_DATA_SERVER_URL +: URL of the data-provider the storage-provider uses. Default: `"http://localhost:9216"`. +-http-network | $STORAGE_METADATA_HTTP_NETWORK +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `"tcp"`. +-http-addr | $STORAGE_METADATA_HTTP_ADDR +: Address to bind storage service. Default: `"0.0.0.0:9216"`. +-tmp-folder | $STORAGE_METADATA_TMP_FOLDER +: path to tmp folder. Default: `"/var/tmp/ocis/tmp/metadata"`. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --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 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 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)`. +-driver | $STORAGE_METADATA_DRIVER +: storage driver for metadata mount: eg. local, eos, owncloud, ocis or s3. Default: `"ocis"`. -gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT -: endpoint to use for the 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")`. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +: endpoint to use for the gateway service. Default: `"localhost:9142"`. +-userprovider-endpoint | $STORAGE_USERPROVIDER_ENDPOINT +: endpoint to use for the userprovider service. Default: `"localhost:9144"`. +-storage-root | $STORAGE_METADATA_ROOT +: the path to the metadata storage root. Default: `"/var/tmp/ocis/storage/metadata"`. @@ -1817,31 +3364,28 @@ 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")`. +: Address to bind debug server. Default: `"0.0.0.0:9179"`. -network | $STORAGE_PUBLIC_LINK_GRPC_NETWORK -: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `flags.OverrideDefaultString(cfg.Reva.StoragePublicLink.GRPCNetwork, "tcp")`. +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `"tcp"`. -addr | $STORAGE_PUBLIC_LINK_GRPC_ADDR -: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.StoragePublicLink.GRPCAddr, "0.0.0.0:9178")`. +: Address to bind storage service. Default: `"0.0.0.0:9178"`. -mount-path | $STORAGE_PUBLIC_LINK_MOUNT_PATH -: mount path. Default: `flags.OverrideDefaultString(cfg.Reva.StoragePublicLink.MountPath, "/public")`. +: mount path. Default: `"/public"`. -gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT -: endpoint to use for the storage gateway service. Default: `flags.OverrideDefaultString(cfg.Reva.Gateway.Endpoint, "localhost:9142")`. +: endpoint to use for the storage gateway service. Default: `"localhost:9142"`. @@ -1959,231 +3503,6 @@ Usage: `storage storage-public-link [command options] [arguments...]` - - - - - - - - - - - - - - - - - - - - - -### storage auth-bearer - -Start authprovider for bearer auth - -Usage: `storage auth-bearer [command options] [arguments...]` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --debug-addr | $STORAGE_AUTH_BEARER_DEBUG_ADDR -: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Reva.AuthBearer.DebugAddr, "0.0.0.0:9149")`. - - --oidc-issuer | $STORAGE_OIDC_ISSUER , $OCIS_URL -: OIDC issuer. Default: `flags.OverrideDefaultString(cfg.Reva.OIDC.Issuer, "https://localhost:9200")`. - - --oidc-insecure | $STORAGE_OIDC_INSECURE -: OIDC allow insecure communication. Default: `flags.OverrideDefaultBool(cfg.Reva.OIDC.Insecure, true)`. - - --oidc-id-claim | $STORAGE_OIDC_ID_CLAIM -: OIDC id claim. Default: `flags.OverrideDefaultString(cfg.Reva.OIDC.IDClaim, "preferred_username")`. - - --oidc-uid-claim | $STORAGE_OIDC_UID_CLAIM -: OIDC uid claim. Default: `flags.OverrideDefaultString(cfg.Reva.OIDC.UIDClaim, "")`. - - --oidc-gid-claim | $STORAGE_OIDC_GID_CLAIM -: OIDC gid claim. Default: `flags.OverrideDefaultString(cfg.Reva.OIDC.GIDClaim, "")`. - - --network | $STORAGE_AUTH_BEARER_GRPC_NETWORK -: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `flags.OverrideDefaultString(cfg.Reva.AuthBearer.GRPCNetwork, "tcp")`. - - --addr | $STORAGE_AUTH_BEARER_GRPC_ADDR -: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.AuthBearer.GRPCAddr, "0.0.0.0:9148")`. - - --gateway-url | $STORAGE_GATEWAY_ENDPOINT -: URL to use for the storage gateway service. Default: `flags.OverrideDefaultString(cfg.Reva.Gateway.Endpoint, "localhost:9142")`. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -2249,165 +3568,84 @@ Usage: `storage frontend [command options] [arguments...]` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -debug-addr | $STORAGE_FRONTEND_DEBUG_ADDR -: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Reva.Frontend.DebugAddr, "0.0.0.0:9141")`. +: Address to bind debug server. Default: `"0.0.0.0:9141"`. -transfer-secret | $STORAGE_TRANSFER_SECRET -: Transfer secret for datagateway. Default: `flags.OverrideDefaultString(cfg.Reva.TransferSecret, "replace-me-with-a-transfer-secret")`. +: Transfer secret for datagateway. Default: `"replace-me-with-a-transfer-secret"`. -webdav-namespace | $STORAGE_WEBDAV_NAMESPACE -: Namespace prefix for the /webdav endpoint. Default: `flags.OverrideDefaultString(cfg.Reva.OCDav.WebdavNamespace, "/home/")`. +: Namespace prefix for the /webdav endpoint. Default: `"/home/"`. -dav-files-namespace | $STORAGE_DAV_FILES_NAMESPACE -: Namespace prefix for the webdav /dav/files endpoint. Default: `flags.OverrideDefaultString(cfg.Reva.OCDav.DavFilesNamespace, "/users/")`. +: Namespace prefix for the webdav /dav/files endpoint. Default: `"/users/"`. -network | $STORAGE_FRONTEND_HTTP_NETWORK -: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `flags.OverrideDefaultString(cfg.Reva.Frontend.HTTPNetwork, "tcp")`. +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `"tcp"`. -addr | $STORAGE_FRONTEND_HTTP_ADDR -: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Frontend.HTTPAddr, "0.0.0.0:9140")`. +: Address to bind storage service. Default: `"0.0.0.0:9140"`. -public-url | $STORAGE_FRONTEND_PUBLIC_URL , $OCIS_URL -: URL to use for the storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Frontend.PublicURL, "https://localhost:9200")`. +: URL to use for the storage service. Default: `"https://localhost:9200"`. + + +-service | $STORAGE_FRONTEND_SERVICES +: --service ocdav [--service ocs]. Default: `cli.NewStringSlice("datagateway", "ocdav", "ocs")`. -datagateway-prefix | $STORAGE_FRONTEND_DATAGATEWAY_PREFIX -: datagateway prefix. Default: `flags.OverrideDefaultString(cfg.Reva.Frontend.DatagatewayPrefix, "data")`. +: datagateway prefix. Default: `"data"`. -ocdav-prefix | $STORAGE_FRONTEND_OCDAV_PREFIX -: owncloud webdav endpoint prefix. Default: `flags.OverrideDefaultString(cfg.Reva.Frontend.OCDavPrefix, "")`. +: owncloud webdav endpoint prefix. Default: `""`. -ocs-prefix | $STORAGE_FRONTEND_OCS_PREFIX -: open collaboration services endpoint prefix. Default: `flags.OverrideDefaultString(cfg.Reva.Frontend.OCSPrefix, "ocs")`. +: open collaboration services endpoint prefix. Default: `"ocs"`. -ocs-share-prefix | $STORAGE_FRONTEND_OCS_SHARE_PREFIX -: the prefix prepended to the path of shared files. Default: `flags.OverrideDefaultString(cfg.Reva.Frontend.OCSSharePrefix, "/Shares")`. +: the prefix prepended to the path of shared files. Default: `"/Shares"`. -ocs-home-namespace | $STORAGE_FRONTEND_OCS_HOME_NAMESPACE -: the prefix prepended to the incoming requests in OCS. Default: `flags.OverrideDefaultString(cfg.Reva.Frontend.OCSHomeNamespace, "/home")`. +: the prefix prepended to the incoming requests in OCS. Default: `"/home"`. -gateway-url | $STORAGE_GATEWAY_ENDPOINT -: URL to use for the storage gateway service. Default: `flags.OverrideDefaultString(cfg.Reva.Gateway.Endpoint, "localhost:9142")`. +: URL to use for the storage gateway service. Default: `"localhost:9142"`. -default-upload-protocol | $STORAGE_FRONTEND_DEFAULT_UPLOAD_PROTOCOL -: Default upload chunking protocol to be used out of tus/v1/ng. Default: `flags.OverrideDefaultString(cfg.Reva.DefaultUploadProtocol, "tus")`. +: Default upload chunking protocol to be used out of tus/v1/ng. Default: `"tus"`. + + +-upload-max-chunk-size | $STORAGE_FRONTEND_UPLOAD_MAX_CHUNK_SIZE +: Max chunk size in bytes to advertise to clients through capabilities, or 0 for unlimited. Default: `0`. -upload-http-method-override | $STORAGE_FRONTEND_UPLOAD_HTTP_METHOD_OVERRIDE -: Specify an HTTP method (ex: POST) that clients should to use when uploading instead of PATCH. Default: `flags.OverrideDefaultString(cfg.Reva.UploadHTTPMethodOverride, "")`. +: Specify an HTTP method (ex: POST) that clients should to use when uploading instead of PATCH. Default: `""`. + + +-checksum-suppored-type | $STORAGE_FRONTEND_CHECKSUM_SUPPORTED_TYPES +: --checksum-suppored-type sha1 [--checksum-suppored-type adler32]. Default: `cli.NewStringSlice("sha1", "md5", "adler32")`. -checksum-preferred-upload-type | $STORAGE_FRONTEND_CHECKSUM_PREFERRED_UPLOAD_TYPE -: Specify the preferred checksum algorithm used for uploads. Default: `flags.OverrideDefaultString(cfg.Reva.ChecksumPreferredUploadType, "")`. +: Specify the preferred checksum algorithm used for uploads. Default: `""`. +-user-agent-whitelist-lock-in | $STORAGE_FRONTEND_MIDDLEWARE_AUTH_CREDENTIALS_BY_USER_AGENT +: --user-agent-whitelist-lock-in=mirall:basic,foo:bearer Given a tuple of comma separated [UserAgent:challenge] values, it locks a given user agent to the authentication challenge. Particularly useful for old clients whose USer-Agent is known and only support one authentication challenge. When this flag is set in the storage-frontend it configures Reva.. @@ -2474,927 +3712,6 @@ Usage: `storage frontend [command options] [arguments...]` - - - - - - - - - - - - - - - - - - - - - -### storage gateway - -Start gateway - -Usage: `storage gateway [command options] [arguments...]` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --debug-addr | $STORAGE_GATEWAY_DEBUG_ADDR -: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Reva.Gateway.DebugAddr, "0.0.0.0:9143")`. - - --transfer-secret | $STORAGE_TRANSFER_SECRET -: Transfer secret for datagateway. Default: `flags.OverrideDefaultString(cfg.Reva.TransferSecret, "replace-me-with-a-transfer-secret")`. - - --network | $STORAGE_GATEWAY_GRPC_NETWORK -: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `flags.OverrideDefaultString(cfg.Reva.Gateway.GRPCNetwork, "tcp")`. - - --addr | $STORAGE_GATEWAY_GRPC_ADDR -: Address to bind storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Gateway.GRPCAddr, "0.0.0.0:9142")`. - - --endpoint | $STORAGE_GATEWAY_ENDPOINT -: endpoint to use for the storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Gateway.Endpoint, "localhost:9142")`. - - --commit-share-to-storage-grant | $STORAGE_GATEWAY_COMMIT_SHARE_TO_STORAGE_GRANT -: Commit shares to the share manager. Default: `flags.OverrideDefaultBool(cfg.Reva.Gateway.CommitShareToStorageGrant, true)`. - - --commit-share-to-storage-ref | $STORAGE_GATEWAY_COMMIT_SHARE_TO_STORAGE_REF -: Commit shares to the storage. Default: `flags.OverrideDefaultBool(cfg.Reva.Gateway.CommitShareToStorageRef, true)`. - - --share-folder | $STORAGE_GATEWAY_SHARE_FOLDER -: mount shares in this folder of the home storage provider. Default: `flags.OverrideDefaultString(cfg.Reva.Gateway.ShareFolder, "Shares")`. - - --disable-home-creation-on-login | $STORAGE_GATEWAY_DISABLE_HOME_CREATION_ON_LOGIN -: Disable creation of home folder on login. - - --storage-home-mapping | $STORAGE_GATEWAY_HOME_MAPPING -: mapping template for user home paths to user-specific mount points, e.g. /home/{{substr 0 1 .Username}}. Default: `flags.OverrideDefaultString(cfg.Reva.Gateway.HomeMapping, "")`. - - --auth-basic-endpoint | $STORAGE_AUTH_BASIC_ENDPOINT -: endpoint to use for the basic auth provider. Default: `flags.OverrideDefaultString(cfg.Reva.AuthBasic.Endpoint, "localhost:9146")`. - - --auth-bearer-endpoint | $STORAGE_AUTH_BEARER_ENDPOINT -: endpoint to use for the bearer auth provider. Default: `flags.OverrideDefaultString(cfg.Reva.AuthBearer.Endpoint, "localhost:9148")`. - - --storage-registry-driver | $STORAGE_STORAGE_REGISTRY_DRIVER -: driver of the storage registry. Default: `flags.OverrideDefaultString(cfg.Reva.StorageRegistry.Driver, "static")`. - - --storage-home-provider | $STORAGE_STORAGE_REGISTRY_HOME_PROVIDER -: mount point of the storage provider for user homes in the global namespace. Default: `flags.OverrideDefaultString(cfg.Reva.StorageRegistry.HomeProvider, "/home")`. - - --storage-registry-json | $STORAGE_STORAGE_REGISTRY_JSON -: JSON file containing the storage registry rules. Default: `flags.OverrideDefaultString(cfg.Reva.StorageRegistry.JSON, "")`. - - --public-url | $STORAGE_FRONTEND_PUBLIC_URL , $OCIS_URL -: URL to use for the storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Frontend.PublicURL, "https://localhost:9200")`. - - --datagateway-url | $STORAGE_DATAGATEWAY_PUBLIC_URL -: URL to use for the storage datagateway, defaults to /data. Default: `flags.OverrideDefaultString(cfg.Reva.DataGateway.PublicURL, "")`. - - --userprovider-endpoint | $STORAGE_USERPROVIDER_ENDPOINT -: endpoint to use for the userprovider. Default: `flags.OverrideDefaultString(cfg.Reva.Users.Endpoint, "localhost:9144")`. - - --groupprovider-endpoint | $STORAGE_GROUPPROVIDER_ENDPOINT -: endpoint to use for the groupprovider. Default: `flags.OverrideDefaultString(cfg.Reva.Groups.Endpoint, "localhost:9160")`. - - --sharing-endpoint | $STORAGE_SHARING_ENDPOINT -: endpoint to use for the storage service. Default: `flags.OverrideDefaultString(cfg.Reva.Sharing.Endpoint, "localhost:9150")`. - - --storage-home-endpoint | $STORAGE_HOME_ENDPOINT -: endpoint to use for the home storage. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.Endpoint, "localhost:9154")`. - - --storage-home-mount-path | $STORAGE_HOME_MOUNT_PATH -: mount path. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.MountPath, "/home")`. - - --storage-home-mount-id | $STORAGE_HOME_MOUNT_ID -: mount id. Default: `flags.OverrideDefaultString(cfg.Reva.StorageHome.MountID, "1284d238-aa92-42ce-bdc4-0b0000009154")`. - - --storage-users-endpoint | $STORAGE_USERS_ENDPOINT -: endpoint to use for the users storage. Default: `flags.OverrideDefaultString(cfg.Reva.StorageUsers.Endpoint, "localhost:9157")`. - - --storage-users-mount-path | $STORAGE_USERS_MOUNT_PATH -: mount path. Default: `flags.OverrideDefaultString(cfg.Reva.StorageUsers.MountPath, "/users")`. - - --storage-users-mount-id | $STORAGE_USERS_MOUNT_ID -: mount id. Default: `flags.OverrideDefaultString(cfg.Reva.StorageUsers.MountID, "1284d238-aa92-42ce-bdc4-0b0000009157")`. - - --public-link-endpoint | $STORAGE_PUBLIC_LINK_ENDPOINT -: endpoint to use for the public links service. Default: `flags.OverrideDefaultString(cfg.Reva.StoragePublicLink.Endpoint, "localhost:9178")`. - - --storage-public-link-mount-path | $STORAGE_PUBLIC_LINK_MOUNT_PATH -: mount path. Default: `flags.OverrideDefaultString(cfg.Reva.StoragePublicLink.MountPath, "/public")`. - - - - - - - - - - - - - - - - - - - - - - - - - - -### 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 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-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")`. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -3540,30 +3857,30 @@ Example: Set the home and users Storage Provider to `ocis` ### Local Driver -storage-local-root | $STORAGE_DRIVER_LOCAL_ROOT -: the path to the local storage root. Default: `flags.OverrideDefaultString(cfg.Reva.Storages.Local.Root, "/var/tmp/ocis/storage/local")`. +: the path to the local storage root. Default: `"/var/tmp/ocis/storage/local"`. ### Eos Driver -storage-eos-namespace | $STORAGE_DRIVER_EOS_NAMESPACE -: Namespace for metadata operations. Default: `flags.OverrideDefaultString(cfg.Reva.Storages.EOS.Root, "/eos/dockertest/reva")`. +: Namespace for metadata operations. Default: `"/eos/dockertest/reva"`. -storage-eos-shadow-namespace | $STORAGE_DRIVER_EOS_SHADOW_NAMESPACE : Shadow namespace where share references are stored. -storage-eos-share-folder | $STORAGE_DRIVER_EOS_SHARE_FOLDER -: name of the share folder. Default: `flags.OverrideDefaultString(cfg.Reva.Storages.EOS.ShareFolder, "/Shares")`. +: name of the share folder. Default: `"/Shares"`. -storage-eos-binary | $STORAGE_DRIVER_EOS_BINARY -: Location of the eos binary. Default: `flags.OverrideDefaultString(cfg.Reva.Storages.EOS.EosBinary, "/usr/bin/eos")`. +: Location of the eos binary. Default: `"/usr/bin/eos"`. -storage-eos-xrdcopy-binary | $STORAGE_DRIVER_EOS_XRDCOPY_BINARY -: Location of the xrdcopy binary. Default: `flags.OverrideDefaultString(cfg.Reva.Storages.EOS.XrdcopyBinary, "/usr/bin/xrdcopy")`. +: Location of the xrdcopy binary. Default: `"/usr/bin/xrdcopy"`. -storage-eos-master-url | $STORAGE_DRIVER_EOS_MASTER_URL -: URL of the Master EOS MGM. Default: `flags.OverrideDefaultString(cfg.Reva.Storages.EOS.MasterURL, "root://eos-mgm1.eoscluster.cern.ch:1094")`. +: URL of the Master EOS MGM. Default: `"root://eos-mgm1.eoscluster.cern.ch:1094"`. -storage-eos-slave-url | $STORAGE_DRIVER_EOS_SLAVE_URL -: URL of the Slave EOS MGM. Default: `flags.OverrideDefaultString(cfg.Reva.Storages.EOS.SlaveURL, "root://eos-mgm1.eoscluster.cern.ch:1094")`. +: URL of the Slave EOS MGM. Default: `"root://eos-mgm1.eoscluster.cern.ch:1094"`. -storage-eos-cache-directory | $STORAGE_DRIVER_EOS_CACHE_DIRECTORY : Location on the local fs where to store reads. Default: `flags.OverrideDefaultString(cfg.Reva.Storages.EOS.CacheDirectory, os.TempDir())`. @@ -3593,44 +3910,44 @@ Example: Set the home and users Storage Provider to `ocis` : the username to use when SingleUserMode is enabled. -storage-eos-layout | $STORAGE_DRIVER_EOS_LAYOUT -: `"layout of the users home dir path on disk, in addition to {{.Username}}, {{.UsernameLower}} and {{.Provider}} also supports prefixing dirs: "{{.UsernamePrefixCount.2}}/{{.UsernameLower}}" will turn "Einstein" into "Ei/Einstein" `. Default: `flags.OverrideDefaultString(cfg.Reva.Storages.EOS.UserLayout, "{{substr 0 1 .Username}}/{{.Username}}")`. +: `"layout of the users home dir path on disk, in addition to {{.Username}}, {{.UsernameLower}} and {{.Provider}} also supports prefixing dirs: "{{.UsernamePrefixCount.2}}/{{.UsernameLower}}" will turn "Einstein" into "Ei/Einstein" `. Default: `"{{substr 0 1 .Username}}/{{.Username}}"`. -storage-eos-gatewaysvc | $STORAGE_DRIVER_EOS_GATEWAYSVC -: URL to use for the storage gateway service. Default: `flags.OverrideDefaultString(cfg.Reva.Storages.EOS.GatewaySVC, "localhost:9142")`. +: URL to use for the storage gateway service. Default: `"localhost:9142"`. ### owCloud Driver -storage-owncloud-datadir | $STORAGE_DRIVER_OWNCLOUD_DATADIR -: the path to the owncloud data directory. Default: `flags.OverrideDefaultString(cfg.Reva.Storages.OwnCloud.Root, "/var/tmp/ocis/storage/owncloud")`. +: the path to the owncloud data directory. Default: `"/var/tmp/ocis/storage/owncloud"`. -storage-owncloud-uploadinfo-dir | $STORAGE_DRIVER_OWNCLOUD_UPLOADINFO_DIR -: the path to the tus upload info directory. Default: `flags.OverrideDefaultString(cfg.Reva.Storages.OwnCloud.UploadInfoDir, "/var/tmp/ocis/storage/uploadinfo")`. +: the path to the tus upload info directory. Default: `"/var/tmp/ocis/storage/uploadinfo"`. -storage-owncloud-share-folder | $STORAGE_DRIVER_OWNCLOUD_SHARE_FOLDER -: name of the shares folder. Default: `flags.OverrideDefaultString(cfg.Reva.Storages.OwnCloud.ShareFolder, "/Shares")`. +: name of the shares folder. Default: `"/Shares"`. -storage-owncloud-scan | $STORAGE_DRIVER_OWNCLOUD_SCAN -: scan files on startup to add fileids. Default: `flags.OverrideDefaultBool(cfg.Reva.Storages.OwnCloud.Scan, true)`. +: scan files on startup to add fileids. Default: `true`. -storage-owncloud-redis | $STORAGE_DRIVER_OWNCLOUD_REDIS_ADDR -: the address of the redis server. Default: `flags.OverrideDefaultString(cfg.Reva.Storages.OwnCloud.Redis, ":6379")`. +: the address of the redis server. Default: `":6379"`. -storage-owncloud-enable-home | $STORAGE_DRIVER_OWNCLOUD_ENABLE_HOME -: enable the creation of home storages. Default: `flags.OverrideDefaultBool(cfg.Reva.Storages.OwnCloud.EnableHome, false)`. +: enable the creation of home storages. Default: `false`. -storage-owncloud-layout | $STORAGE_DRIVER_OWNCLOUD_LAYOUT -: `"layout of the users home dir path on disk, in addition to {{.Username}}, {{.Mail}}, {{.Id.OpaqueId}}, {{.Id.Idp}} also supports prefixing dirs: "{{substr 0 1 .Username}}/{{.Username}}" will turn "Einstein" into "Ei/Einstein" `. Default: `flags.OverrideDefaultString(cfg.Reva.Storages.OwnCloud.UserLayout, "{{.Id.OpaqueId}}")`. +: `"layout of the users home dir path on disk, in addition to {{.Username}}, {{.Mail}}, {{.Id.OpaqueId}}, {{.Id.Idp}} also supports prefixing dirs: "{{substr 0 1 .Username}}/{{.Username}}" will turn "Einstein" into "Ei/Einstein" `. Default: `"{{.Id.OpaqueId}}"`. ### Ocis Driver -storage-ocis-root | $STORAGE_DRIVER_OCIS_ROOT -: the path to the local storage root. Default: `flags.OverrideDefaultString(cfg.Reva.Storages.Common.Root, "/var/tmp/ocis/storage/users")`. +: the path to the local storage root. Default: `"/var/tmp/ocis/storage/users"`. -storage-ocis-enable-home | $STORAGE_DRIVER_OCIS_ENABLE_HOME -: enable the creation of home storages. Default: `flags.OverrideDefaultBool(cfg.Reva.Storages.Common.EnableHome, false)`. +: enable the creation of home storages. Default: `false`. -storage-ocis-layout | $STORAGE_DRIVER_OCIS_LAYOUT -: `"layout of the users home dir path on disk, in addition to {{.Username}}, {{.Mail}}, {{.Id.OpaqueId}}, {{.Id.Idp}} also supports prefixing dirs: "{{substr 0 1 .Username}}/{{.Username}}" will turn "Einstein" into "Ei/Einstein" `. Default: `flags.OverrideDefaultString(cfg.Reva.Storages.Common.UserLayout, "{{.Id.OpaqueId}}")`. +: `"layout of the users home dir path on disk, in addition to {{.Username}}, {{.Mail}}, {{.Id.OpaqueId}}, {{.Id.Idp}} also supports prefixing dirs: "{{substr 0 1 .Username}}/{{.Username}}" will turn "Einstein" into "Ei/Einstein" `. Default: `"{{.Id.OpaqueId}}"`. -service-user-uuid | $STORAGE_DRIVER_OCIS_SERVICE_USER_UUID : uuid of the internal service user. Default: `95cb8724-03b2-11eb-a0a6-c33ef8ef53ad`. @@ -3638,13 +3955,13 @@ Example: Set the home and users Storage Provider to `ocis` ### S3ng Driver -storage-s3ng-root | $STORAGE_DRIVER_S3NG_ROOT -: the path to the local storage root. Default: `flags.OverrideDefaultString(cfg.Reva.Storages.Common.Root, "/var/tmp/ocis/storage/users")`. +: the path to the local storage root. Default: `"/var/tmp/ocis/storage/users"`. -storage-s3ng-enable-home | $STORAGE_DRIVER_S3NG_ENABLE_HOME -: enable the creation of home storages. Default: `flags.OverrideDefaultBool(cfg.Reva.Storages.Common.EnableHome, false)`. +: enable the creation of home storages. Default: `false`. -storage-s3ng-layout | $STORAGE_DRIVER_S3NG_LAYOUT -: `"layout of the users home dir path on disk, in addition to {{.Username}}, {{.Mail}}, {{.Id.OpaqueId}}, {{.Id.Idp}} also supports prefixing dirs: "{{substr 0 1 .Username}}/{{.Username}}" will turn "Einstein" into "Ei/Einstein" `. Default: `flags.OverrideDefaultString(cfg.Reva.Storages.Common.UserLayout, "{{.Id.OpaqueId}}")`. +: `"layout of the users home dir path on disk, in addition to {{.Username}}, {{.Mail}}, {{.Id.OpaqueId}}, {{.Id.Idp}} also supports prefixing dirs: "{{substr 0 1 .Username}}/{{.Username}}" will turn "Einstein" into "Ei/Einstein" `. Default: `"{{.Id.OpaqueId}}"`. -storage-s3ng-region | $STORAGE_DRIVER_S3NG_REGION : `"the s3 region" `. Default: `default`. diff --git a/extensions/store/configuration.md b/extensions/store/configuration.md index f9234e13243..23f19079727 100644 --- a/extensions/store/configuration.md +++ b/extensions/store/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-07-01T15:08:41+0000" +date: "2021-07-01T15:13:26+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/store/templates @@ -47,7 +47,7 @@ Usage: `store health [command options] [arguments...]` -debug-addr | $STORE_DEBUG_ADDR -: Address to debug endpoint. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9460")`. +: Address to debug endpoint. Default: `"0.0.0.0:9460"`. @@ -125,27 +125,27 @@ Usage: `store server [command options] [arguments...]` -tracing-type | $STORE_TRACING_TYPE -: Tracing backend type. Default: `flags.OverrideDefaultString(cfg.Tracing.Type, "jaeger")`. +: Tracing backend type. Default: `"jaeger"`. -tracing-endpoint | $STORE_TRACING_ENDPOINT -: Endpoint for the agent. Default: `flags.OverrideDefaultString(cfg.Tracing.Endpoint, "")`. +: Endpoint for the agent. Default: `""`. -tracing-collector | $STORE_TRACING_COLLECTOR -: Endpoint for the collector. Default: `flags.OverrideDefaultString(cfg.Tracing.Collector, "")`. +: Endpoint for the collector. Default: `""`. -tracing-service | $STORE_TRACING_SERVICE -: Service name for tracing. Default: `flags.OverrideDefaultString(cfg.Tracing.Service, "store")`. +: Service name for tracing. Default: `"store"`. -debug-addr | $STORE_DEBUG_ADDR -: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9460")`. +: Address to bind debug server. Default: `"0.0.0.0:9460"`. -debug-token | $STORE_DEBUG_TOKEN -: Token to grant metrics access. Default: `flags.OverrideDefaultString(cfg.Debug.Token, "")`. +: Token to grant metrics access. Default: `""`. -debug-pprof | $STORE_DEBUG_PPROF @@ -157,15 +157,15 @@ Usage: `store server [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")`. +: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`. -name | $STORE_NAME -: Service name. Default: `flags.OverrideDefaultString(cfg.Service.Name, "store")`. +: Service name. Default: `"store"`. -data-path | $STORE_DATA_PATH -: location of the store data path. Default: `flags.OverrideDefaultString(cfg.Datapath, "/var/tmp/ocis/store")`. +: location of the store data path. Default: `"/var/tmp/ocis/store"`. -extensions | @@ -200,9 +200,9 @@ 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")`. +: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`. -name | $STORE_NAME -: Service name. Default: `flags.OverrideDefaultString(cfg.Service.Name, "store")`. +: Service name. Default: `"store"`. diff --git a/extensions/thumbnails/configuration.md b/extensions/thumbnails/configuration.md index 45a4b0525c8..bc039ae1f0e 100644 --- a/extensions/thumbnails/configuration.md +++ b/extensions/thumbnails/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-07-01T15:08:42+0000" +date: "2021-07-01T15:13:26+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/thumbnails/templates @@ -43,7 +43,8 @@ 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")`. +: Address to debug endpoint. Default: `"0.0.0.0:9189"`. + @@ -98,6 +99,7 @@ Usage: `thumbnails ocis-thumbnails [command options] [arguments...]` + ### thumbnails server @@ -133,27 +135,27 @@ Usage: `thumbnails server [command options] [arguments...]` -tracing-type | $THUMBNAILS_TRACING_TYPE -: Tracing backend type. Default: `flags.OverrideDefaultString(cfg.Tracing.Type, "jaeger")`. +: Tracing backend type. Default: `"jaeger"`. -tracing-endpoint | $THUMBNAILS_TRACING_ENDPOINT -: Endpoint for the agent. Default: `flags.OverrideDefaultString(cfg.Tracing.Endpoint, "")`. +: Endpoint for the agent. Default: `""`. -tracing-collector | $THUMBNAILS_TRACING_COLLECTOR -: Endpoint for the collector. Default: `flags.OverrideDefaultString(cfg.Tracing.Collector, "")`. +: Endpoint for the collector. Default: `""`. -tracing-service | $THUMBNAILS_TRACING_SERVICE -: Service name for tracing. Default: `flags.OverrideDefaultString(cfg.Tracing.Service, "thumbnails")`. +: Service name for tracing. Default: `"thumbnails"`. -debug-addr | $THUMBNAILS_DEBUG_ADDR -: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9189")`. +: Address to bind debug server. Default: `"0.0.0.0:9189"`. -debug-token | $THUMBNAILS_DEBUG_TOKEN -: Token to grant metrics access. Default: `flags.OverrideDefaultString(cfg.Debug.Token, "")`. +: Token to grant metrics access. Default: `""`. -debug-pprof | $THUMBNAILS_DEBUG_PPROF @@ -165,15 +167,15 @@ Usage: `thumbnails server [command options] [arguments...]` -grpc-name | $THUMBNAILS_GRPC_NAME -: Name of the service. Default: `flags.OverrideDefaultString(cfg.Server.Name, "thumbnails")`. +: Name of the service. Default: `"thumbnails"`. -grpc-addr | $THUMBNAILS_GRPC_ADDR -: Address to bind grpc server. Default: `flags.OverrideDefaultString(cfg.Server.Address, "0.0.0.0:9185")`. +: Address to bind grpc server. Default: `"0.0.0.0:9185"`. -grpc-namespace | $THUMBNAILS_GRPC_NAMESPACE -: Set the base namespace for the grpc namespace. Default: `flags.OverrideDefaultString(cfg.Server.Namespace, "com.owncloud.api")`. +: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`. -filesystemstorage-root | $THUMBNAILS_FILESYSTEMSTORAGE_ROOT @@ -181,15 +183,19 @@ Usage: `thumbnails server [command options] [arguments...]` -reva-gateway-addr | $THUMBNAILS_REVA_GATEWAY , $PROXY_REVA_GATEWAY_ADDR -: Reva gateway address. Default: `flags.OverrideDefaultString(cfg.Thumbnail.RevaGateway, "127.0.0.1:9142")`. +: Reva gateway address. Default: `"127.0.0.1:9142"`. -webdavsource-insecure | $THUMBNAILS_WEBDAVSOURCE_INSECURE -: Whether to skip certificate checks. Default: `flags.OverrideDefaultBool(cfg.Thumbnail.WebdavAllowInsecure, true)`. +: Whether to skip certificate checks. Default: `true`. + + +-thumbnail-resolution | $THUMBNAILS_RESOLUTIONS +: --thumbnail-resolution 16x16 [--thumbnail-resolution 32x32]. Default: `cli.NewStringSlice("16x16", "32x32", "64x64", "128x128", "1920x1080", "3840x2160", "7680x4320")`. -webdav-namespace | $STORAGE_WEBDAV_NAMESPACE -: Namespace prefix for the webdav endpoint. Default: `flags.OverrideDefaultString(cfg.Thumbnail.WebdavNamespace, "/home")`. +: Namespace prefix for the webdav endpoint. Default: `"/home"`. -extensions | @@ -225,12 +231,13 @@ Usage: `thumbnails version [command options] [arguments...]` + -grpc-name | $THUMBNAILS_GRPC_NAME -: Name of the service. Default: `flags.OverrideDefaultString(cfg.Server.Name, "thumbnails")`. +: Name of the service. Default: `"thumbnails"`. -grpc-namespace | $THUMBNAILS_GRPC_NAMESPACE -: Set the base namespace for the grpc namespace. Default: `flags.OverrideDefaultString(cfg.Server.Namespace, "com.owncloud.api")`. +: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`. diff --git a/extensions/web/configuration.md b/extensions/web/configuration.md index 6bee2abf732..d7ad68f79fa 100644 --- a/extensions/web/configuration.md +++ b/extensions/web/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-07-01T15:08:42+0000" +date: "2021-07-01T15:13:26+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/web/templates @@ -67,10 +67,52 @@ Usage: `web [global options] command [command options] [arguments...]` + + ## Sub Commands + +### web health + +Check health status + +Usage: `web health [command options] [arguments...]` + + + + + +-debug-addr | $WEB_DEBUG_ADDR +: Address to debug endpoint. Default: `"0.0.0.0:9104"`. + + + + + + + + + + + + + + + + + + + + + + + + + + + ### web server @@ -105,27 +147,27 @@ Usage: `web server [command options] [arguments...]` -tracing-type | $WEB_TRACING_TYPE -: Tracing backend type. Default: `flags.OverrideDefaultString(cfg.Tracing.Type, "jaeger")`. +: Tracing backend type. Default: `"jaeger"`. -tracing-endpoint | $WEB_TRACING_ENDPOINT -: Endpoint for the agent. Default: `flags.OverrideDefaultString(cfg.Tracing.Endpoint, "")`. +: Endpoint for the agent. Default: `""`. -tracing-collector | $WEB_TRACING_COLLECTOR -: Endpoint for the collector. Default: `flags.OverrideDefaultString(cfg.Tracing.Collector, "")`. +: Endpoint for the collector. Default: `""`. -tracing-service | $WEB_TRACING_SERVICE -: Service name for tracing. Default: `flags.OverrideDefaultString(cfg.Tracing.Service, "web")`. +: Service name for tracing. Default: `"web"`. -debug-addr | $WEB_DEBUG_ADDR -: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9104")`. +: Address to bind debug server. Default: `"0.0.0.0:9104"`. -debug-token | $WEB_DEBUG_TOKEN -: Token to grant metrics access. Default: `flags.OverrideDefaultString(cfg.Debug.Token, "")`. +: Token to grant metrics access. Default: `""`. -debug-pprof | $WEB_DEBUG_PPROF @@ -137,95 +179,65 @@ Usage: `web server [command options] [arguments...]` -http-addr | $WEB_HTTP_ADDR -: Address to bind http server. Default: `flags.OverrideDefaultString(cfg.HTTP.Addr, "0.0.0.0:9100")`. +: Address to bind http server. Default: `"0.0.0.0:9100"`. -http-root | $WEB_HTTP_ROOT -: Root path of http server. Default: `flags.OverrideDefaultString(cfg.HTTP.Root, "/")`. +: Root path of http server. Default: `"/"`. -http-namespace | $WEB_NAMESPACE -: Set the base namespace for the http namespace. Default: `flags.OverrideDefaultString(cfg.HTTP.Namespace, "com.owncloud.web")`. +: Set the base namespace for the http namespace. Default: `"com.owncloud.web"`. + + +-http-cache-ttl | $WEB_CACHE_TTL +: Set the static assets caching duration in seconds. Default: `604800`. -asset-path | $WEB_ASSET_PATH -: Path to custom assets. Default: `flags.OverrideDefaultString(cfg.Asset.Path, "")`. +: Path to custom assets. Default: `""`. -web-config | $WEB_UI_CONFIG -: Path to web config. Default: `flags.OverrideDefaultString(cfg.Web.Path, "")`. +: Path to web config. Default: `""`. -web-config-server | $WEB_UI_CONFIG_SERVER , $OCIS_URL -: Server URL. Default: `flags.OverrideDefaultString(cfg.Web.Config.Server, "https://localhost:9200")`. +: Server URL. Default: `"https://localhost:9200"`. -web-config-theme | $WEB_UI_CONFIG_THEME -: Theme. Default: `flags.OverrideDefaultString(cfg.Web.Config.Theme, "owncloud")`. +: Theme. Default: `"owncloud"`. -web-config-version | $WEB_UI_CONFIG_VERSION -: Version. Default: `flags.OverrideDefaultString(cfg.Web.Config.Version, "0.1.0")`. +: Version. Default: `"0.1.0"`. + + +-web-config-app | $WEB_UI_CONFIG_APPS +: `--web-config-app files [--web-config-app draw-io]`. Default: `cli.NewStringSlice("files", "media-viewer")`. -oidc-metadata-url | $WEB_OIDC_METADATA_URL -: OpenID Connect metadata URL, defaults to /.well-known/openid-configuration. Default: `flags.OverrideDefaultString(cfg.Web.Config.OpenIDConnect.MetadataURL, "")`. +: OpenID Connect metadata URL, defaults to /.well-known/openid-configuration. Default: `""`. -oidc-authority | $WEB_OIDC_AUTHORITY , $OCIS_URL -: OpenID Connect authority. Default: `flags.OverrideDefaultString(cfg.Web.Config.OpenIDConnect.Authority, "https://localhost:9200")`. +: OpenID Connect authority. Default: `"https://localhost:9200"`. -oidc-client-id | $WEB_OIDC_CLIENT_ID -: OpenID Connect client ID. Default: `flags.OverrideDefaultString(cfg.Web.Config.OpenIDConnect.ClientID, "web")`. +: OpenID Connect client ID. Default: `"web"`. -oidc-response-type | $WEB_OIDC_RESPONSE_TYPE -: OpenID Connect response type. Default: `flags.OverrideDefaultString(cfg.Web.Config.OpenIDConnect.ResponseType, "code")`. +: OpenID Connect response type. Default: `"code"`. -oidc-scope | $WEB_OIDC_SCOPE -: OpenID Connect scope. Default: `flags.OverrideDefaultString(cfg.Web.Config.OpenIDConnect.Scope, "openid profile email")`. +: OpenID Connect scope. Default: `"openid profile email"`. -extensions | : Run specific extensions during supervised mode. This flag is set by the runtime. - -### web health - -Check health status - -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")`. - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/extensions/webdav/configuration.md b/extensions/webdav/configuration.md index 8a4aabeca09..7c99896c161 100644 --- a/extensions/webdav/configuration.md +++ b/extensions/webdav/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-07-01T15:08:42+0000" +date: "2021-07-01T15:13:27+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/webdav/templates @@ -67,6 +67,42 @@ Usage: `webdav [global options] command [command options] [arguments...]` ## Sub Commands +### webdav version + +Print the versions of the running instances + +Usage: `webdav version [command options] [arguments...]` + + + + + + + + + + + + + + + + + + + + + + + + +-http-namespace | $WEBDAV_HTTP_NAMESPACE +: Set the base namespace for service discovery. Default: `"com.owncloud.web"`. + + +-service-name | $WEBDAV_SERVICE_NAME +: Service name. Default: `"webdav"`. + ### webdav health Check health status @@ -75,7 +111,7 @@ Usage: `webdav health [command options] [arguments...]` -debug-addr | $WEBDAV_DEBUG_ADDR -: Address to debug endpoint. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9119")`. +: Address to debug endpoint. Default: `"0.0.0.0:9119"`. @@ -133,27 +169,27 @@ Usage: `webdav server [command options] [arguments...]` -tracing-type | $WEBDAV_TRACING_TYPE -: Tracing backend type. Default: `flags.OverrideDefaultString(cfg.Tracing.Type, "jaeger")`. +: Tracing backend type. Default: `"jaeger"`. -tracing-endpoint | $WEBDAV_TRACING_ENDPOINT -: Endpoint for the agent. Default: `flags.OverrideDefaultString(cfg.Tracing.Endpoint, "")`. +: Endpoint for the agent. Default: `""`. -tracing-collector | $WEBDAV_TRACING_COLLECTOR -: Endpoint for the collector. Default: `flags.OverrideDefaultString(cfg.Tracing.Collector, "")`. +: Endpoint for the collector. Default: `""`. -tracing-service | $WEBDAV_TRACING_SERVICE -: Service name for tracing. Default: `flags.OverrideDefaultString(cfg.Tracing.Service, "webdav")`. +: Service name for tracing. Default: `"webdav"`. -debug-addr | $WEBDAV_DEBUG_ADDR -: Address to bind debug server. Default: `flags.OverrideDefaultString(cfg.Debug.Addr, "0.0.0.0:9119")`. +: Address to bind debug server. Default: `"0.0.0.0:9119"`. -debug-token | $WEBDAV_DEBUG_TOKEN -: Token to grant metrics access. Default: `flags.OverrideDefaultString(cfg.Debug.Token, "")`. +: Token to grant metrics access. Default: `""`. -debug-pprof | $WEBDAV_DEBUG_PPROF @@ -165,27 +201,27 @@ Usage: `webdav server [command options] [arguments...]` -http-addr | $WEBDAV_HTTP_ADDR -: Address to bind http server. Default: `flags.OverrideDefaultString(cfg.HTTP.Addr, "0.0.0.0:9115")`. +: Address to bind http server. Default: `"0.0.0.0:9115"`. -http-namespace | $WEBDAV_HTTP_NAMESPACE -: Set the base namespace for service discovery. Default: `flags.OverrideDefaultString(cfg.Service.Namespace, "com.owncloud.web")`. +: Set the base namespace for service discovery. Default: `"com.owncloud.web"`. -service-name | $WEBDAV_SERVICE_NAME -: Service name. Default: `flags.OverrideDefaultString(cfg.Service.Name, "webdav")`. +: Service name. Default: `"webdav"`. -http-root | $WEBDAV_HTTP_ROOT -: Root path of http server. Default: `flags.OverrideDefaultString(cfg.HTTP.Root, "/")`. +: Root path of http server. Default: `"/"`. -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")`. +: The domain under which oCIS is reachable. Default: `"https://127.0.0.1:9200"`. -webdav-namespace | $STORAGE_WEBDAV_NAMESPACE -: Namespace prefix for the /webdav endpoint. Default: `flags.OverrideDefaultString(cfg.WebdavNamespace, "/home")`. +: Namespace prefix for the /webdav endpoint. Default: `"/home"`. -extensions | @@ -193,39 +229,3 @@ Usage: `webdav server [command options] [arguments...]` -### webdav version - -Print the versions of the running instances - -Usage: `webdav version [command options] [arguments...]` - - - - - - - - - - - - - - - - - - - - - - - - --http-namespace | $WEBDAV_HTTP_NAMESPACE -: Set the base namespace for service discovery. Default: `flags.OverrideDefaultString(cfg.Service.Namespace, "com.owncloud.web")`. - - --service-name | $WEBDAV_SERVICE_NAME -: Service name. Default: `flags.OverrideDefaultString(cfg.Service.Name, "webdav")`. - diff --git a/ocis/configuration.md b/ocis/configuration.md index 6d0d576ef21..057e6b6a7c6 100644 --- a/ocis/configuration.md +++ b/ocis/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-07-01T15:08:41+0000" +date: "2021-07-01T15:13:25+0000" weight: 2 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/ocis/templates @@ -108,11 +108,11 @@ Usage: `ocis [global options] command [command options] [arguments...]` ## Sub Commands -### ocis kill +### ocis health -Kill an extension by name +Check health status -Usage: `ocis kill [command options] [arguments...]` +Usage: `ocis health [command options] [arguments...]` @@ -128,6 +128,9 @@ Usage: `ocis kill [command options] [arguments...]` +-debug-addr | $OCIS_DEBUG_ADDR +: Address to debug endpoint. Default: `0.0.0.0:9010`. + @@ -188,11 +191,11 @@ Usage: `ocis server [command options] [arguments...]` -extensions | $OCIS_RUN_EXTENSIONS : Run specific extensions during supervised mode. -### ocis list +### ocis kill -Lists running ocis extensions +Kill an extension by name -Usage: `ocis list [command options] [arguments...]` +Usage: `ocis kill [command options] [arguments...]` @@ -244,11 +247,11 @@ Usage: `ocis run [command options] [arguments...]` -### ocis health +### ocis list -Check health status +Lists running ocis extensions -Usage: `ocis health [command options] [arguments...]` +Usage: `ocis list [command options] [arguments...]` @@ -264,9 +267,6 @@ Usage: `ocis health [command options] [arguments...]` --debug-addr | $OCIS_DEBUG_ADDR -: Address to debug endpoint. Default: `0.0.0.0:9010`. - @@ -279,61 +279,57 @@ Usage: `ocis health [command options] [arguments...]` 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-metadata +#### ocis accounts -Start storage and data service for metadata +Start accounts server -#### ocis store +#### ocis storage-auth-basic -Start a go-micro store +Start storage auth-basic service -#### ocis storage-groupprovider +#### ocis storage-gateway -Start storage groupprovider service - -#### ocis storage-home - -Start storage and data provider for /home mount - -#### ocis storage-users - -Start storage and data provider for /users mount - -#### ocis version - -Lists running services with version - -#### ocis ocs - -Start ocs server - -#### ocis storage-sharing - -Start storage sharing service - -#### ocis glauth - -Start glauth server - -#### ocis proxy - -Start proxy server +Start storage gateway #### ocis storage-userprovider Start storage userprovider service -#### ocis storage-frontend - -Start storage frontend - #### ocis storage-public-link Start storage public link storage -#### ocis storage-auth-basic +#### ocis glauth -Start storage auth-basic service +Start glauth server + +#### ocis idp + +Start idp server + +#### ocis settings + +Start settings server + +#### ocis storage-groupprovider + +Start storage groupprovider service + +#### ocis ocs + +Start ocs server + +#### ocis version + +Lists running services with version + +#### ocis storage-sharing + +Start storage sharing service + +#### ocis storage-users + +Start storage and data provider for /users mount #### ocis webdav @@ -343,31 +339,35 @@ Start webdav server Start onlyoffice server -#### ocis settings +#### ocis proxy -Start settings server +Start proxy server -#### ocis idp +#### ocis storage-metadata -Start idp server - -#### ocis web - -Start web server +Start storage and data service for metadata #### ocis storage-auth-bearer Start storage auth-bearer service -#### ocis storage-gateway +#### ocis store -Start storage gateway +Start a go-micro store + +#### ocis web + +Start web server + +#### ocis storage-frontend + +Start storage frontend + +#### ocis storage-home + +Start storage and data provider for /home mount #### ocis thumbnails Start thumbnails server -#### ocis accounts - -Start accounts server -