Merge: 3bc413b2 43af041a
Author: Alex Unger <6905948+refs@users.noreply.github.com>
Date:   Tue Nov 23 13:18:39 2021 +0100

    Merge pull request #2708 from owncloud/try-gookikt-config
This commit is contained in:
Alex Unger committed 2021-11-23 12:21:44 +00:00
1 parent ad61ba0f46
commit a13ad92669
18 files changed
+179 -9349

No files matched your search

-997
View File
@@ -1,997 +0,0 @@
---
title: "Configuration"
date: "2021-11-23T10:23:31+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/accounts/templates
geekdocFilePath: CONFIGURATION.tmpl
---
{{< toc >}}
## Configuration
### Configuration using config files
Out of the box extensions will attempt to read configuration details from:
```console
/etc/ocis
$HOME/.ocis
./config
```
For this configuration to be picked up, have a look at your extension `root` command and look for which default config name it has assigned. *i.e: ocis-accounts reads `accounts.json | yaml | toml ...`*.
So far we support the file formats `JSON` and `YAML`, if you want to get a full example configuration just take a look at [our repository](https://github.com/owncloud/ocis/tree/master/accounts/config), there you can always see the latest configuration format. These example configurations include all available options and the default values. The configuration file will be automatically loaded if it's placed at `/etc/ocis/ocis.yml`, `${HOME}/.ocis/ocis.yml` or `$(pwd)/config/ocis.yml`.
### Environment variables
If you prefer to configure the service with environment variables you can see the available variables below.
If multiple variables are listed for one option, they are in order of precedence. This means the leftmost variable will always win if given.
### Command-line flags
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### accounts add
Create a new account
Usage: `accounts add [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.
-username |
: Username will be written to preferred-name and on_premises_sam_account_name.
-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.
### accounts rebuildIndex
Rebuilds the service's index, i.e. deleting and then re-adding all existing documents
Usage: `accounts rebuildIndex [command options] [arguments...]`
### 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 , $OCIS_TRACING_ENABLED
: Enable sending traces.
-tracing-type | $ACCOUNTS_TRACING_TYPE , $OCIS_TRACING_TYPE
: Tracing backend type. Default: `"jaeger"`.
-tracing-endpoint | $ACCOUNTS_TRACING_ENDPOINT , $OCIS_TRACING_ENDPOINT
: Endpoint for the agent. Default: `""`.
-tracing-collector | $ACCOUNTS_TRACING_COLLECTOR , $OCIS_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: `"127.0.0.1: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`.
-cors-allowed-origins | $ACCOUNTS_CORS_ALLOW_ORIGINS , $OCIS_CORS_ALLOW_ORIGINS
: Set the allowed CORS origins. Default: `cli.NewStringSlice("*")`.
-cors-allowed-methods | $ACCOUNTS_CORS_ALLOW_METHODS , $OCIS_CORS_ALLOW_METHODS
: Set the allowed CORS origins. Default: `cli.NewStringSlice("GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS")`.
-cors-allowed-headers | $ACCOUNTS_CORS_ALLOW_HEADERS , $OCIS_CORS_ALLOW_HEADERS
: Set the allowed CORS origins. Default: `cli.NewStringSlice("Authorization", "Origin", "Content-Type", "Accept", "X-Requested-With")`.
-cors-allow-credentials | $ACCOUNTS_CORS_ALLOW_CREDENTIALS , $OCIS_CORS_ALLOW_CREDENTIALS
: Allow credentials for CORS. Default: `true`.
-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: `"127.0.0.1:9180"`.
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
-accounts-hash-difficulty | $ACCOUNTS_HASH_DIFFICULTY
: accounts password hash difficulty. Default: `11`.
-demo-users-and-groups | $ACCOUNTS_DEMO_USERS_AND_GROUPS
: Enable demo users and groups. Default: `true`.
-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-backend | $ACCOUNTS_STORAGE_BACKEND
: Which backend to use to store accounts data (CS3 or disk). Default: `"CS3"`.
-storage-disk-path | $ACCOUNTS_STORAGE_DISK_PATH
: Path on the local disk to store accounts data when backend is set to disk. Default: `flags.OverrideDefaultString(cfg.Repo.Disk.Path, path.Join(defaults.BaseDataPath(), "accounts"))`.
-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 |
: 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: `"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.
### accounts inspect
Show detailed data on an existing account
Usage: `accounts inspect [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
### accounts list
List existing accounts
Usage: `accounts list [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 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 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.
### accounts version
Print the versions of the running instances
Usage: `accounts version [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
-289
View File
@@ -1,289 +0,0 @@
---
title: "Configuration"
date: "2021-11-23T10:24:25+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/glauth/templates
geekdocFilePath: CONFIGURATION.tmpl
---
{{< toc >}}
## Configuration
### Configuration using config files
Out of the box extensions will attempt to read configuration details from:
```console
/etc/ocis
$HOME/.ocis
./config
```
For this configuration to be picked up, have a look at your extension `root` command and look for which default config name it has assigned. *i.e: ocis-glauth reads `glauth.json | yaml | toml ...`*.
So far we support the file formats `JSON` and `YAML`, if you want to get a full example configuration just take a look at [our repository](https://github.com/owncloud/ocis/tree/master/glauth/config), there you can always see the latest configuration format. These example configurations include all available options and the default values. The configuration file will be automatically loaded if it's placed at `/etc/ocis/ocis.yml`, `${HOME}/.ocis/ocis.yml` or `$(pwd)/config/ocis.yml`.
### Environment variables
If you prefer to configure the service with environment variables you can see the available variables below.
If multiple variables are listed for one option, they are in order of precedence. This means the leftmost variable will always win if given.
### Command-line flags
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### glauth health
Check health status
Usage: `glauth health [command options] [arguments...]`
-debug-addr | $GLAUTH_DEBUG_ADDR
: Address to debug endpoint. Default: `"127.0.0.1:9129"`.
### glauth ocis-glauth
Serve GLAuth API for oCIS
Usage: `glauth ocis-glauth [command options] [arguments...]`
-log-level | $GLAUTH_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $GLAUTH_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $GLAUTH_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
### glauth server
Start integrated server
Usage: `glauth server [command options] [arguments...]`
-log-file | $GLAUTH_LOG_FILE , $OCIS_LOG_FILE
: Enable log to file.
-config-file | $GLAUTH_CONFIG_FILE
: Path to config file. Default: `""`.
-tracing-enabled | $GLAUTH_TRACING_ENABLED , $OCIS_TRACING_ENABLED
: Enable sending traces.
-tracing-type | $GLAUTH_TRACING_TYPE , $OCIS_TRACING_TYPE
: Tracing backend type. Default: `"jaeger"`.
-tracing-endpoint | $GLAUTH_TRACING_ENDPOINT , $OCIS_TRACING_ENDPOINT
: Endpoint for the agent. Default: `""`.
-tracing-collector | $GLAUTH_TRACING_COLLECTOR , $OCIS_TRACING_COLLECTOR
: Endpoint for the collector. Default: `""`.
-tracing-service | $GLAUTH_TRACING_SERVICE
: Service name for tracing. Default: `"glauth"`.
-debug-addr | $GLAUTH_DEBUG_ADDR
: Address to bind debug server. Default: `"127.0.0.1:9129"`.
-debug-token | $GLAUTH_DEBUG_TOKEN
: Token to grant metrics access. Default: `""`.
-debug-pprof | $GLAUTH_DEBUG_PPROF
: Enable pprof debugging.
-debug-zpages | $GLAUTH_DEBUG_ZPAGES
: Enable zpages debugging.
-role-bundle-id | $GLAUTH_ROLE_BUNDLE_ID
: roleid used to make internal grpc requests. Default: `"71881883-1768-46bd-a24d-a356a2afdf7f"`.
-ldap-addr | $GLAUTH_LDAP_ADDR
: Address to bind ldap server. Default: `"127.0.0.1:9125"`.
-ldap-enabled | $GLAUTH_LDAP_ENABLED
: Enable ldap server. Default: `true`.
-ldaps-addr | $GLAUTH_LDAPS_ADDR
: Address to bind ldaps server. Default: `"127.0.0.1:9126"`.
-ldaps-enabled | $GLAUTH_LDAPS_ENABLED
: Enable ldaps server. Default: `true`.
-ldaps-cert | $GLAUTH_LDAPS_CERT
: path to ldaps certificate in PEM format. Default: `flags.OverrideDefaultString(cfg.Ldaps.Cert, path.Join(defaults.BaseDataPath(), "ldap", "ldap.crt"))`.
-ldaps-key | $GLAUTH_LDAPS_KEY
: path to ldaps key in PEM format. Default: `flags.OverrideDefaultString(cfg.Ldaps.Key, path.Join(defaults.BaseDataPath(), "ldap", "ldap.key"))`.
-backend-basedn | $GLAUTH_BACKEND_BASEDN
: base distinguished name to expose. Default: `"dc=ocis,dc=test"`.
-backend-name-format | $GLAUTH_BACKEND_NAME_FORMAT
: 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: `"ou"`.
-backend-ssh-key-attr | $GLAUTH_BACKEND_SSH_KEY_ATTR
: 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: `"accounts"`.
-backend-insecure | $GLAUTH_BACKEND_INSECURE
: Allow insecure requests to the datastore. Default: `false`.
-backend-server | $GLAUTH_BACKEND_SERVERS
: `--backend-server https://demo.owncloud.com/apps/graphapi/v1.0 [--backend-server "https://demo2.owncloud.com/apps/graphapi/v1.0"]`. Default: `cli.NewStringSlice()`.
-backend-use-graphapi | $GLAUTH_BACKEND_USE_GRAPHAPI
: use Graph API, only for owncloud datastore. Default: `true`.
-fallback-basedn | $GLAUTH_FALLBACK_BASEDN
: base distinguished name to expose. Default: `"dc=ocis,dc=test"`.
-fallback-name-format | $GLAUTH_FALLBACK_NAME_FORMAT
: 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: `"ou"`.
-fallback-ssh-key-attr | $GLAUTH_FALLBACK_SSH_KEY_ATTR
: 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: `""`.
-fallback-insecure | $GLAUTH_FALLBACK_INSECURE
: 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: `true`.
-extensions |
: Run specific extensions during supervised mode. This flag is set by the runtime.
-189
View File
@@ -1,189 +0,0 @@
---
title: "Configuration"
date: "2021-11-23T10:24:25+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph-explorer/templates
geekdocFilePath: CONFIGURATION.tmpl
---
{{< toc >}}
## Configuration
### Configuration using config files
Out of the box extensions will attempt to read configuration details from:
```console
/etc/ocis
$HOME/.ocis
./config
```
For this configuration to be picked up, have a look at your extension `root` command and look for which default config name it has assigned. *i.e: ocis-proxy reads `proxy.json | yaml | toml ...`*.
So far we support the file formats `JSON` and `YAML`, if you want to get a full example configuration just take a look at [our repository](https://github.com/owncloud/ocis/tree/master/graph-explorer/config), there you can always see the latest configuration format. These example configurations include all available options and the default values. The configuration file will be automatically loaded if it's placed at `/etc/ocis/ocis.yml`, `${HOME}/.ocis/ocis.yml` or `$(pwd)/config/ocis.yml`.
### Environment variables
If you prefer to configure the service with environment variables you can see the available variables below.
If multiple variables are listed for one option, they are in order of precedence. This means the leftmost variable will always win if given.
### Command-line flags
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
## Root Command
Serve Graph-Explorer for oCIS
Usage: `graph-explorer [global options] command [command options] [arguments...]`
-log-level | $GRAPH_EXPLORER_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $GRAPH_EXPLORER_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $GRAPH_EXPLORER_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
## Sub Commands
### graph-explorer health
Check health status
Usage: `graph-explorer health [command options] [arguments...]`
-debug-addr | $GRAPH_EXPLORER_DEBUG_ADDR
: Address to debug endpoint. Default: `"127.0.0.1:9136"`.
### graph-explorer server
Start integrated server
Usage: `graph-explorer server [command options] [arguments...]`
-log-file | $GRAPH_EXPLORER_LOG_FILE , $OCIS_LOG_FILE
: Enable log to file.
-tracing-enabled | $GRAPH_EXPLORER_TRACING_ENABLED , $OCIS_TRACING_ENABLED
: Enable sending traces.
-tracing-type | $GRAPH_EXPLORER_TRACING_TYPE , $OCIS_TRACING_TYPE
: Tracing backend type. Default: `"jaeger"`.
-tracing-endpoint | $GRAPH_EXPLORER_TRACING_ENDPOINT , $OCIS_TRACING_ENDPOINT
: Endpoint for the agent. Default: `""`.
-tracing-collector | $GRAPH_EXPLORER_TRACING_COLLECTOR , $OCIS_TRACING_COLLECTOR
: Endpoint for the collector. Default: `""`.
-tracing-service | $GRAPH_EXPLORER_TRACING_SERVICE
: Service name for tracing. Default: `"graph-explorer"`.
-debug-addr | $GRAPH_EXPLORER_DEBUG_ADDR
: Address to bind debug server. Default: `"127.0.0.1:9136"`.
-debug-token | $GRAPH_EXPLORER_DEBUG_TOKEN
: Token to grant metrics access. Default: `""`.
-debug-pprof | $GRAPH_EXPLORER_DEBUG_PPROF
: Enable pprof debugging.
-debug-zpages | $GRAPH_EXPLORER_DEBUG_ZPAGES
: Enable zpages debugging.
-http-addr | $GRAPH_EXPLORER_HTTP_ADDR
: Address to bind http server. Default: `"127.0.0.1:9135"`.
-http-root | $GRAPH_EXPLORER_HTTP_ROOT
: Root path of http server. Default: `"/graph-explorer"`.
-http-namespace | $GRAPH_EXPLORER_NAMESPACE
: Set the base namespace for the http namespace. Default: `"com.owncloud.web"`.
-issuer | $GRAPH_EXPLORER_ISSUER , $OCIS_URL
: 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: `"ocis-explorer.js"`.
-graph-url-base | $GRAPH_EXPLORER_GRAPH_URL_BASE , $OCIS_URL
: Set the base url to the graph api service. Default: `"https://localhost:9200"`.
-graph-url-path | $GRAPH_EXPLORER_GRAPH_URL_PATH
: Set the url path to the graph api service. Default: `"/graph"`.
-extensions |
: Run specific extensions during supervised mode. This flag is set by the runtime.
-199
View File
@@ -1,199 +0,0 @@
---
title: "Configuration"
date: "2021-11-23T10:24:25+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph/templates
geekdocFilePath: CONFIGURATION.tmpl
---
{{< toc >}}
## Configuration
### Configuration using config files
Out of the box extensions will attempt to read configuration details from:
```console
/etc/ocis
$HOME/.ocis
./config
```
For this configuration to be picked up, have a look at your extension `root` command and look for which default config name it has assigned. *i.e: ocis-proxy reads `proxy.json | yaml | toml ...`*.
So far we support the file formats `JSON` and `YAML`, if you want to get a full example configuration just take a look at [our repository](https://github.com/owncloud/ocis/tree/master/graph/config), there you can always see the latest configuration format. These example configurations include all available options and the default values. The configuration file will be automatically loaded if it's placed at `/etc/ocis/ocis.yml`, `${HOME}/.ocis/ocis.yml` or `$(pwd)/config/ocis.yml`.
### Environment variables
If you prefer to configure the service with environment variables you can see the available variables below.
If multiple variables are listed for one option, they are in order of precedence. This means the leftmost variable will always win if given.
### Command-line flags
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### graph health
Check health status
Usage: `graph health [command options] [arguments...]`
-debug-addr | $GRAPH_DEBUG_ADDR
: Address to debug endpoint. Default: `"127.0.0.1:9124"`.
### graph ocis-graph
Serve Graph API for oCIS
Usage: `graph ocis-graph [command options] [arguments...]`
-config-file | $GRAPH_CONFIG_FILE
: Path to config file. Default: `""`.
-log-level | $GRAPH_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $GRAPH_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $GRAPH_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
### 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 , $OCIS_TRACING_ENABLED
: Enable sending traces.
-tracing-type | $GRAPH_TRACING_TYPE , $OCIS_TRACING_TYPE
: Tracing backend type. Default: `"jaeger"`.
-tracing-endpoint | $GRAPH_TRACING_ENDPOINT , $OCIS_TRACING_ENDPOINT
: Endpoint for the agent. Default: `""`.
-tracing-collector | $GRAPH_TRACING_COLLECTOR , $OCIS_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: `"127.0.0.1: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: `"127.0.0.1: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"`.
-spaces-webdav-base | $GRAPH_SPACES_WEBDAV_BASE , $OCIS_URL
: spaces webdav base URL to use when rendering drive WabDAV URLs. Default: `"https://localhost:9200"`.
-spaces-webdav-path | $GRAPH_SPACES_WEBDAV_PATH
: spaces webdav path to use when rendering drive WabDAV URLs. Default: `"/dav/spaces/"`.
-default-space-quota | $GRAPH_SPACES_DEFAULT_QUOTA
: default quota used for all spaces if no custom quota was given. Default: `"1000000000"`.
-jwt-secret | $GRAPH_JWT_SECRET , $OCIS_JWT_SECRET
: Used to validate the reva access JWT, should equal reva's jwt-secret. Default: `"Pive-Fumkiu4"`.
-reva-gateway-addr | $REVA_GATEWAY
: Address of REVA gateway endpoint. Default: `"127.0.0.1:9142"`.
-extensions |
: Run specific extensions during supervised mode. This flag is set by the runtime.
-488
View File
@@ -1,488 +0,0 @@
---
title: "Configuration"
date: "2021-11-23T10:24:25+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/idp/templates
geekdocFilePath: CONFIGURATION.tmpl
---
{{< toc >}}
## Configuration
### Configuration using config files
Out of the box extensions will attempt to read configuration details from:
```console
/etc/ocis
$HOME/.ocis
./config
```
For this configuration to be picked up, have a look at your extension `root` command and look for which default config name it has assigned. *i.e: ocis-idp reads `idp.json | yaml | toml ...`*.
So far we support the file formats `JSON` and `YAML`, if you want to get a full example configuration just take a look at [our repository](https://github.com/owncloud/ocis/tree/master/idp/config), there you can always see the latest configuration format. These example configurations include all available options and the default values. The configuration file will be automatically loaded if it's placed at `/etc/ocis/ocis.yml`, `${HOME}/.ocis/ocis.yml` or `$(pwd)/config/ocis.yml`.
### Environment variables
If you prefer to configure the service with environment variables you can see the available variables below.
If multiple variables are listed for one option, they are in order of precedence. This means the leftmost variable will always win if given.
### Command-line flags
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### idp health
Check health status
Usage: `idp health [command options] [arguments...]`
-debug-addr | $IDP_DEBUG_ADDR
: Address to debug endpoint. Default: `"127.0.0.1:9134"`.
### idp ocis-idp
Serve IDP API for oCIS
Usage: `idp ocis-idp [command options] [arguments...]`
-log-level | $IDP_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $IDP_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $IDP_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
### idp server
Start integrated server
Usage: `idp server [command options] [arguments...]`
-log-file | $IDP_LOG_FILE , $OCIS_LOG_FILE
: Enable log to file.
-config-file | $IDP_CONFIG_FILE
: Path to config file. Default: `""`.
-tracing-enabled | $IDP_TRACING_ENABLED , $OCIS_TRACING_ENABLED
: Enable sending traces.
-tracing-type | $IDP_TRACING_TYPE , $OCIS_TRACING_TYPE
: Tracing backend type. Default: `"jaeger"`.
-tracing-endpoint | $IDP_TRACING_ENDPOINT , $OCIS_TRACING_ENDPOINT
: Endpoint for the agent. Default: `""`.
-tracing-collector | $IDP_TRACING_COLLECTOR , $OCIS_TRACING_COLLECTOR
: Endpoint for the collector. Default: `""`.
-tracing-service | $IDP_TRACING_SERVICE
: Service name for tracing. Default: `"idp"`.
-debug-addr | $IDP_DEBUG_ADDR
: Address to bind debug server. Default: `"127.0.0.1:9134"`.
-debug-token | $IDP_DEBUG_TOKEN
: Token to grant metrics access. Default: `""`.
-debug-pprof | $IDP_DEBUG_PPROF
: Enable pprof debugging.
-debug-zpages | $IDP_DEBUG_ZPAGES
: Enable zpages debugging.
-http-addr | $IDP_HTTP_ADDR
: Address to bind http server. Default: `"127.0.0.1:9130"`.
-http-root | $IDP_HTTP_ROOT
: Root path of http server. Default: `"/"`.
-http-namespace | $IDP_HTTP_NAMESPACE
: Set the base namespace for service discovery. Default: `"com.owncloud.web"`.
-name | $IDP_NAME
: Service name. Default: `"idp"`.
-identity-manager | $IDP_IDENTITY_MANAGER
: Identity manager (one of ldap,kc,cookie,dummy). Default: `"ldap"`.
-ldap-uri | $IDP_LDAP_URI
: 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: `"cn=idp,ou=sysusers,dc=ocis,dc=test"`.
-ldap-bind-password | $IDP_LDAP_BIND_PASSWORD
: 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: `"ou=users,dc=ocis,dc=test"`.
-ldap-scope | $IDP_LDAP_SCOPE
: LDAP scope of the oCIS users. Default: `"sub"`.
-ldap-login-attribute | $IDP_LDAP_LOGIN_ATTRIBUTE
: LDAP login attribute of the oCIS users. Default: `"cn"`.
-ldap-email-attribute | $IDP_LDAP_EMAIL_ATTRIBUTE
: LDAP email attribute of the oCIS users. Default: `"mail"`.
-ldap-name-attribute | $IDP_LDAP_NAME_ATTRIBUTE
: LDAP name attribute of the oCIS users. Default: `"sn"`.
-ldap-uuid-attribute | $IDP_LDAP_UUID_ATTRIBUTE
: 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: `"text"`.
-ldap-filter | $IDP_LDAP_FILTER
: LDAP filter of the oCIS users. Default: `"(objectClass=posixaccount)"`.
-transport-tls-cert | $IDP_TRANSPORT_TLS_CERT
: Certificate file for transport encryption. Default: `flags.OverrideDefaultString(cfg.HTTP.TLSCert, path.Join(defaults.BaseDataPath(), "idp", "server.crt"))`.
-transport-tls-key | $IDP_TRANSPORT_TLS_KEY
: Secret file for transport encryption. Default: `flags.OverrideDefaultString(cfg.HTTP.TLSKey, path.Join(defaults.BaseDataPath(), "idp", "server.key"))`.
-iss | $IDP_ISS , $OCIS_URL
: 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: `""`.
-validation-keys-path | $IDP_VALIDATION_KEYS_PATH
: Full path to a folder containing PEM encoded private or public key files used for token validation (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: `""`.
-signing-method | $IDP_SIGNING_METHOD
: JWT default signing method. Default: `"PS256"`.
-uri-base-path | $IDP_URI_BASE_PATH
: Custom base path for URI endpoints. Default: `""`.
-sign-in-uri | $IDP_SIGN_IN_URI
: Custom redirection URI to sign-in form. Default: `""`.
-signed-out-uri | $IDP_SIGN_OUT_URI
: Custom redirection URI to signed-out goodbye page. Default: `""`.
-authorization-endpoint-uri | $IDP_ENDPOINT_URI
: Custom authorization endpoint URI. Default: `""`.
-endsession-endpoint-uri | $IDP_ENDSESSION_ENDPOINT_URI
: Custom endsession endpoint URI. Default: `""`.
-asset-path | $IDP_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, path.Join(defaults.BaseDataPath(), "idp"))`.
-identifier-registration-conf | $IDP_IDENTIFIER_REGISTRATION_CONF
: Path to a identifier-registration.yaml configuration file. Default: `flags.OverrideDefaultString(cfg.IDP.IdentifierRegistrationConf, path.Join(defaults.BaseDataPath(), "idp", "identifier-registration.yaml"))`.
-identifier-scopes-conf | $IDP_IDENTIFIER_SCOPES_CONF
: Path to a scopes.yaml configuration file. Default: `""`.
-insecure | $IDP_INSECURE
: Disable TLS certificate and hostname validation. Default: `false`.
-tls | $IDP_TLS
: 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
: Allow sign in of client controlled guest users.
-allow-dynamic-client-registration | $IDP_ALLOW_DYNAMIC_CLIENT_REGISTRATION
: 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: `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 |
: Run specific extensions during supervised mode. This flag is set by the runtime.
### idp version
Print the versions of the running instances
Usage: `idp version [command options] [arguments...]`
-http-namespace | $IDP_HTTP_NAMESPACE
: Set the base namespace for service discovery. Default: `"com.owncloud.web"`.
-name | $IDP_NAME
: Service name. Default: `"idp"`.
-285
View File
@@ -1,285 +0,0 @@
---
title: "Configuration"
date: "2021-11-23T10:24:25+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocs/templates
geekdocFilePath: CONFIGURATION.tmpl
---
{{< toc >}}
## Configuration
### Configuration using config files
Out of the box extensions will attempt to read configuration details from:
```console
/etc/ocis
$HOME/.ocis
./config
```
For this configuration to be picked up, have a look at your extension `root` command and look for which default config name it has assigned. *i.e: ocis-ocs reads `ocs.json | yaml | toml ...`*.
So far we support the file formats `JSON` and `YAML`, if you want to get a full example configuration just take a look at [our repository](https://github.com/owncloud/ocis/tree/master/ocs/config), there you can always see the latest configuration format. These example configurations include all available options and the default values. The configuration file will be automatically loaded if it's placed at `/etc/ocis/ocis.yml`, `${HOME}/.ocis/ocis.yml` or `$(pwd)/config/ocis.yml`.
### Environment variables
If you prefer to configure the service with environment variables you can see the available variables below.
If multiple variables are listed for one option, they are in order of precedence. This means the leftmost variable will always win if given.
### Command-line flags
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### ocs ocis-ocs
Serve OCS API for oCIS
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 , $OCIS_TRACING_ENABLED
: Enable sending traces. Default: `false`.
-tracing-type | $OCS_TRACING_TYPE , $OCIS_TRACING_TYPE
: Tracing backend type. Default: `"jaeger"`.
-tracing-endpoint | $OCS_TRACING_ENDPOINT , $OCIS_TRACING_ENDPOINT
: Endpoint for the agent. Default: `""`.
-tracing-collector | $OCS_TRACING_COLLECTOR , $OCIS_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: `"127.0.0.1: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: `"127.0.0.1:9110"`.
-http-namespace | $OCS_NAMESPACE
: Set the base namespace for the http namespace. Default: `"com.owncloud.web"`.
-cors-allowed-origins | $OCS_CORS_ALLOW_ORIGINS , $OCIS_CORS_ALLOW_ORIGINS
: Set the allowed CORS origins. Default: `cli.NewStringSlice("*")`.
-cors-allowed-methods | $OCS_CORS_ALLOW_METHODS , $OCIS_CORS_ALLOW_METHODS
: Set the allowed CORS origins. Default: `cli.NewStringSlice("GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS")`.
-cors-allowed-headers | $OCS_CORS_ALLOW_HEADERS , $OCIS_CORS_ALLOW_HEADERS
: Set the allowed CORS origins. Default: `cli.NewStringSlice("Authorization", "Origin", "Content-Type", "Accept", "X-Requested-With")`.
-cors-allow-credentials | $OCS_CORS_ALLOW_CREDENTIALS , $OCIS_CORS_ALLOW_CREDENTIALS
: Allow credentials for CORS. Default: `true`.
-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 | $REVA_GATEWAY
: Address of REVA gateway endpoint. Default: `"127.0.0.1:9142"`.
-machine-auth-api-key | $OCS_MACHINE_AUTH_API_KEY , $OCIS_MACHINE_AUTH_API_KEY
: the API key to be used for the machine auth driver in reva. Default: `"change-me-please"`.
-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"`.
### ocs health
Check health status
Usage: `ocs health [command options] [arguments...]`
-debug-addr | $OCS_DEBUG_ADDR
: Address to debug endpoint. Default: `"127.0.0.1:9114"`.
-360
View File
@@ -1,360 +0,0 @@
---
title: "Configuration"
date: "2021-11-23T10:24:25+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/proxy/templates
geekdocFilePath: CONFIGURATION.tmpl
---
{{< toc >}}
## Configuration
### Configuration using config files
Out of the box extensions will attempt to read configuration details from:
```console
/etc/ocis
$HOME/.ocis
./config
```
For this configuration to be picked up, have a look at your extension `root` command and look for which default config name it has assigned. *i.e: ocis-proxy reads `proxy.json | yaml | toml ...`*.
So far we support the file formats `JSON` and `YAML`, if you want to get a full example configuration just take a look at [our repository](https://github.com/owncloud/ocis/tree/master/proxy/config), there you can always see the latest configuration format. These example configurations include all available options and the default values. The configuration file will be automatically loaded if it's placed at `/etc/ocis/ocis.yml`, `${HOME}/.ocis/ocis.yml` or `$(pwd)/config/ocis.yml`.
### Environment variables
If you prefer to configure the service with environment variables you can see the available variables below.
If multiple variables are listed for one option, they are in order of precedence. This means the leftmost variable will always win if given.
### Command-line flags
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### proxy ocis-proxy
proxy for oCIS
Usage: `proxy ocis-proxy [command options] [arguments...]`
-log-level | $PROXY_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $PROXY_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $PROXY_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
-extensions |
: Run specific extensions during supervised mode.
### proxy server
Start integrated server
Usage: `proxy server [command options] [arguments...]`
-log-level | $PROXY_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $PROXY_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $PROXY_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
-extensions |
: Run specific extensions during supervised mode.
-log-file | $PROXY_LOG_FILE , $OCIS_LOG_FILE
: Enable log to file.
-config-file | $PROXY_CONFIG_FILE
: Path to config file.
-tracing-enabled | $PROXY_TRACING_ENABLED , $OCIS_TRACING_ENABLED
: Enable sending traces.
-tracing-type | $PROXY_TRACING_TYPE , $OCIS_TRACING_TYPE
: Tracing backend type. Default: `"jaeger"`.
-tracing-endpoint | $PROXY_TRACING_ENDPOINT , $OCIS_TRACING_ENDPOINT
: Endpoint for the agent.
-tracing-collector | $PROXY_TRACING_COLLECTOR , $OCIS_TRACING_COLLECTOR
: Endpoint for the collector.
-tracing-service | $PROXY_TRACING_SERVICE
: Service name for tracing. Default: `"proxy"`.
-debug-addr | $PROXY_DEBUG_ADDR
: Address to bind debug server. Default: `"127.0.0.1:9205"`.
-debug-token | $PROXY_DEBUG_TOKEN
: Token to grant metrics access.
-debug-pprof | $PROXY_DEBUG_PPROF
: Enable pprof debugging.
-debug-zpages | $PROXY_DEBUG_ZPAGES
: Enable zpages debugging.
-http-addr | $PROXY_HTTP_ADDR
: Address to bind http server. Default: `"0.0.0.0:9200"`.
-http-root | $PROXY_HTTP_ROOT
: Root path of http server. Default: `"/"`.
-service-namespace | $PROXY_SERVICE_NAMESPACE
: Set the base namespace for the service namespace. Default: `"com.owncloud.web"`.
-service-name | $PROXY_SERVICE_NAME
: Service name. Default: `"proxy"`.
-transport-tls-cert | $PROXY_TRANSPORT_TLS_CERT
: Certificate file for transport encryption. Default: `flags.OverrideDefaultString(cfg.HTTP.TLSCert, path.Join(defaults.BaseDataPath(), "proxy", "server.crt"))`.
-transport-tls-key | $PROXY_TRANSPORT_TLS_KEY
: Secret file for transport encryption. Default: `flags.OverrideDefaultString(cfg.HTTP.TLSKey, path.Join(defaults.BaseDataPath(), "proxy", "server.key"))`.
-tls | $PROXY_TLS
: 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: `"Pive-Fumkiu4"`.
-reva-gateway-addr | $REVA_GATEWAY
: Address of REVA gateway endpoint. Default: `"127.0.0.1:9142"`.
-insecure | $PROXY_INSECURE_BACKENDS
: allow insecure communication to upstream servers. Default: `false`.
-oidc-issuer | $PROXY_OIDC_ISSUER , $OCIS_URL
: OIDC issuer. Default: `"https://localhost:9200"`.
-oidc-insecure | $PROXY_OIDC_INSECURE , $OCIS_INSECURE
: OIDC allow insecure communication. Default: `false`.
-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: `false`.
-user-oidc-claim | $PROXY_USER_OIDC_CLAIM
: The OIDC claim that is used to identify users, eg. 'ownclouduuid', 'uid', 'cn' or 'email'. Default: `"email"`.
-user-cs3-claim | $PROXY_USER_CS3_CLAIM
: The CS3 claim to use when looking up a user in the CS3 users API, eg. 'userid', 'username' or 'mail'. Default: `"mail"`.
-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: `true`.
-enable-basic-auth | $PROXY_ENABLE_BASIC_AUTH
: enable basic authentication. Default: `false`.
-account-backend-type | $PROXY_ACCOUNT_BACKEND_TYPE
: account-backend-type. Default: `"accounts"`.
-machine-auth-api-key | $PROXY_MACHINE_AUTH_API_KEY , $OCIS_MACHINE_AUTH_API_KEY
: the API key to be used for the machine auth driver in reva. Default: `"change-me-please"`.
-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..
### proxy version
Print the versions of the running instances
Usage: `proxy version [command options] [arguments...]`
-service-namespace | $PROXY_SERVICE_NAMESPACE
: Set the base namespace for the service namespace. Default: `"com.owncloud.web"`.
-service-name | $PROXY_SERVICE_NAME
: Service name. Default: `"proxy"`.
### proxy health
Check health status
Usage: `proxy health [command options] [arguments...]`
-debug-addr | $PROXY_DEBUG_ADDR
: Address to debug endpoint. Default: `"127.0.0.1:9109"`.
-278
View File
@@ -1,278 +0,0 @@
---
title: "Configuration"
date: "2021-11-23T10:24:25+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/settings/templates
geekdocFilePath: CONFIGURATION.tmpl
---
{{< toc >}}
## Configuration
### Configuration using config files
Out of the box extensions will attempt to read configuration details from:
```console
/etc/ocis
$HOME/.ocis
./config
```
For this configuration to be picked up, have a look at your extension `root` command and look for which default config name it has assigned. *i.e: ocis-proxy reads `proxy.json | yaml | toml ...`*.
So far we support the file formats `JSON` and `YAML`, if you want to get a full example configuration just take a look at [our repository](https://github.com/owncloud/ocis/tree/master/settings/config), there you can always see the latest configuration format. These example configurations include all available options and the default values. The configuration file will be automatically loaded if it's placed at `/etc/ocis/ocis.yml`, `${HOME}/.ocis/ocis.yml` or `$(pwd)/config/ocis.yml`.
### Environment variables
If you prefer to configure the service with environment variables you can see the available variables below.
If multiple variables are listed for one option, they are in order of precedence. This means the leftmost variable will always win if given.
### Command-line flags
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### settings health
Check health status
Usage: `settings health [command options] [arguments...]`
-debug-addr | $SETTINGS_DEBUG_ADDR
: Address to debug endpoint. Default: `"127.0.0.1:9194"`.
### settings ocis-settings
Provide settings and permissions for oCIS
Usage: `settings ocis-settings [command options] [arguments...]`
-log-level | $SETTINGS_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $SETTINGS_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $SETTINGS_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
### settings server
Start integrated server
Usage: `settings server [command options] [arguments...]`
-config-file | $SETTINGS_CONFIG_FILE
: Path to config file.
-tracing-enabled | $SETTINGS_TRACING_ENABLED , $OCIS_TRACING_ENABLED
: Enable sending traces.
-tracing-type | $SETTINGS_TRACING_TYPE , $OCIS_TRACING_TYPE
: Tracing backend type. Default: `"jaeger"`.
-tracing-endpoint | $SETTINGS_TRACING_ENDPOINT , $OCIS_TRACING_ENDPOINT
: Endpoint for the agent. Default: `""`.
-tracing-collector | $SETTINGS_TRACING_COLLECTOR , $OCIS_TRACING_COLLECTOR
: Endpoint for the collector. Default: `""`.
-tracing-service | $SETTINGS_TRACING_SERVICE
: Service name for tracing. Default: `"settings"`.
-debug-addr | $SETTINGS_DEBUG_ADDR
: Address to bind debug server. Default: `"127.0.0.1:9194"`.
-debug-token | $SETTINGS_DEBUG_TOKEN
: Token to grant metrics access. Default: `""`.
-debug-pprof | $SETTINGS_DEBUG_PPROF
: Enable pprof debugging.
-debug-zpages | $SETTINGS_DEBUG_ZPAGES
: Enable zpages debugging.
-http-addr | $SETTINGS_HTTP_ADDR
: Address to bind http server. Default: `"127.0.0.1:9190"`.
-http-namespace | $SETTINGS_HTTP_NAMESPACE
: Set the base namespace for the http namespace. Default: `"com.owncloud.web"`.
-http-root | $SETTINGS_HTTP_ROOT
: Root path of http server. Default: `"/"`.
-http-cache-ttl | $SETTINGS_CACHE_TTL
: Set the static assets caching duration in seconds. Default: `604800`.
-cors-allowed-origins | $SETTINGS_CORS_ALLOW_ORIGINS , $OCIS_CORS_ALLOW_ORIGINS
: Set the allowed CORS origins. Default: `cli.NewStringSlice("*")`.
-cors-allowed-methods | $SETTINGS_CORS_ALLOW_METHODS , $OCIS_CORS_ALLOW_METHODS
: Set the allowed CORS origins. Default: `cli.NewStringSlice("GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS")`.
-cors-allowed-headers | $SETTINGS_CORS_ALLOW_HEADERS , $OCIS_CORS_ALLOW_HEADERS
: Set the allowed CORS origins. Default: `cli.NewStringSlice("Authorization", "Origin", "Content-Type", "Accept", "X-Requested-With")`.
-cors-allow-credentials | $SETTINGS_CORS_ALLOW_CREDENTIALS , $OCIS_CORS_ALLOW_CREDENTIALS
: Allow credentials for CORS. Default: `true`.
-grpc-addr | $SETTINGS_GRPC_ADDR
: Address to bind grpc server. Default: `"127.0.0.1:9191"`.
-asset-path | $SETTINGS_ASSET_PATH
: Path to custom assets. Default: `""`.
-grpc-namespace | $SETTINGS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-name | $SETTINGS_NAME
: service name. Default: `"settings"`.
-data-path | $SETTINGS_DATA_PATH
: Mount path for the storage. Default: `flags.OverrideDefaultString(cfg.Service.DataPath, path.Join(defaults.BaseDataPath(), "settings"))`.
-jwt-secret | $SETTINGS_JWT_SECRET , $OCIS_JWT_SECRET
: Used to create JWT to talk to reva, should equal reva's jwt-secret. Default: `"Pive-Fumkiu4"`.
-extensions |
: Run specific extensions during supervised mode. This flag is set by the runtime.
### settings version
Print the versions of the running instances
Usage: `settings version [command options] [arguments...]`
-grpc-namespace | $SETTINGS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-name | $SETTINGS_NAME
: service name. Default: `"settings"`.
File diff suppressed because it is too large. Load diff
-215
View File
@@ -1,215 +0,0 @@
---
title: "Configuration"
date: "2021-11-23T10:24:29+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/store/templates
geekdocFilePath: CONFIGURATION.tmpl
---
{{< toc >}}
## Configuration
### Configuration using config files
Out of the box extensions will attempt to read configuration details from:
```console
/etc/ocis
$HOME/.ocis
./config
```
For this configuration to be picked up, have a look at your extension `root` command and look for which default config name it has assigned. *i.e: ocis-proxy reads `proxy.json | yaml | toml ...`*.
So far we support the file formats `JSON` and `YAML`, if you want to get a full example configuration just take a look at [our repository](https://github.com/owncloud/ocis/tree/master/store/config), there you can always see the latest configuration format. These example configurations include all available options and the default values. The configuration file will be automatically loaded if it's placed at `/etc/ocis/ocis.yml`, `${HOME}/.ocis/ocis.yml` or `$(pwd)/config/ocis.yml`.
### Environment variables
If you prefer to configure the service with environment variables you can see the available variables below.
If multiple variables are listed for one option, they are in order of precedence. This means the leftmost variable will always win if given.
### Command-line flags
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### store health
Check health status
Usage: `store health [command options] [arguments...]`
-debug-addr | $STORE_DEBUG_ADDR
: Address to debug endpoint. Default: `"127.0.0.1:9464"`.
### store ocis-store
Service to store values for ocis extensions
Usage: `store ocis-store [command options] [arguments...]`
-config-file | $STORE_CONFIG_FILE
: Path to config file.
-log-level | $STORE_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $STORE_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $STORE_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
### store server
Start integrated server
Usage: `store server [command options] [arguments...]`
-log-file | $STORE_LOG_FILE , $OCIS_LOG_FILE
: Enable log to file.
-tracing-enabled | $STORE_TRACING_ENABLED , $OCIS_TRACING_ENABLED
: Enable sending traces.
-tracing-type | $STORE_TRACING_TYPE , $OCIS_TRACING_TYPE
: Tracing backend type. Default: `"jaeger"`.
-tracing-endpoint | $STORE_TRACING_ENDPOINT , $OCIS_TRACING_ENDPOINT
: Endpoint for the agent. Default: `""`.
-tracing-collector | $STORE_TRACING_COLLECTOR , $OCIS_TRACING_COLLECTOR
: Endpoint for the collector. Default: `""`.
-tracing-service | $STORE_TRACING_SERVICE
: Service name for tracing. Default: `"store"`.
-debug-addr | $STORE_DEBUG_ADDR
: Address to bind debug server. Default: `"127.0.0.1:9464"`.
-debug-token | $STORE_DEBUG_TOKEN
: Token to grant metrics access. Default: `""`.
-debug-pprof | $STORE_DEBUG_PPROF
: Enable pprof debugging.
-debug-zpages | $STORE_DEBUG_ZPAGES
: Enable zpages debugging.
-grpc-namespace | $STORE_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-grpc-addr | $STORE_GRPC_ADDR
: Address to bind grpc server. Default: `"127.0.0.1:9460"`.
-name | $STORE_NAME
: Service name. Default: `"store"`.
-data-path | $STORE_DATA_PATH
: location of the store data path. Default: `flags.OverrideDefaultString(cfg.Datapath, path.Join(defaults.BaseDataPath(), "store"))`.
-extensions |
: Run specific extensions during supervised mode. This flag is set by the runtime.
### store version
Print the versions of the running instances
Usage: `store version [command options] [arguments...]`
-grpc-namespace | $STORE_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-name | $STORE_NAME
: Service name. Default: `"store"`.
-250
View File
@@ -1,250 +0,0 @@
---
title: "Configuration"
date: "2021-11-23T10:24:33+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/thumbnails/templates
geekdocFilePath: CONFIGURATION.tmpl
---
{{< toc >}}
## Configuration
### Configuration using config files
Out of the box extensions will attempt to read configuration details from:
```console
/etc/ocis
$HOME/.ocis
./config
```
For this configuration to be picked up, have a look at your extension `root` command and look for which default config name it has assigned. *i.e: ocis-proxy reads `proxy.json | yaml | toml ...`*.
So far we support the file formats `JSON` and `YAML`, if you want to get a full example configuration just take a look at [our repository](https://github.com/owncloud/ocis/tree/master/thumbnails/config), there you can always see the latest configuration format. These example configurations include all available options and the default values. The configuration file will be automatically loaded if it's placed at `/etc/ocis/ocis.yml`, `${HOME}/.ocis/ocis.yml` or `$(pwd)/config/ocis.yml`.
### Environment variables
If you prefer to configure the service with environment variables you can see the available variables below.
If multiple variables are listed for one option, they are in order of precedence. This means the leftmost variable will always win if given.
### Command-line flags
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### thumbnails server
Start integrated server
Usage: `thumbnails server [command options] [arguments...]`
-log-file | $THUMBNAILS_LOG_FILE , $OCIS_LOG_FILE
: Enable log to file.
-log-level | $THUMBNAILS_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $THUMBNAILS_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $THUMBNAILS_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
-config-file | $THUMBNAILS_CONFIG_FILE
: Path to config file.
-tracing-enabled | $THUMBNAILS_TRACING_ENABLED , $OCIS_TRACING_ENABLED
: Enable sending traces.
-tracing-type | $THUMBNAILS_TRACING_TYPE , $OCIS_TRACING_TYPE
: Tracing backend type. Default: `"jaeger"`.
-tracing-endpoint | $THUMBNAILS_TRACING_ENDPOINT , $OCIS_TRACING_ENDPOINT
: Endpoint for the agent. Default: `""`.
-tracing-collector | $THUMBNAILS_TRACING_COLLECTOR , $OCIS_TRACING_COLLECTOR
: Endpoint for the collector. Default: `""`.
-tracing-service | $THUMBNAILS_TRACING_SERVICE
: Service name for tracing. Default: `"thumbnails"`.
-debug-addr | $THUMBNAILS_DEBUG_ADDR
: Address to bind debug server. Default: `"127.0.0.1:9189"`.
-debug-token | $THUMBNAILS_DEBUG_TOKEN
: Token to grant metrics access. Default: `""`.
-debug-pprof | $THUMBNAILS_DEBUG_PPROF
: Enable pprof debugging.
-debug-zpages | $THUMBNAILS_DEBUG_ZPAGES
: Enable zpages debugging.
-grpc-name | $THUMBNAILS_GRPC_NAME
: Name of the service. Default: `"thumbnails"`.
-grpc-addr | $THUMBNAILS_GRPC_ADDR
: Address to bind grpc server. Default: `"127.0.0.1:9185"`.
-grpc-namespace | $THUMBNAILS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-filesystemstorage-root | $THUMBNAILS_FILESYSTEMSTORAGE_ROOT
: Root path of the filesystem storage directory. Default: `flags.OverrideDefaultString(cfg.Thumbnail.FileSystemStorage.RootDirectory, path.Join(defaults.BaseDataPath(), "thumbnails"))`.
-reva-gateway-addr | $REVA_GATEWAY
: Address of REVA gateway endpoint. Default: `"127.0.0.1:9142"`.
-webdavsource-insecure | $THUMBNAILS_WEBDAVSOURCE_INSECURE , $OCIS_INSECURE
: Whether to skip certificate checks. Default: `false`.
-cs3source-insecure | $THUMBNAILS_CS3SOURCE_INSECURE , $OCIS_INSECURE
: Whether to skip certificate checks. Default: `false`.
-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: `"/home"`.
-extensions |
: Run specific extensions during supervised mode.
### thumbnails version
Print the versions of the running instances
Usage: `thumbnails version [command options] [arguments...]`
-grpc-name | $THUMBNAILS_GRPC_NAME
: Name of the service. Default: `"thumbnails"`.
-grpc-namespace | $THUMBNAILS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
### thumbnails health
Check health status
Usage: `thumbnails health [command options] [arguments...]`
-debug-addr | $THUMBNAILS_DEBUG_ADDR
: Address to debug endpoint. Default: `"127.0.0.1:9189"`.
### thumbnails ocis-thumbnails
Example usage
Usage: `thumbnails ocis-thumbnails [command options] [arguments...]`
-249
View File
@@ -1,249 +0,0 @@
---
title: "Configuration"
date: "2021-11-23T10:24:37+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/web/templates
geekdocFilePath: CONFIGURATION.tmpl
---
{{< toc >}}
## Configuration
### Configuration using config files
Out of the box extensions will attempt to read configuration details from:
```console
/etc/ocis
$HOME/.ocis
./config
```
For this configuration to be picked up, have a look at your extension `root` command and look for which default config name it has assigned. *i.e: ocis-web reads `web.json | yaml | toml ...`*.
So far we support the file formats `JSON` and `YAML`, if you want to get a full example configuration just take a look at [our repository](https://github.com/owncloud/ocis/tree/master/web/config), there you can always see the latest configuration format. These example configurations include all available options and the default values. The configuration file will be automatically loaded if it's placed at `/etc/ocis/ocis.yml`, `${HOME}/.ocis/ocis.yml` or `$(pwd)/config/ocis.yml`.
### Environment variables
If you prefer to configure the service with environment variables you can see the available variables below.
If multiple variables are listed for one option, they are in order of precedence. This means the leftmost variable will always win if given.
### Command-line flags
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
## Root Command
Serve ownCloud Web for oCIS
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: `"127.0.0.1:9104"`.
### web server
Start integrated server
Usage: `web server [command options] [arguments...]`
-log-level | $WEB_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $WEB_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $WEB_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
-log-file | $WEB_LOG_FILE , $OCIS_LOG_FILE
: Enable log to file.
-config-file | $WEB_CONFIG_FILE
: Path to config file.
-tracing-enabled | $WEB_TRACING_ENABLED , $OCIS_TRACING_ENABLED
: Enable sending traces.
-tracing-type | $WEB_TRACING_TYPE , $OCIS_TRACING_TYPE
: Tracing backend type. Default: `"jaeger"`.
-tracing-endpoint | $WEB_TRACING_ENDPOINT , $OCIS_TRACING_ENDPOINT
: Endpoint for the agent. Default: `""`.
-tracing-collector | $WEB_TRACING_COLLECTOR , $OCIS_TRACING_COLLECTOR
: Endpoint for the collector. Default: `""`.
-tracing-service | $WEB_TRACING_SERVICE
: Service name for tracing. Default: `"web"`.
-debug-addr | $WEB_DEBUG_ADDR
: Address to bind debug server. Default: `"127.0.0.1:9104"`.
-debug-token | $WEB_DEBUG_TOKEN
: Token to grant metrics access. Default: `""`.
-debug-pprof | $WEB_DEBUG_PPROF
: Enable pprof debugging.
-debug-zpages | $WEB_DEBUG_ZPAGES
: Enable zpages debugging.
-http-addr | $WEB_HTTP_ADDR
: Address to bind http server. Default: `"127.0.0.1:9100"`.
-http-root | $WEB_HTTP_ROOT
: Root path of http server. Default: `"/"`.
-http-namespace | $WEB_NAMESPACE
: 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: `""`.
-web-config | $WEB_UI_CONFIG
: Path to web config. Default: `""`.
-web-config-server | $WEB_UI_CONFIG_SERVER , $OCIS_URL
: Configuration server URL. Default: `"https://localhost:9200"`.
-web-theme-server | $WEB_UI_THEME_SERVER , $OCIS_URL
: Theme server URL. Default: `"https://localhost:9200"`.
-web-config-theme | $WEB_UI_THEME_PATH
: Theme path on the theme server. Default: `"/themes/owncloud/theme.json"`.
-web-config-version | $WEB_UI_CONFIG_VERSION
: 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", "search", "media-viewer", "external")`.
-oidc-metadata-url | $WEB_OIDC_METADATA_URL
: 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: `"https://localhost:9200"`.
-oidc-client-id | $WEB_OIDC_CLIENT_ID
: OpenID Connect client ID. Default: `"web"`.
-oidc-response-type | $WEB_OIDC_RESPONSE_TYPE
: OpenID Connect response type. Default: `"code"`.
-oidc-scope | $WEB_OIDC_SCOPE
: OpenID Connect scope. Default: `"openid profile email"`.
-extensions |
: Run specific extensions during supervised mode. This flag is set by the runtime.
-259
View File
@@ -1,259 +0,0 @@
---
title: "Configuration"
date: "2021-11-23T10:24:37+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/webdav/templates
geekdocFilePath: CONFIGURATION.tmpl
---
{{< toc >}}
## Configuration
### Configuration using config files
Out of the box extensions will attempt to read configuration details from:
```console
/etc/ocis
$HOME/.ocis
./config
```
For this configuration to be picked up, have a look at your extension `root` command and look for which default config name it has assigned. *i.e: ocis-proxy reads `proxy.json | yaml | toml ...`*.
So far we support the file formats `JSON` and `YAML`, if you want to get a full example configuration just take a look at [our repository](https://github.com/owncloud/ocis/tree/master/webdav/config), there you can always see the latest configuration format. These example configurations include all available options and the default values. The configuration file will be automatically loaded if it's placed at `/etc/ocis/ocis.yml`, `${HOME}/.ocis/ocis.yml` or `$(pwd)/config/ocis.yml`.
### Environment variables
If you prefer to configure the service with environment variables you can see the available variables below.
If multiple variables are listed for one option, they are in order of precedence. This means the leftmost variable will always win if given.
### Command-line flags
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
## Root Command
Serve WebDAV API for oCIS
Usage: `webdav [global options] command [command options] [arguments...]`
## Sub Commands
### webdav server
Start integrated server
Usage: `webdav server [command options] [arguments...]`
-log-file | $WEBDAV_LOG_FILE , $OCIS_LOG_FILE
: Enable log to file.
-log-level | $WEBDAV_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $WEBDAV_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $WEBDAV_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
-config-file | $WEBDAV_CONFIG_FILE
: Path to config file.
-tracing-enabled | $WEBDAV_TRACING_ENABLED , $OCIS_TRACING_ENABLED
: Enable sending traces.
-tracing-type | $WEBDAV_TRACING_TYPE , $OCIS_TRACING_TYPE
: Tracing backend type. Default: `"jaeger"`.
-tracing-endpoint | $WEBDAV_TRACING_ENDPOINT , $OCIS_TRACING_ENDPOINT
: Endpoint for the agent. Default: `""`.
-tracing-collector | $WEBDAV_TRACING_COLLECTOR , $OCIS_TRACING_COLLECTOR
: Endpoint for the collector. Default: `""`.
-tracing-service | $WEBDAV_TRACING_SERVICE
: Service name for tracing. Default: `"webdav"`.
-debug-addr | $WEBDAV_DEBUG_ADDR
: Address to bind debug server. Default: `"127.0.0.1:9119"`.
-debug-token | $WEBDAV_DEBUG_TOKEN
: Token to grant metrics access. Default: `""`.
-debug-pprof | $WEBDAV_DEBUG_PPROF
: Enable pprof debugging.
-debug-zpages | $WEBDAV_DEBUG_ZPAGES
: Enable zpages debugging.
-http-addr | $WEBDAV_HTTP_ADDR
: Address to bind http server. Default: `"127.0.0.1:9115"`.
-http-namespace | $WEBDAV_HTTP_NAMESPACE
: Set the base namespace for service discovery. Default: `"com.owncloud.web"`.
-cors-allowed-origins | $WEBDAV_CORS_ALLOW_ORIGINS , $OCIS_CORS_ALLOW_ORIGINS
: Set the allowed CORS origins. Default: `cli.NewStringSlice("*")`.
-cors-allowed-methods | $WEBDAV_CORS_ALLOW_METHODS , $OCIS_CORS_ALLOW_METHODS
: Set the allowed CORS origins. Default: `cli.NewStringSlice("GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS")`.
-cors-allowed-headers | $WEBDAV_CORS_ALLOW_HEADERS , $OCIS_CORS_ALLOW_HEADERS
: Set the allowed CORS origins. Default: `cli.NewStringSlice("Authorization", "Origin", "Content-Type", "Accept", "X-Requested-With")`.
-cors-allow-credentials | $WEBDAV_CORS_ALLOW_CREDENTIALS , $OCIS_CORS_ALLOW_CREDENTIALS
: Allow credentials for CORS. Default: `true`.
-service-name | $WEBDAV_SERVICE_NAME
: Service name. Default: `"webdav"`.
-http-root | $WEBDAV_HTTP_ROOT
: Root path of http server. Default: `"/"`.
-ocis-public-url | $OCIS_PUBLIC_URL , $OCIS_URL
: 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: `"/home"`.
-extensions |
: Run specific extensions during supervised mode. This flag is set by the runtime.
### 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
Usage: `webdav health [command options] [arguments...]`
-debug-addr | $WEBDAV_DEBUG_ADDR
: Address to debug endpoint. Default: `"127.0.0.1:9119"`.
+173
View File
@@ -0,0 +1,173 @@
---
title: "Configuration"
date: "2021-11-09T00:03:16+0100"
weight: 2
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocis/templates
geekdocFilePath: config.md
---
{{< toc >}}
## Configuration Framework
In order to simplify deployments and development the configuration model from oCIS aims to be simple yet flexible.
## Overview of the approach
{{< svg src="ocis/static/ocis-config-redesign.drawio.svg" >}}
## In-depth configuration
Since we include a set of predefined extensions within the single binary, configuring an extension can be done in a variety of ways. Since we work with complex types, having as many cli per config value scales poorly, so we limited the options to config files and environment variables, leaving cli flags for common values, such as logging (`--log-level`, `--log-pretty`, `--log-file` or `--log-color`).
The hierarchy is clear enough, leaving us with:
_(each element above overwrites its precedent)_
1. env variables
2. extension config
3. ocis config
This is manifested in the previous diagram. We can then speak about "configuration file arithmetics", where resulting config transformations happen through a series of steps. An administrator must be aware of these sources, since mis-managing them can be a source of confusion, having undesired transformations on config files believed not to be applied.
## Flows
Let's explore the various flows with examples and workflows.
### Examples
Let's explore with examples this approach.
#### Expected loading locations:
- `$HOME/.ocis/config/`
- `/etc/ocis/`
- `.config/`
followed by the extension name. When configuring the proxy, a valid full path that will get loaded is `$HOME/.ocis/config/proxy.yaml`.
#### Only config files
The following config files are present in the default loading locations:
_ocis.yaml_
```yaml
proxy:
http:
addr: localhost:1111
log:
pretty: false
color: false
level: info
accounts:
http:
addr: localhost:2222
log:
level: debug
color: false
pretty: false
log:
pretty: true
color: true
level: info
```
_proxy.yaml_
```yaml
http:
addr: localhost:3333
```
_accounts.yaml_
```yaml
http:
addr: localhost:4444
```
Note that the extension files will overwrite values from the main `ocis.yaml`, causing `ocis server` to run with the following configuration:
```yaml
proxy:
http:
addr: localhost:3333
accounts:
http:
addr: localhost:4444
log:
pretty: true
color: true
level: info
```
#### Using ENV variables
The logging configuration if defined in the main ocis.yaml is inherited by all extensions. It can be, however, overwritten by a single extension file if desired. The same example can be used to demonstrate environment values overwrites. With the same set of config files now we have the following command `PROXY_HTTP_ADDR=localhost:5555 ocis server`, now the resulting config looks like:
```yaml
proxy:
http:
addr: localhost:5555
accounts:
http:
addr: localhost:4444
log:
pretty: true
color: true
level: info
```
### Workflows
Since one can run an extension using the runtime (supervised) or not (unsupervised), we ensure correct behavior in both modes, expecting the same outputs.
#### Supervised
You are using the supervised mode whenever you issue the `ocis server` command. We start the runtime on port `9250` (by default) that listens for commands regarding the lifecycle of the supervised extensions. When an extension runs supervised and is killed, the only way to provide / overwrite configuration values will be through an extension config file. This is due to the parent process has already started, and it already has its own environment.
#### Unsupervised
All the points from the priority section hold true. An unsupervised extension can be started with the format: `ocis [extension]` i.e: `ocis proxy`. First, `ocis.yaml` is parsed, then `proxy.yaml` followed by environment variables.
## Shared Values
When running in supervised mode (`ocis server`) it is beneficial to have common values for logging, so that the log output is correctly formatted, or everything is piped to the same file without duplicating config keys and values all over the place. This is possible using the global `log` config key:
_ocis.yaml_
```yaml
log:
level: error
color: true
pretty: true
file: /var/tmp/ocis_output.log
```
There is, however, the option for extensions to overwrite this global values by declaring their own logging directives:
_ocis.yaml_
```yaml
log:
level: info
color: false
pretty: false
```
One can go as far as to make the case of an extension overwriting its shared logging config that received from the main `ocis.yaml` file. Because things can get out of hands pretty fast we recommend not mixing logging configuration values and either use the same global logging values for all extensions.
{{< hint warning >}}
When overwriting a globally shared logging values, one *MUST* specify all values.
{{< /hint >}}
### Log config keys
```yaml
log:
level: [ error | warning | info | debug ]
color: [ true | false ]
pretty: [ true | false ]
file: [ path/to/log/file ] # MUST not be used with pretty = true
```
## Default config values (in yaml)
TBD. Needs to be generated and merged with the env mappings.
-382
View File
@@ -1,382 +0,0 @@
---
title: "Configuration"
date: "2021-11-23T10:24:25+0000"
weight: 2
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocis/templates
geekdocFilePath: CONFIGURATION.tmpl
---
{{< toc >}}
## Configuration
oCIS Single Binary is not responsible for configuring extensions. Instead, each extension could either be configured by environment variables, cli flags or config files.
Each extension has its dedicated documentation page (e.g. [proxy configuration]({{< relref "../extensions/accounts/configuration.md" >}})) which lists all possible configurations. Config files and environment variables are picked up if you use the `./bin/ocis server` command within the oCIS single binary. Command line flags must be set explicitly on the extensions subcommands.
### Configuration using config files
Out of the box extensions will attempt to read configuration details from:
```console
/etc/ocis
$HOME/.ocis
./config
```
For this configuration to be picked up, have a look at your extension `root` command and look for which default config name it has assigned. *i.e: ocis-proxy reads `proxy.json | yaml | toml ...`*.
So far we support the file formats `JSON` and `YAML`, if you want to get a full example configuration just take a look at [our repository](https://github.com/owncloud/ocis/tree/master/ocis/config), there you can always see the latest configuration format. These example configurations include all available options and the default values. The configuration file will be automatically loaded if it's placed at `/etc/ocis/ocis.yml`, `${HOME}/.ocis/ocis.yml` or `$(pwd)/config/ocis.yml`.
### Environment variables
If you prefer to configure the service with environment variables you can see the available variables below.
If multiple variables are listed for one option, they are in order of precedence. This means the leftmost variable will always win if given.
### Command-line flags
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
## Root Command
ownCloud Infinite Scale Stack
Usage: `ocis [global options] command [command options] [arguments...]`
-ocis-base-data-path | $OCIS_BASE_DATA_PATH
: Set the base path where oCIS stores data.
-config-file | $OCIS_CONFIG_FILE
: Load config file from a non standard location..
-ocis-log-level | $OCIS_LOG_LEVEL
: Set logging level. Default: `info`.
-ocis-log-pretty | $OCIS_LOG_PRETTY
: Enable pretty logging. Default: `false`.
-ocis-log-color | $OCIS_LOG_COLOR
: Enable colored logging. Default: `true`.
-ocis-log-file | $OCIS_LOG_FILE
: Enable log to file.
-tracing-enabled | $OCIS_TRACING_ENABLED
: Enable sending traces.
-tracing-type | $OCIS_TRACING_TYPE
: Tracing backend type. Default: `jaeger`.
-tracing-endpoint | $OCIS_TRACING_ENDPOINT
: Endpoint for the agent.
-tracing-collector | $OCIS_TRACING_COLLECTOR
: Endpoint for the collector.
-tracing-service | $OCIS_TRACING_SERVICE
: Service name for tracing. Default: `ocis`.
-jwt-secret | $OCIS_JWT_SECRET
: Used to dismantle the access token, should equal reva's jwt-secret. Default: `Pive-Fumkiu4`.
-runtime-port | $OCIS_RUNTIME_PORT
: Configures which port the runtime starts. Default: `9250`.
-runtime-host | $OCIS_RUNTIME_HOST
: Configures the host where the runtime process is running. Default: `localhost`.
## Sub Commands
### ocis server
Start fullstack server
Usage: `ocis server [command options] [arguments...]`
-debug-addr | $OCIS_DEBUG_ADDR
: Address to bind debug server. Default: `127.0.0.1:9010`.
-debug-token | $OCIS_DEBUG_TOKEN
: Token to grant metrics access.
-debug-pprof | $OCIS_DEBUG_PPROF
: Enable pprof debugging.
-debug-zpages | $OCIS_DEBUG_ZPAGES
: Enable zpages debugging.
-http-addr | $OCIS_HTTP_ADDR
: Address to bind http server. Default: `127.0.0.1:9000`.
-http-root | $OCIS_HTTP_ROOT
: Root path of http server. Default: `/`.
-grpc-addr | $OCIS_GRPC_ADDR
: Address to bind grpc server. Default: `127.0.0.1:9001`.
-extensions | $OCIS_RUN_EXTENSIONS
: Run specific extensions during supervised mode.
### ocis kill
Kill an extension by name
Usage: `ocis kill [command options] [arguments...]`
### ocis list
Lists running ocis extensions
Usage: `ocis list [command options] [arguments...]`
### ocis run
Runs an extension
Usage: `ocis run [command options] [arguments...]`
### ocis health
Check health status
Usage: `ocis health [command options] [arguments...]`
-debug-addr | $OCIS_DEBUG_ADDR
: Address to debug endpoint. Default: `127.0.0.1:9010`.
### List of available Extension subcommands
There are more subcommands to start the individual extensions. Please check the documentation about their usage and options in the dedicated section of the documentation.
#### ocis accounts
Start accounts server
#### ocis proxy
Start proxy server
#### ocis storage-auth-basic
Start storage auth-basic service
#### ocis storage-groupprovider
Start storage groupprovider service
#### ocis storage-home
Start storage and data provider for /home mount
#### ocis storage-metadata
Start storage and data service for metadata
#### ocis store
Start a go-micro store
#### ocis storage-users
Start storage and data provider for /users mount
#### ocis storage-app-provider
Start storage app-provider service
#### ocis storage-auth-bearer
Start storage auth-bearer service
#### ocis version
Lists running services with version
#### ocis web
Start web server
#### ocis storage-public-link
Start storage public link storage
#### ocis glauth
Start glauth server
#### ocis idp
Start idp server
#### ocis ocs
Start ocs server
#### ocis settings
Start settings server
#### ocis storage-frontend
Start storage frontend
#### ocis storage-gateway
Start storage gateway
#### ocis storage-sharing
Start storage sharing service
#### ocis storage-userprovider
Start storage userprovider service
#### ocis thumbnails
Start thumbnails server
#### ocis webdav
Start webdav server
+1 -1
View File
@@ -53,7 +53,7 @@ PROXY_TRANSPORT_TLS_CERT=./certs/your-host.crt \
If you generated these certificates on your own, you might need to set `OCIS_INSECURE` to `true`.
For more configuration options check the configuration section in [oCIS]({{< ref "../configuration" >}}) and the oCIS extensions.
For more configuration options check the configuration section in [oCIS]({{< ref "../config" >}}) and the oCIS extensions.
## Start the oCIS fullstack server with Docker Compose
+1 -1
View File
@@ -71,7 +71,7 @@ Open [https://localhost:9200](https://localhost:9200) and [login using one of th
### Basic Management Commands
The oCIS single binary contains multiple extensions and the `ocis` command helps you to manage them. You already used `ocis server` to run all available extensions in the [Run oCIS]({{< ref "#run-ocis" >}}) section. We now will show you some more management commands, which you may also explore by typing `ocis --help` or going to the [docs]({{< ref "../configuration" >}}).
The oCIS single binary contains multiple extensions and the `ocis` command helps you to manage them. You already used `ocis server` to run all available extensions in the [Run oCIS]({{< ref "#run-ocis" >}}) section. We now will show you some more management commands, which you may also explore by typing `ocis --help` or going to the [docs]({{< ref "../config" >}}).
To start oCIS server:
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not edit this file with editors other than diagrams.net -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="532px" height="1142px" viewBox="-0.5 -0.5 532 1142" content="&lt;mxfile host=&quot;app.diagrams.net&quot; modified=&quot;2021-11-08T23:06:05.492Z&quot; agent=&quot;5.0 (Macintosh)&quot; etag=&quot;ybBQ4usLvvc1Wv6kXIq4&quot; version=&quot;15.7.0&quot; type=&quot;google&quot;&gt;&lt;diagram id=&quot;ERaARL9lu1Ro2sCK4Dvv&quot; name=&quot;Page-1&quot;&gt;7Vtbk6o4EP41Pq4FoqM+jjNzzlbtbtWpnandPY8RIuRsSNgQvJxfvx0SboIKU+hYoy9KOkkn6a87/RFg4DyF268CRcEf3MN0MLK87cB5HoxG09kMfpVgpwXj2VwLfEE8LbILwSv5iY3QMtKEeDiuNJScU0miqtDljGFXVmRICL6pNltxWh01Qj6uCV5dROvSv4knAy2dTaxC/ismfpCNbFumJkRZYyOIA+TxTUnkvAycJ8G51Ffh9glTZbvMLrrflwO1+cQEZrJNhzja8dWb+/iayLdvs8Uopn/+9os90mrWiCZmxYPRAwqjgbPwQe0C6rhLYjV/LNZYmLXIXWYgibeqXSBDCgIbLgWOyU+0TBtYUEaJ5LEGVlUjSnwG1y7MG/Q5C9AqCVj80VSExPNU50XECZMpfpPFYPIMkhWh9IlTDt2eGWeqUSwF/xfvCQVPmIc9MwGzRBgGbw8az84hAVfGPMRS7KCJ6eDMDYrGjTNQNyWfMKKg5A5ZM2S80M8VF0DBhcGqC25OA257yPhghejg2k3AGJwKN+1gk/GkYpPc9UtGsedNVpmfyyzTS1jlCCB1Wx32l2bTTM/mMU2BTlXoemStBjTRB9L/ErUnLSheyaIEV2ZD0L2WYl8C00pVZdI9w28CIvFrhFxV3kCyqO4asD1Gqibc+iqRDJcoJu7Q424SKsu3CeHDLlHH5eOAeOgNCEflR8qXSI1Jue8T5msfXhG/PU7vGRxGGziPjWPo5MGWcaTTRySwlLu0tSUFrLlNJ1fv5536ULwG7pH2IWzF+1xuJPh213bBgZRRy7anyhbyPGMGyiFFBjwGRY/zkdpq25ikNUwnZ1KGcYVo3AqTk1pLOPen9IAjFDqR6wJBUNSiHaI9mrE0Nw8vk+Yw3e/Uk+Ga9LSD9X07/rupYRqE10IMu2SVTEuVLE7quX/clHIezpb768lfkfrhDgEyn5XQd6JpJWyml+Tx88/Pyo7fRIys6k3EpPVNxPmYstUfKJfnBjbcl925wfu5wY1nu47RajdEa1Nuy88G+o/WcS1aU7b+uZNbN5jGszpMF01z9uTW81wOwRXluf5OIj4gz00eprMuu/d9P2/jlW338/PdqtSPcLO79Vve0cfT6ckdvXH3OBtOsxpOYPeESn0GqQ/MirNI3S6+UfRGdjUfz5rC7LIJuX7jWYYvPyC7I5jFXwsELxqA2aOtj3wCuH/QlT8WP2UVe3Y2s9zqcy4Nf/cHXWeE4n6Ocj9H+VAmfmUpplPc5i9VtCPk9vkSTdOrJu8JY8YBA6zmzTfwCw7E1NirQfGKURJFlCiS0d+j2w0Bu9UfjycCScJhAmAUSwa4RHD6G3sleJirByfGLE7HtDh4ykZAnshrCQuwEnh9jq9XNIQeb0FqYBextHsMAWstccr0AgJIwLBWEhvyx/qcA2ZrIjjTyQ1sLIiK2+HNbwbdmJVtNdzwjZo2gvOl8/pB68UJ5/55xTUQzhs42jziD1dFOD/ngeaFCGfb96y68M3edN7pZl9080DUXg/dbHqHtxTEGrSURWnmxOFPqOkh5qWzFEq6UT8xLghWiX71R25KrM0MU/BM5aciNCzTqlBBjdKwz5m8pYpjFGqCTb04D79sbMR2mV0VJfzL0F1T3d9USq8WWSgFw0VCkNRIHt+kyHFtC6KAg+iKgBaQNe5zFjne8Z1rniBVk/33+Ju4ZtPnDWfL5I5TwwJ7Pn41RS5kwH3OEH0ppHuGKdr8znlk8Pmh0p35yEhBVwUXb4n8R3UfTkzpe6nmeWs0p4VdqfAN9gBYtwJcyxjYoKRIFb+X6wpVaWlXLu0r04ZQqz8OLxiLJ8LFR6yafT+FhI+P5Yh5s7sITFEapeVB+4d+fIf+46DXD6r6xx6KxZduaV3pc0Hn5X8=&lt;/diagram&gt;&lt;/mxfile&gt;"><defs/><g><rect x="185" y="0" width="80" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 10px; margin-left: 225px;"><div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgba(0, 0, 0, 1); "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;">&gt; ocis server</div></div></div></foreignObject><text x="225" y="14" fill="rgba(0, 0, 0, 1)" font-family="Helvetica" font-size="12px" text-anchor="middle">&gt; ocis server</text></switch></g><path d="M 328.08 138.57 L 328.08 370 L 140 370 L 140 100 L 301.21 100 Z" fill="rgba(255, 255, 255, 1)" stroke="rgba(0, 0, 0, 1)" stroke-miterlimit="10" pointer-events="none"/><path d="M 301.21 100 C 303.4 109.02 299.8 118.32 291.62 124.8 L 330 140.5 Z" fill="rgba(255, 255, 255, 1)" stroke="rgba(0, 0, 0, 1)" stroke-miterlimit="10" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 188px; height: 1px; padding-top: 235px; margin-left: 141px;"><div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgba(0, 0, 0, 1); "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: none; white-space: normal; overflow-wrap: normal;"><div align="left"><br /></div></div></div></div></foreignObject><text x="235" y="239" fill="rgba(0, 0, 0, 1)" font-family="Helvetica" font-size="12px" text-anchor="middle">&#xa;</text></switch></g><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width:Line truncated

After

Width:  |  Height:  |  Size: 22 KiB