Merge: 80ae8936 66f430bf
Author: Willy Kloucek <34452982+wkloucek@users.noreply.github.com>
Date:   Fri Oct 1 09:04:39 2021 +0200

    Merge pull request #2553 from owncloud/configure_default_mimetypes

    make mimetype allow list configurable and add example config
This commit is contained in:
Willy Kloucek committed 2021-10-01 07:06:47 +00:00
1 parent e8580f505e
commit 7111d51feb
14 files changed
+3183 -3147

No files matched your search

+288 -288
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-01T06:26:24+0000"
date: "2021-10-01T07:04:58+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/accounts/templates
@@ -34,6 +34,212 @@ 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 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 add
@@ -320,27 +526,19 @@ Usage: `accounts list [command options] [arguments...]`
### accounts ocis-accounts
### accounts rebuildIndex
Provide accounts and groups for oCIS
Rebuilds the service's index, i.e. deleting and then re-adding all existing documents
Usage: `accounts ocis-accounts [command options] [arguments...]`
Usage: `accounts rebuildIndex [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.
@@ -404,7 +602,85 @@ Usage: `accounts ocis-accounts [command options] [arguments...]`
### accounts remove
Removes an existing account
Usage: `accounts remove [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
@@ -561,282 +837,6 @@ Usage: `accounts server [command options] [arguments...]`
### accounts rebuildIndex
Rebuilds the service's index, i.e. deleting and then re-adding all existing documents
Usage: `accounts rebuildIndex [command options] [arguments...]`
### accounts remove
Removes an existing account
Usage: `accounts remove [command options] [arguments...]`
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
### 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.
+49 -49
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-01T06:27:23+0000"
date: "2021-10-01T07:05:52+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/glauth/templates
@@ -34,6 +34,54 @@ 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.
### glauth health
Check health status
Usage: `glauth health [command options] [arguments...]`
-debug-addr | $GLAUTH_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9129"`.
### glauth ocis-glauth
@@ -238,52 +286,4 @@ Usage: `glauth server [command options] [arguments...]`
-extensions |
: Run specific extensions during supervised mode. This flag is set by the runtime.
### glauth health
Check health status
Usage: `glauth health [command options] [arguments...]`
-debug-addr | $GLAUTH_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9129"`.
+31 -31
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-01T06:27:23+0000"
date: "2021-10-01T07:05:52+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-01T06:27:23+0000"
date: "2021-10-01T07:05:52+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-01T06:27:23+0000"
date: "2021-10-01T07:05:52+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/idp/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-01T06:27:23+0000"
date: "2021-10-01T07:05:52+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocs/templates
+55 -55
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-01T06:27:23+0000"
date: "2021-10-01T07:05:52+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/proxy/templates
@@ -35,6 +35,60 @@ 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 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
@@ -311,57 +365,3 @@ Usage: `proxy server [command options] [arguments...]`
### 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"`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-01T06:27:23+0000"
date: "2021-10-01T07:05:52+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-01T06:27:23+0000"
date: "2021-10-01T07:05:53+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/store/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-01T06:27:24+0000"
date: "2021-10-01T07:05:54+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/thumbnails/templates
+41 -41
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-01T06:27:24+0000"
date: "2021-10-01T07:05:54+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/web/templates
@@ -73,46 +73,6 @@ 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
@@ -240,4 +200,44 @@ 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-01T06:27:24+0000"
date: "2021-10-01T07:05:54+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/webdav/templates
@@ -66,39 +66,6 @@ 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
@@ -228,4 +195,37 @@ 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"`.
+110 -110
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-01T06:27:23+0000"
date: "2021-10-01T07:05:52+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 server
### ocis list
Start fullstack server
Lists running ocis extensions
Usage: `ocis server [command options] [arguments...]`
Usage: `ocis list [command options] [arguments...]`
@@ -129,36 +129,12 @@ Usage: `ocis server [command options] [arguments...]`
-debug-addr | $OCIS_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0: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: `0.0.0.0:9000`.
-http-root | $OCIS_HTTP_ROOT
: Root path of http server. Default: `/`.
-grpc-addr | $OCIS_GRPC_ADDR
: Address to bind grpc server. Default: `0.0.0.0:9001`.
-extensions | $OCIS_RUN_EXTENSIONS
: Run specific extensions during supervised mode.
### ocis kill
@@ -215,6 +191,58 @@ Usage: `ocis run [command options] [arguments...]`
### ocis server
Start fullstack server
Usage: `ocis server [command options] [arguments...]`
-debug-addr | $OCIS_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0: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: `0.0.0.0:9000`.
-http-root | $OCIS_HTTP_ROOT
: Root path of http server. Default: `/`.
-grpc-addr | $OCIS_GRPC_ADDR
: Address to bind grpc server. Default: `0.0.0.0:9001`.
-extensions | $OCIS_RUN_EXTENSIONS
: Run specific extensions during supervised mode.
### ocis health
@@ -244,34 +272,6 @@ Usage: `ocis health [command options] [arguments...]`
### ocis list
Lists running ocis extensions
Usage: `ocis list [command options] [arguments...]`
@@ -283,21 +283,57 @@ There are more subcommands to start the individual extensions. Please check the
Start storage and data provider for /home mount
#### ocis storage-metadata
#### ocis storage-public-link
Start storage and data service for metadata
Start storage public link storage
#### ocis idp
#### ocis storage-userprovider
Start idp server
Start storage userprovider service
#### ocis accounts
Start accounts server
#### ocis glauth
Start glauth server
#### ocis ocs
Start ocs server
#### ocis storage-groupprovider
Start storage groupprovider service
#### ocis web
Start web server
#### ocis storage-sharing
Start storage sharing service
#### ocis store
Start a go-micro store
#### ocis webdav
Start webdav server
#### ocis storage-auth-basic
Start storage auth-basic service
#### ocis storage-groupprovider
#### ocis storage-auth-bearer
Start storage groupprovider service
Start storage auth-bearer service
#### ocis storage-metadata
Start storage and data service for metadata
#### ocis storage-users
@@ -307,9 +343,17 @@ Start storage and data provider for /users mount
Start thumbnails server
#### ocis glauth
#### ocis version
Start glauth server
Lists running services with version
#### ocis idp
Start idp server
#### ocis storage-frontend
Start storage frontend
#### ocis settings
@@ -319,55 +363,11 @@ Start settings server
Start storage gateway
#### ocis storage-sharing
#### ocis proxy
Start storage sharing service
#### ocis storage-userprovider
Start storage userprovider service
#### ocis store
Start a go-micro store
Start proxy server
#### ocis storage-app-provider
Start storage app-provider service
#### ocis storage-frontend
Start storage frontend
#### ocis version
Lists running services with version
#### ocis web
Start web server
#### ocis storage-auth-bearer
Start storage auth-bearer service
#### ocis accounts
Start accounts server
#### ocis ocs
Start ocs server
#### ocis storage-public-link
Start storage public link storage
#### ocis proxy
Start proxy server
#### ocis webdav
Start webdav server