commit 6dc4e5c43e
Merge:debbec1d63dc6497Author: Michael Barz <mbarz@owncloud.com> Date: Thu Jul 1 17:12:18 2021 +0200 Merge pull request #2239 from owncloud/update_flaex fix default values in configuration documentation
This commit is contained in:
1 parent
4d73b2fd57
commit
a28a1d7ba3
15 files changed
+3724
-3125
No files matched your search
@@ -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.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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 |
|
||||
|
||||
@@ -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"`.
|
||||
|
||||
|
||||
|
||||
|
||||
+152
-152
@@ -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"`.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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"`.
|
||||
|
||||
+146
-146
@@ -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"`.
|
||||
|
||||
@@ -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"`.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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"`.
|
||||
|
||||
@@ -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"`.
|
||||
|
||||
+2481
-2164
File diff suppressed because it is too large.
Load diff
@@ -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"`.
|
||||
|
||||
@@ -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"`.
|
||||
|
||||
@@ -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 <WEB_OIDC_AUTHORITY>/.well-known/openid-configuration. Default: `flags.OverrideDefaultString(cfg.Web.Config.OpenIDConnect.MetadataURL, "")`.
|
||||
: OpenID Connect metadata URL, defaults to <WEB_OIDC_AUTHORITY>/.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")`.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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")`.
|
||||
|
||||
+67
-67
@@ -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
|
||||
|
||||
Reference in new issue
Block a user