Merge: 4514ebb7 0241b85a
Author: Willy Kloucek <34452982+wkloucek@users.noreply.github.com>
Date:   Fri Oct 8 10:51:36 2021 +0200

    Merge pull request #2478 from owncloud/onlyoffice_wopi_deployment_example

    add OnlyOffice and CodiMD to wopi deployment example
This commit is contained in:
Willy Kloucek committed 2021-10-08 08:54:02 +00:00
1 parent 3ac7334b8f
commit 31e63cdfcb
15 files changed
+2978 -2961

No files matched your search

+410 -410
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-08T08:04:21+0000"
date: "2021-10-08T08:51:59+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/accounts/templates
@@ -34,294 +34,6 @@ If multiple variables are listed for one option, they are in order of precedence
### 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 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 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 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
@@ -563,6 +275,297 @@ Usage: `accounts remove [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.
-extensions |
: Run specific extensions during supervised mode.
### 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 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 server
Start ocis accounts service
@@ -716,6 +719,124 @@ Usage: `accounts server [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.
@@ -814,124 +935,3 @@ Usage: `accounts version [command options] [arguments...]`
### 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.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-08T08:05:19+0000"
date: "2021-10-08T08:52:59+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/glauth/templates
+31 -31
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-08T08:05:19+0000"
date: "2021-10-08T08:52:59+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph-explorer/templates
@@ -73,36 +73,6 @@ Usage: `graph-explorer [global options] command [command options] [arguments...]
## 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: `"0.0.0.0:9136"`.
### graph-explorer server
Start integrated server
@@ -181,3 +151,33 @@ Usage: `graph-explorer server [command options] [arguments...]`
-extensions |
: Run specific extensions during supervised mode. This flag is set by the runtime.
### graph-explorer health
Check health status
Usage: `graph-explorer health [command options] [arguments...]`
-debug-addr | $GRAPH_EXPLORER_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9136"`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-08T08:05:19+0000"
date: "2021-10-08T08:52:59+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph/templates
+71 -71
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-08T08:05:19+0000"
date: "2021-10-08T08:52:59+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/idp/templates
@@ -34,76 +34,6 @@ If multiple variables are listed for one option, they are in order of precedence
### 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: `"0.0.0.0:9134"`.
### idp ocis-idp
@@ -485,4 +415,74 @@ Usage: `idp version [command options] [arguments...]`
-name | $IDP_NAME
: Service name. Default: `"idp"`.
### idp health
Check health status
Usage: `idp health [command options] [arguments...]`
-debug-addr | $IDP_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9134"`.
+72 -72
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-08T08:05:19+0000"
date: "2021-10-08T08:52:59+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocs/templates
@@ -34,77 +34,6 @@ If multiple variables are listed for one option, they are in order of precedence
### 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 health
Check health status
Usage: `ocs health [command options] [arguments...]`
-debug-addr | $OCS_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9114"`.
### ocs ocis-ocs
Serve OCS API for oCIS
Usage: `ocs ocis-ocs [command options] [arguments...]`
### ocs server
@@ -254,4 +183,75 @@ Usage: `ocs version [command options] [arguments...]`
-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: `"0.0.0.0:9114"`.
### ocs ocis-ocs
Serve OCS API for oCIS
Usage: `ocs ocis-ocs [command options] [arguments...]`
+162 -162
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-08T08:05:19+0000"
date: "2021-10-08T08:52:59+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/proxy/templates
@@ -35,6 +35,167 @@ If multiple variables are listed for one option, they are in order of precedence
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 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: `"0.0.0.0: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(pkgos.MustUserConfigDir("ocis", "proxy"), "server.crt"))`.
-transport-tls-key | $PROXY_TRANSPORT_TLS_KEY
: Secret file for transport encryption. Default: `flags.OverrideDefaultString(cfg.HTTP.TLSKey, path.Join(pkgos.MustUserConfigDir("ocis", "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
: 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: `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
@@ -194,167 +355,6 @@ Usage: `proxy ocis-proxy [command options] [arguments...]`
### 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: `"0.0.0.0: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(pkgos.MustUserConfigDir("ocis", "proxy"), "server.crt"))`.
-transport-tls-key | $PROXY_TRANSPORT_TLS_KEY
: Secret file for transport encryption. Default: `flags.OverrideDefaultString(cfg.HTTP.TLSKey, path.Join(pkgos.MustUserConfigDir("ocis", "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
: 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: `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..
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-08T08:05:19+0000"
date: "2021-10-08T08:52:59+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/settings/templates
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-08T08:05:20+0000"
date: "2021-10-08T08:53:00+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/store/templates
+74 -74
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-08T08:05:20+0000"
date: "2021-10-08T08:53:00+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/thumbnails/templates
@@ -34,79 +34,6 @@ If multiple variables are listed for one option, they are in order of precedence
### 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 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: `"0.0.0.0:9189"`.
### thumbnails ocis-thumbnails
@@ -238,6 +165,79 @@ Usage: `thumbnails server [command options] [arguments...]`
-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: `"0.0.0.0:9189"`.
+41 -41
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-08T08:05:21+0000"
date: "2021-10-08T08:53:01+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/web/templates
@@ -73,6 +73,46 @@ 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
@@ -200,44 +240,4 @@ Usage: `web server [command options] [arguments...]`
-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: `"0.0.0.0:9104"`.
+34 -34
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-08T08:05:21+0000"
date: "2021-10-08T08:53:01+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/webdav/templates
@@ -66,6 +66,39 @@ Usage: `webdav [global options] command [command options] [arguments...]`
## Sub Commands
### webdav health
Check health status
Usage: `webdav health [command options] [arguments...]`
-debug-addr | $WEBDAV_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9119"`.
### webdav server
@@ -195,37 +228,4 @@ Usage: `webdav version [command options] [arguments...]`
-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: `"0.0.0.0:9119"`.
+91 -91
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-08T08:05:19+0000"
date: "2021-10-08T08:52:59+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 run
### ocis health
Runs an extension
Check health status
Usage: `ocis run [command options] [arguments...]`
Usage: `ocis health [command options] [arguments...]`
@@ -128,6 +128,9 @@ Usage: `ocis run [command options] [arguments...]`
-debug-addr | $OCIS_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9010`.
@@ -164,11 +167,11 @@ Usage: `ocis kill [command options] [arguments...]`
### ocis health
### ocis run
Check health status
Runs an extension
Usage: `ocis health [command options] [arguments...]`
Usage: `ocis run [command options] [arguments...]`
@@ -184,8 +187,33 @@ Usage: `ocis health [command options] [arguments...]`
-debug-addr | $OCIS_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9010`.
### ocis list
Lists running ocis extensions
Usage: `ocis list [command options] [arguments...]`
@@ -246,102 +274,30 @@ Usage: `ocis server [command options] [arguments...]`
-extensions | $OCIS_RUN_EXTENSIONS
: Run specific extensions during supervised mode.
### ocis list
Lists running ocis extensions
Usage: `ocis list [command options] [arguments...]`
### List of available Extension subcommands
There are more subcommands to start the individual extensions. Please check the documentation about their usage and options in the dedicated section of the documentation.
#### ocis storage-metadata
#### ocis idp
Start storage and data service for metadata
#### ocis webdav
Start webdav server
Start idp server
#### ocis ocs
Start ocs server
#### ocis storage-auth-bearer
#### ocis web
Start storage auth-bearer service
Start web server
#### ocis store
Start a go-micro store
#### ocis web
#### ocis webdav
Start web server
#### ocis storage-app-provider
Start storage app-provider service
#### ocis storage-users
Start storage and data provider for /users mount
#### ocis settings
Start settings server
#### ocis storage-public-link
Start storage public link storage
#### ocis storage-gateway
Start storage gateway
#### ocis storage-userprovider
Start storage userprovider service
#### ocis thumbnails
Start thumbnails server
#### ocis glauth
Start glauth server
#### ocis storage-frontend
Start storage frontend
#### ocis storage-groupprovider
Start storage groupprovider service
Start webdav server
#### ocis accounts
@@ -351,23 +307,67 @@ Start accounts server
Start storage auth-basic service
#### ocis storage-home
#### ocis storage-metadata
Start storage and data provider for /home mount
Start storage and data service for metadata
#### ocis storage-sharing
Start storage sharing service
#### ocis storage-auth-bearer
Start storage auth-bearer service
#### ocis version
Lists running services with version
#### ocis idp
#### ocis storage-gateway
Start idp server
Start storage gateway
#### ocis thumbnails
Start thumbnails server
#### ocis glauth
Start glauth server
#### ocis storage-groupprovider
Start storage groupprovider service
#### ocis storage-userprovider
Start storage userprovider service
#### ocis storage-users
Start storage and data provider for /users mount
#### ocis storage-app-provider
Start storage app-provider service
#### ocis storage-home
Start storage and data provider for /home mount
#### ocis proxy
Start proxy server
#### ocis settings
Start settings server
#### ocis storage-frontend
Start storage frontend
#### ocis storage-public-link
Start storage public link storage
+34 -17
View File
@@ -9,22 +9,26 @@ geekdocFilePath: ocis_wopi.md
{{< toc >}}
{{< hint warning >}}
OnlyOffice and CodiMD are not yet fully integrated and there are known issues. For the current state please have a look at [owncloud/ocis#2595](https://github.com/owncloud/ocis/issues/2595)
{{< /hint >}}
## Overview
* oCIS, Wopi server and Collabora running behind Traefik as reverse proxy
* Collabora enables you to edit text documents in your browser
* Wopi server acts as a bridge to make the oCIS storage accessible to Collabora
* oCIS, Wopi server, Collabora, OnlyOffice and CodiMD running behind Traefik as reverse proxy
* Collabora, OnlyOffice and CodiMD enable you to edit documents in your browser
* Wopi server acts as a bridge to make the oCIS storage accessible to Collabora, OnlyOffice and CodiMD
* Traefik generating self signed certificates for local setup or obtaining valid SSL certificates for a server setup
[Find this example on GitHub](https://github.com/owncloud/ocis/tree/master/deployments/examples/ocis_wopi)
The docker stack consists 5 containers. One of them is Traefik, a proxy which is terminating SSL and forwards the requests to oCIS in the internal docker network.
The docker stack consists of 10 containers. One of them is Traefik, a proxy which is terminating SSL and forwards the requests to oCIS in the internal docker network.
The next container is oCIS itself in a configuration like the [oCIS with Traefik example]({{< ref "ocis_traefik" >}}), except that for this example a custom proxy and web UI configuration is used to enable the oCIS Wopi extension.
The next container is oCIS itself in a configuration like the [oCIS with Traefik example]({{< ref "ocis_traefik" >}}), except that for this example a custom mimetype configuration is used.
The oCIS WOPI server extension is running in another container and enables you to open files in Collabora from within ownCloud Web.
There are three oCIS app driver containers that register Collabora, OnlyOffice and CodiMD at the app registry.
The last two containers are the WOPI server and Collabora.
The last four containers are the WOPI server, Collabora, OnlyOffice and CodiMD.
## Server Deployment
@@ -34,6 +38,8 @@ The last two containers are the WOPI server and Collabora.
* Three domains set up and pointing to your server
- ocis.* for serving oCIS
- collabora.* for serving Collabora
- onlyoffice.* for serving OnlyOffice
- codimd.* for serving CodiMD
- wopiserver.* for serving the WOPI server
- traefik.* for serving the Traefik dashboard
@@ -84,10 +90,8 @@ See also [example server setup]({{< ref "preparing_server" >}})
OCIS_MACHINE_AUTH_API_KEY=
### Wopi server settings ###
# oCIS Wopi server version. Defaults to "latest"
OCIS_WOPISERVER_DOCKER_TAG=
# cs3org wopi server version. Defaults to "latest"
CS3ORG_WOPISERVER_DOCKER_TAG=
WOPISERVER_DOCKER_TAG=
# cs3org wopi server domain. Defaults to "wopiserver.owncloud.test"
WOPISERVER_DOMAIN=
# JWT secret which is used for the documents to be request by the Wopi client from the cs3org Wopi server. Must be change in order to have a secure Wopi server. Defaults to "LoremIpsum567"
@@ -100,9 +104,18 @@ See also [example server setup]({{< ref "preparing_server" >}})
COLLABORA_DOMAIN=
# Admin user for Collabora. Defaults to blank, provide one to enable access
COLLABORA_ADMIN_USER=
# Admin password for COllabora. Defaults to blank, provide one to enable access
# Admin password for Collabora. Defaults to blank, provide one to enable access
COLLABORA_ADMIN_PASSWORD=
### OnlyOffice settings ###
# Domain of OnlyOffice, where you can find the frontend. Defaults to "onlyoffice.owncloud.test"
ONLYOFFICE_DOMAIN=
### CodiMD settings ###
# Domain of Collabora, where you can find the frontend. Defaults to "codimd.owncloud.test"
CODIMD_DOMAIN=
# Secret which is used for the communication with the WOPI server. Must be changed in order to have a secure CodiMD. Defaults to "LoremIpsum456"
CODIMD_SECRET=
```
You are installing oCIS on a server and Traefik will obtain valid certificates for you so please remove `INSECURE=true` or set it to `false`.
@@ -119,18 +132,20 @@ See also [example server setup]({{< ref "preparing_server" >}})
You also must override three default secrets in `IDP_LDAP_BIND_PASSWORD`, `STORAGE_LDAP_BIND_PASSWORD` and `OCIS_JWT_SECRET` in order to secure your oCIS instance. Choose some random strings eg. from the output of `openssl rand -base64 32`. For more information see [secure an oCIS instance]({{< ref "./#secure-an-ocis-instance" >}}).
By default the oCIS WOPI server extension will be started in the `latest` version. If you want to start a specific version of oCIS WOPI server set the version to `OCIS_WOPISERVER_DOCKER_TAG=`. Available versions can be found on [Docker Hub](https://hub.docker.com/r/owncloud/ocis-wopiserver/tags?page=1&ordering=last_updated).
By default the CS3Org WOPI server will also be started in the `latest` version. If you want to start a specific version of it, you can set the version to `WOPISERVER_DOCKER_TAG=`. Available versions can be found on [Docker Hub](https://hub.docker.com/r/cs3org/wopiserver/tags?page=1&ordering=last_updated).
By default the CS3Org WOPI server will also be started in the `latest` version. If you want to start a specific version of it, you can set the version to `CS3ORG_WOPISERVER_DOCKER_TAG=`. Available versions can be found on [Docker Hub](https://hub.docker.com/r/cs3org/wopiserver/tags?page=1&ordering=last_updated).
Set your domain for the CS3Org WOPI server in `WOPISERVER_DOMAIN=`, where Collabora can download the files.
Set your domain for the CS3Org WOPI server in `WOPISERVER_DOMAIN=`, where all office suites can download the files via the WOPI protocol.
You also must override the default WOPI JWT secret and the WOPI IOP secret, in order to have a secure setup. Do this by setting `WOPI_JWT_SECRET` and `WOPI_IOP_SECRET` to a long and random string.
Now it's time to set up Collabora and you need to configure the Domain of Collabora in `COLLABORA_DOMAIN=`.
Now it's time to set up Collabora and you need to configure the domain of Collabora in `COLLABORA_DOMAIN=`.
If you want to use the Collabora admin panel you need to set user name and passwort for in `COLLABORA_ADMIN_USER=` and `COLLABORA_ADMIN_PASSWORD=`.
Next up is OnlyOffice, which also needs a domain in `ONLYOFFICE_DOMAIN=`.
The last configuration options are for CodiMD, which needs a domain in `CODIMD_DOMAIN=` and a random secret in `CODIMD_SECRET=`.
Now you have configured everything and can save the file.
* Start the docker stack
@@ -149,6 +164,8 @@ On Linux and macOS you can add them to your `/etc/hosts` files like this:
127.0.0.1 ocis.owncloud.test
127.0.0.1 traefik.owncloud.test
127.0.0.1 collabora.owncloud.test
127.0.0.1 onlyoffice.owncloud.test
127.0.0.1 codimd.owncloud.test
127.0.0.1 wopiserver.owncloud.test
```
@@ -156,6 +173,6 @@ After that you're ready to start the application stack:
`docker-compose up -d`
Open https://collabora.owncloud.test and https://wopiserver.owncloud.test in your browser and accept the invalid certificate warning.
Open https://collabora.owncloud.test, https://onlyoffice.owncloud.test, https://codimd.owncloud.test and https://wopiserver.owncloud.test in your browser and accept the invalid certificate warning.
Open https://ocis.owncloud.test in your browser and accept the invalid certificate warning. You are now able to open an office document in your browser. You may need to wait some minutes until all services are fully ready, so make sure that you try to reload the pages from time to time.