Merge: 32241b5a d6f6e8dc
Author: Willy Kloucek <34452982+wkloucek@users.noreply.github.com>
Date:   Tue Aug 31 12:45:44 2021 +0200

    Merge pull request #2450 from owncloud/adapt_examples_to_non_root_image

    adapt examples to non-root docker image
This commit is contained in:
Willy Kloucek committed 2021-08-31 10:48:15 +00:00
1 parent f2846f59eb
commit 9dfb5bc06c
14 files changed
+2302 -2302

No files matched your search

File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-08-31T07:45:00+0000"
date: "2021-08-31T10:47:01+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/glauth/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-08-31T07:45:00+0000"
date: "2021-08-31T10:47:01+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph-explorer/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-08-31T07:45:00+0000"
date: "2021-08-31T10:47:01+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph/templates
+74 -74
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-08-31T07:45:00+0000"
date: "2021-08-31T10:47:01+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/idp/templates
@@ -35,6 +35,79 @@ If multiple variables are listed for one option, they are in order of precedence
If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### 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"`.
### idp health
Check health status
@@ -413,76 +486,3 @@ Usage: `idp server [command options] [arguments...]`
### 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"`.
+106 -106
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-08-31T07:45:00+0000"
date: "2021-08-31T10:47:01+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocs/templates
@@ -35,111 +35,6 @@ If multiple variables are listed for one option, they are in order of precedence
If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### ocs server
Start integrated server
Usage: `ocs server [command options] [arguments...]`
-log-file | $OCS_LOG_FILE , $OCIS_LOG_FILE
: Enable log to file.
-log-level | $OCS_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.
-log-pretty | $OCS_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.
-log-color | $OCS_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.
-config-file | $OCS_CONFIG_FILE
: Path to config file.
-tracing-enabled | $OCS_TRACING_ENABLED , $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: `"0.0.0.0:9114"`.
-debug-token | $OCS_DEBUG_TOKEN
: Token to grant metrics access. Default: `""`.
-debug-pprof | $OCS_DEBUG_PPROF
: Enable pprof debugging.
-debug-zpages | $OCS_DEBUG_ZPAGES
: Enable zpages debugging.
-http-addr | $OCS_HTTP_ADDR
: Address to bind http server. Default: `"0.0.0.0:9110"`.
-http-namespace | $OCS_NAMESPACE
: Set the base namespace for the http namespace. Default: `"com.owncloud.web"`.
-name | $OCS_NAME
: Service name. Default: `"ocs"`.
-http-root | $OCS_HTTP_ROOT
: Root path of http server. Default: `"/ocs"`.
-jwt-secret | $OCS_JWT_SECRET , $OCIS_JWT_SECRET
: Used to dismantle the access token, should equal reva's jwt-secret. Default: `"Pive-Fumkiu4"`.
-account-backend-type | $OCS_ACCOUNT_BACKEND_TYPE
: account-backend-type. Default: `"accounts"`.
-reva-gateway-addr | $OCS_REVA_GATEWAY_ADDR
: REVA Gateway Endpoint. Default: `"127.0.0.1:9142"`.
-idm-address | $OCS_IDM_ADDRESS , $OCIS_URL
: keeps track of the IDM Address. Needed because of Reva requisite of uniqueness for users. Default: `"https://localhost:9200"`.
-users-driver | $OCS_STORAGE_USERS_DRIVER , $STORAGE_USERS_DRIVER
: storage driver for users mount: eg. local, eos, owncloud, ocis or s3. Default: `"ocis"`.
-extensions |
: Run specific extensions during supervised mode.
### ocs version
Print the versions of the running instances
@@ -245,6 +140,111 @@ 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: `"0.0.0.0:9114"`.
-debug-token | $OCS_DEBUG_TOKEN
: Token to grant metrics access. Default: `""`.
-debug-pprof | $OCS_DEBUG_PPROF
: Enable pprof debugging.
-debug-zpages | $OCS_DEBUG_ZPAGES
: Enable zpages debugging.
-http-addr | $OCS_HTTP_ADDR
: Address to bind http server. Default: `"0.0.0.0:9110"`.
-http-namespace | $OCS_NAMESPACE
: Set the base namespace for the http namespace. Default: `"com.owncloud.web"`.
-name | $OCS_NAME
: Service name. Default: `"ocs"`.
-http-root | $OCS_HTTP_ROOT
: Root path of http server. Default: `"/ocs"`.
-jwt-secret | $OCS_JWT_SECRET , $OCIS_JWT_SECRET
: Used to dismantle the access token, should equal reva's jwt-secret. Default: `"Pive-Fumkiu4"`.
-account-backend-type | $OCS_ACCOUNT_BACKEND_TYPE
: account-backend-type. Default: `"accounts"`.
-reva-gateway-addr | $OCS_REVA_GATEWAY_ADDR
: REVA Gateway Endpoint. Default: `"127.0.0.1:9142"`.
-idm-address | $OCS_IDM_ADDRESS , $OCIS_URL
: keeps track of the IDM Address. Needed because of Reva requisite of uniqueness for users. Default: `"https://localhost:9200"`.
-users-driver | $OCS_STORAGE_USERS_DRIVER , $STORAGE_USERS_DRIVER
: storage driver for users mount: eg. local, eos, owncloud, ocis or s3. Default: `"ocis"`.
-extensions |
: Run specific extensions during supervised mode.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-08-31T07:45:00+0000"
date: "2021-08-31T10:47:01+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/proxy/templates
+37 -37
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-08-31T07:45:00+0000"
date: "2021-08-31T10:47:01+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/settings/templates
@@ -34,42 +34,6 @@ If multiple variables are listed for one option, they are in order of precedence
### Commandline flags
If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### settings health
Check health status
Usage: `settings health [command options] [arguments...]`
-debug-addr | $SETTINGS_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9194"`.
### settings ocis-settings
@@ -247,4 +211,40 @@ Usage: `settings version [command options] [arguments...]`
-name | $SETTINGS_NAME
: service name. Default: `"settings"`.
### settings health
Check health status
Usage: `settings health [command options] [arguments...]`
-debug-addr | $SETTINGS_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9194"`.
File diff suppressed because it is too large. Load diff
+70 -70
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-08-31T07:45:01+0000"
date: "2021-08-31T10:47:02+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/store/templates
@@ -35,75 +35,6 @@ If multiple variables are listed for one option, they are in order of precedence
If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### store health
Check health status
Usage: `store health [command options] [arguments...]`
-debug-addr | $STORE_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9460"`.
### 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
@@ -206,3 +137,72 @@ Usage: `store version [command options] [arguments...]`
-name | $STORE_NAME
: Service name. Default: `"store"`.
### store health
Check health status
Usage: `store health [command options] [arguments...]`
-debug-addr | $STORE_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9460"`.
### 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.
+33 -33
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-08-31T07:45:01+0000"
date: "2021-08-31T10:47:02+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/thumbnails/templates
@@ -34,6 +34,38 @@ If multiple variables are listed for one option, they are in order of precedence
### Commandline flags
If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
### thumbnails ocis-thumbnails
Example usage
Usage: `thumbnails ocis-thumbnails [command options] [arguments...]`
### thumbnails server
@@ -202,38 +234,6 @@ Usage: `thumbnails health [command options] [arguments...]`
### thumbnails ocis-thumbnails
Example usage
Usage: `thumbnails ocis-thumbnails [command options] [arguments...]`
+41 -41
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-08-31T07:45:02+0000"
date: "2021-08-31T10:47:03+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"`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-08-31T07:45:02+0000"
date: "2021-08-31T10:47:03+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/webdav/templates
+48 -48
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-08-31T07:45:00+0000"
date: "2021-08-31T10:47:01+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 list
### ocis health
Lists running ocis extensions
Check health status
Usage: `ocis list [command options] [arguments...]`
Usage: `ocis health [command options] [arguments...]`
@@ -128,6 +128,9 @@ Usage: `ocis list [command options] [arguments...]`
-debug-addr | $OCIS_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9010`.
@@ -192,11 +195,11 @@ Usage: `ocis kill [command options] [arguments...]`
### ocis health
### ocis list
Check health status
Lists running ocis extensions
Usage: `ocis health [command options] [arguments...]`
Usage: `ocis list [command options] [arguments...]`
@@ -212,9 +215,6 @@ Usage: `ocis health [command options] [arguments...]`
-debug-addr | $OCIS_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9010`.
@@ -279,21 +279,25 @@ Usage: `ocis server [command options] [arguments...]`
There are more subcommands to start the individual extensions. Please check the documentation about their usage and options in the dedicated section of the documentation.
#### ocis store
#### ocis idp
Start a go-micro store
Start idp server
#### ocis webdav
#### ocis storage-auth-bearer
Start webdav server
Start storage auth-bearer service
#### ocis storage-home
#### ocis accounts
Start storage and data provider for /home mount
Start accounts server
#### ocis storage-userprovider
#### ocis storage-gateway
Start storage userprovider service
Start storage gateway
#### ocis storage-metadata
Start storage and data service for metadata
#### ocis glauth
@@ -303,29 +307,41 @@ Start glauth server
Start settings server
#### ocis storage-groupprovider
Start storage groupprovider service
#### ocis storage-public-link
Start storage public link storage
#### ocis storage-userprovider
Start storage userprovider service
#### ocis version
Lists running services with version
#### ocis thumbnails
Start thumbnails server
#### ocis web
Start web server
#### ocis storage-auth-basic
#### ocis webdav
Start storage auth-basic service
Start webdav server
#### ocis storage-metadata
#### ocis ocs
Start storage and data service for metadata
Start ocs server
#### ocis storage-groupprovider
#### ocis proxy
Start storage groupprovider service
Start proxy server
#### ocis storage-users
@@ -335,35 +351,19 @@ Start storage and data provider for /users mount
Start storage frontend
#### ocis proxy
#### ocis storage-home
Start proxy server
Start storage and data provider for /home mount
#### ocis storage-auth-bearer
#### ocis store
Start storage auth-bearer service
Start a go-micro store
#### ocis storage-auth-basic
Start storage auth-basic service
#### ocis storage-sharing
Start storage sharing service
#### ocis thumbnails
Start thumbnails server
#### ocis storage-gateway
Start storage gateway
#### ocis accounts
Start accounts server
#### ocis idp
Start idp server
#### ocis ocs
Start ocs server