Merge: f136a580 e17eda71
Author: Willy Kloucek <34452982+wkloucek@users.noreply.github.com>
Date:   Wed Oct 13 15:43:43 2021 +0200

    Merge pull request #2612 from owncloud/dont-expose-services-by-default

    don't expose services by default
This commit is contained in:
Willy Kloucek committed 2021-10-13 13:46:41 +00:00
1 parent f845447987
commit b60dc278a8
14 files changed
+2754 -2747

No files matched your search

+372 -372
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-13T11:49:25+0000"
date: "2021-10-13T13:44:47+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/accounts/templates
@@ -34,124 +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 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
@@ -267,6 +149,339 @@ Usage: `accounts add [command options] [arguments...]`
-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 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 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`.
-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-disk-path | $ACCOUNTS_STORAGE_DISK_PATH
: Path on the local disk, e.g. /var/tmp/ocis/accounts. Default: `""`.
-storage-cs3-provider-addr | $ACCOUNTS_STORAGE_CS3_PROVIDER_ADDR
: bind address for the metadata storage provider. Default: `"localhost:9215"`.
-storage-cs3-data-url | $ACCOUNTS_STORAGE_CS3_DATA_URL
: http endpoint of the metadata storage. Default: `"http://localhost:9216"`.
-storage-cs3-data-prefix | $ACCOUNTS_STORAGE_CS3_DATA_PREFIX
: path prefix for the http endpoint of the metadata storage, without leading slash. Default: `"data"`.
-storage-cs3-jwt-secret | $ACCOUNTS_STORAGE_CS3_JWT_SECRET , $OCIS_JWT_SECRET
: Used to create JWT to talk to reva, should equal reva's jwt-secret. Default: `"Pive-Fumkiu4"`.
-service-user-uuid | $ACCOUNTS_SERVICE_USER_UUID
: uuid of the internal service user (required on EOS). Default: `"95cb8724-03b2-11eb-a0a6-c33ef8ef53ad"`.
-service-user-username | $ACCOUNTS_SERVICE_USER_USERNAME
: username of the internal service user (required on EOS). Default: `""`.
-service-user-uid | $ACCOUNTS_SERVICE_USER_UID
: uid of the internal service user (required on EOS). Default: `0`.
-service-user-gid | $ACCOUNTS_SERVICE_USER_GID
: gid of the internal service user (required on EOS). Default: `0`.
-uid-index-lower-bound | $ACCOUNTS_UID_INDEX_LOWER_BOUND
: define a starting point for the account UID. Default: `0`.
-gid-index-lower-bound | $ACCOUNTS_GID_INDEX_LOWER_BOUND
: define a starting point for the account GID. Default: `1000`.
-uid-index-upper-bound | $ACCOUNTS_UID_INDEX_UPPER_BOUND
: define an ending point for the account UID. Default: `0`.
-gid-index-upper-bound | $ACCOUNTS_GID_INDEX_UPPER_BOUND
: define an ending point for the account GID. Default: `1000`.
-extensions |
: Run specific extensions during supervised mode.
@@ -433,170 +648,6 @@ Usage: `accounts list [command options] [arguments...]`
-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 rebuildIndex
Rebuilds the service's index, i.e. deleting and then re-adding all existing documents
Usage: `accounts rebuildIndex [command options] [arguments...]`
@@ -684,153 +735,102 @@ Usage: `accounts remove [command options] [arguments...]`
### accounts server
### accounts update
Make changes to an existing account
Usage: `accounts update [command options] [arguments...]`
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: `"0.0.0.0:9181"`.
-http-root | $ACCOUNTS_HTTP_ROOT
: Root path of http server. Default: `"/"`.
-http-cache-ttl | $ACCOUNTS_CACHE_TTL
: Set the static assets caching duration in seconds. Default: `604800`.
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
-grpc-addr | $ACCOUNTS_GRPC_ADDR
: Address to bind grpc server. Default: `"0.0.0.0:9180"`.
-name | $ACCOUNTS_NAME
: service name. Default: `"accounts"`.
-accounts-hash-difficulty | $ACCOUNTS_HASH_DIFFICULTY
: accounts password hash difficulty. Default: `11`.
-enabled |
: Enable the account.
-demo-users-and-groups | $ACCOUNTS_DEMO_USERS_AND_GROUPS
: Enable demo users and groups. Default: `true`.
-displayname |
: Set the displayname for the account.
-asset-path | $ACCOUNTS_ASSET_PATH
: Path to custom assets. Default: `""`.
-preferred-name |
: Set the preferred-name for the account.
-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"`.
-on-premises-sam-account-name |
: Set the on-premises-sam-account-name.
-storage-disk-path | $ACCOUNTS_STORAGE_DISK_PATH
: Path on the local disk, e.g. /var/tmp/ocis/accounts. Default: `""`.
-storage-cs3-provider-addr | $ACCOUNTS_STORAGE_CS3_PROVIDER_ADDR
: bind address for the metadata storage provider. Default: `"localhost:9215"`.
-storage-cs3-data-url | $ACCOUNTS_STORAGE_CS3_DATA_URL
: http endpoint of the metadata storage. Default: `"http://localhost:9216"`.
-storage-cs3-data-prefix | $ACCOUNTS_STORAGE_CS3_DATA_PREFIX
: path prefix for the http endpoint of the metadata storage, without leading slash. Default: `"data"`.
-storage-cs3-jwt-secret | $ACCOUNTS_STORAGE_CS3_JWT_SECRET , $OCIS_JWT_SECRET
: Used to create JWT to talk to reva, should equal reva's jwt-secret. Default: `"Pive-Fumkiu4"`.
-service-user-uuid | $ACCOUNTS_SERVICE_USER_UUID
: uuid of the internal service user (required on EOS). Default: `"95cb8724-03b2-11eb-a0a6-c33ef8ef53ad"`.
-service-user-username | $ACCOUNTS_SERVICE_USER_USERNAME
: username of the internal service user (required on EOS). Default: `""`.
-service-user-uid | $ACCOUNTS_SERVICE_USER_UID
: uid of the internal service user (required on EOS). Default: `0`.
-service-user-gid | $ACCOUNTS_SERVICE_USER_GID
: gid of the internal service user (required on EOS). Default: `0`.
-uid-index-lower-bound | $ACCOUNTS_UID_INDEX_LOWER_BOUND
: define a starting point for the account UID. Default: `0`.
-gid-index-lower-bound | $ACCOUNTS_GID_INDEX_LOWER_BOUND
: define a starting point for the account GID. Default: `1000`.
-uid-index-upper-bound | $ACCOUNTS_UID_INDEX_UPPER_BOUND
: define an ending point for the account UID. Default: `0`.
-gid-index-upper-bound | $ACCOUNTS_GID_INDEX_UPPER_BOUND
: define an ending point for the account GID. Default: `1000`.
-extensions |
: Run specific extensions during supervised mode.
-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.
+5 -5
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-13T11:50:21+0000"
date: "2021-10-13T13:45:45+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/glauth/templates
@@ -46,7 +46,7 @@ Usage: `glauth health [command options] [arguments...]`
-debug-addr | $GLAUTH_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9129"`.
: Address to debug endpoint. Default: `"127.0.0.1:9129"`.
@@ -177,7 +177,7 @@ Usage: `glauth server [command options] [arguments...]`
-debug-addr | $GLAUTH_DEBUG_ADDR
: Address to bind debug server. Default: `"0.0.0.0:9129"`.
: Address to bind debug server. Default: `"127.0.0.1:9129"`.
-debug-token | $GLAUTH_DEBUG_TOKEN
@@ -197,7 +197,7 @@ Usage: `glauth server [command options] [arguments...]`
-ldap-addr | $GLAUTH_LDAP_ADDR
: Address to bind ldap server. Default: `"0.0.0.0:9125"`.
: Address to bind ldap server. Default: `"127.0.0.1:9125"`.
-ldap-enabled | $GLAUTH_LDAP_ENABLED
@@ -205,7 +205,7 @@ Usage: `glauth server [command options] [arguments...]`
-ldaps-addr | $GLAUTH_LDAPS_ADDR
: Address to bind ldap server. Default: `"0.0.0.0:9126"`.
: Address to bind ldap server. Default: `"127.0.0.1:9126"`.
-ldaps-enabled | $GLAUTH_LDAPS_ENABLED
+4 -4
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-13T11:50:21+0000"
date: "2021-10-13T13:45:45+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph-explorer/templates
@@ -84,7 +84,7 @@ Usage: `graph-explorer health [command options] [arguments...]`
-debug-addr | $GRAPH_EXPLORER_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9136"`.
: Address to debug endpoint. Default: `"127.0.0.1:9136"`.
@@ -139,7 +139,7 @@ Usage: `graph-explorer server [command options] [arguments...]`
-debug-addr | $GRAPH_EXPLORER_DEBUG_ADDR
: Address to bind debug server. Default: `"0.0.0.0:9136"`.
: Address to bind debug server. Default: `"127.0.0.1:9136"`.
-debug-token | $GRAPH_EXPLORER_DEBUG_TOKEN
@@ -155,7 +155,7 @@ Usage: `graph-explorer server [command options] [arguments...]`
-http-addr | $GRAPH_EXPLORER_HTTP_ADDR
: Address to bind http server. Default: `"0.0.0.0:9135"`.
: Address to bind http server. Default: `"127.0.0.1:9135"`.
-http-root | $GRAPH_EXPLORER_HTTP_ROOT
+81 -81
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-13T11:50:21+0000"
date: "2021-10-13T13:45:45+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph/templates
@@ -35,6 +35,85 @@ 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.
### 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
: spaces webdav base URL to use when rendering drive WabDAV URLs. Default: `"https://localhost:9200/dav/spaces/"`.
-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.
### graph health
Check health status
@@ -47,7 +126,7 @@ Usage: `graph health [command options] [arguments...]`
-debug-addr | $GRAPH_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9124"`.
: Address to debug endpoint. Default: `"127.0.0.1:9124"`.
@@ -106,82 +185,3 @@ Usage: `graph ocis-graph [command options] [arguments...]`
### graph server
Start integrated server
Usage: `graph server [command options] [arguments...]`
-log-file | $GRAPH_LOG_FILE , $OCIS_LOG_FILE
: Enable log to file.
-tracing-enabled | $GRAPH_TRACING_ENABLED , $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: `"0.0.0.0:9124"`.
-debug-token | $GRAPH_DEBUG_TOKEN
: Token to grant metrics access. Default: `""`.
-debug-pprof | $GRAPH_DEBUG_PPROF
: Enable pprof debugging.
-debug-zpages | $GRAPH_DEBUG_ZPAGES
: Enable zpages debugging.
-http-addr | $GRAPH_HTTP_ADDR
: Address to bind http server. Default: `"0.0.0.0:9120"`.
-http-root | $GRAPH_HTTP_ROOT
: Root path of http server. Default: `"/graph"`.
-http-namespace | $GRAPH_HTTP_NAMESPACE
: Set the base namespace for the http service for service discovery. Default: `"com.owncloud.web"`.
-spaces-webdav-base | $GRAPH_SPACES_WEBDAV_BASE
: spaces webdav base URL to use when rendering drive WabDAV URLs. Default: `"https://localhost:9200/dav/spaces/"`.
-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.
+4 -4
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-13T11:50:21+0000"
date: "2021-10-13T13:45:45+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/idp/templates
@@ -46,7 +46,7 @@ Usage: `idp health [command options] [arguments...]`
-debug-addr | $IDP_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9134"`.
: Address to debug endpoint. Default: `"127.0.0.1:9134"`.
@@ -221,7 +221,7 @@ Usage: `idp server [command options] [arguments...]`
-debug-addr | $IDP_DEBUG_ADDR
: Address to bind debug server. Default: `"0.0.0.0:9134"`.
: Address to bind debug server. Default: `"127.0.0.1:9134"`.
-debug-token | $IDP_DEBUG_TOKEN
@@ -237,7 +237,7 @@ Usage: `idp server [command options] [arguments...]`
-http-addr | $IDP_HTTP_ADDR
: Address to bind http server. Default: `"0.0.0.0:9130"`.
: Address to bind http server. Default: `"127.0.0.1:9130"`.
-http-root | $IDP_HTTP_ROOT
+74 -74
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-13T11:50:21+0000"
date: "2021-10-13T13:45:46+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocs/templates
@@ -34,6 +34,77 @@ 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: `"127.0.0.1:9114"`.
### ocs ocis-ocs
Serve OCS API for oCIS
Usage: `ocs ocis-ocs [command options] [arguments...]`
### ocs server
@@ -84,7 +155,7 @@ Usage: `ocs server [command options] [arguments...]`
-debug-addr | $OCS_DEBUG_ADDR
: Address to bind debug server. Default: `"0.0.0.0:9114"`.
: Address to bind debug server. Default: `"127.0.0.1:9114"`.
-debug-token | $OCS_DEBUG_TOKEN
@@ -100,7 +171,7 @@ Usage: `ocs server [command options] [arguments...]`
-http-addr | $OCS_HTTP_ADDR
: Address to bind http server. Default: `"0.0.0.0:9110"`.
: Address to bind http server. Default: `"127.0.0.1:9110"`.
-http-namespace | $OCS_NAMESPACE
@@ -183,75 +254,4 @@ 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...]`
+3 -3
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-13T11:50:21+0000"
date: "2021-10-13T13:45:46+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/proxy/templates
@@ -47,7 +47,7 @@ Usage: `proxy health [command options] [arguments...]`
-debug-addr | $PROXY_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9109"`.
: Address to debug endpoint. Default: `"127.0.0.1:9109"`.
@@ -197,7 +197,7 @@ Usage: `proxy server [command options] [arguments...]`
-debug-addr | $PROXY_DEBUG_ADDR
: Address to bind debug server. Default: `"0.0.0.0:9205"`.
: Address to bind debug server. Default: `"127.0.0.1:9205"`.
-debug-token | $PROXY_DEBUG_TOKEN
+5 -5
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-13T11:50:21+0000"
date: "2021-10-13T13:45:46+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/settings/templates
@@ -46,7 +46,7 @@ Usage: `settings health [command options] [arguments...]`
-debug-addr | $SETTINGS_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9194"`.
: Address to debug endpoint. Default: `"127.0.0.1:9194"`.
@@ -149,7 +149,7 @@ Usage: `settings server [command options] [arguments...]`
-debug-addr | $SETTINGS_DEBUG_ADDR
: Address to bind debug server. Default: `"0.0.0.0:9194"`.
: Address to bind debug server. Default: `"127.0.0.1:9194"`.
-debug-token | $SETTINGS_DEBUG_TOKEN
@@ -165,7 +165,7 @@ Usage: `settings server [command options] [arguments...]`
-http-addr | $SETTINGS_HTTP_ADDR
: Address to bind http server. Default: `"0.0.0.0:9190"`.
: Address to bind http server. Default: `"127.0.0.1:9190"`.
-http-namespace | $SETTINGS_HTTP_NAMESPACE
@@ -181,7 +181,7 @@ Usage: `settings server [command options] [arguments...]`
-grpc-addr | $SETTINGS_GRPC_ADDR
: Address to bind grpc server. Default: `"0.0.0.0:9191"`.
: Address to bind grpc server. Default: `"127.0.0.1:9191"`.
-asset-path | $SETTINGS_ASSET_PATH
File diff suppressed because it is too large. Load diff
+10 -3
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-13T11:50:22+0000"
date: "2021-10-13T13:45:46+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/store/templates
@@ -47,7 +47,8 @@ Usage: `store health [command options] [arguments...]`
-debug-addr | $STORE_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9460"`.
: Address to debug endpoint. Default: `"127.0.0.1:9464"`.
@@ -104,6 +105,7 @@ Usage: `store ocis-store [command options] [arguments...]`
### store server
Start integrated server
@@ -141,7 +143,7 @@ Usage: `store server [command options] [arguments...]`
-debug-addr | $STORE_DEBUG_ADDR
: Address to bind debug server. Default: `"0.0.0.0:9460"`.
: Address to bind debug server. Default: `"127.0.0.1:9464"`.
-debug-token | $STORE_DEBUG_TOKEN
@@ -160,6 +162,10 @@ Usage: `store server [command options] [arguments...]`
: 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"`.
@@ -197,6 +203,7 @@ Usage: `store version [command options] [arguments...]`
-grpc-namespace | $STORE_GRPC_NAMESPACE
+42 -42
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-13T11:50:22+0000"
date: "2021-10-13T13:45:47+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/thumbnails/templates
@@ -35,6 +35,44 @@ 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.
### 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
@@ -43,7 +81,7 @@ Usage: `thumbnails health [command options] [arguments...]`
-debug-addr | $THUMBNAILS_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9189"`.
: Address to debug endpoint. Default: `"127.0.0.1:9189"`.
@@ -151,7 +189,7 @@ Usage: `thumbnails server [command options] [arguments...]`
-debug-addr | $THUMBNAILS_DEBUG_ADDR
: Address to bind debug server. Default: `"0.0.0.0:9189"`.
: Address to bind debug server. Default: `"127.0.0.1:9189"`.
-debug-token | $THUMBNAILS_DEBUG_TOKEN
@@ -171,7 +209,7 @@ Usage: `thumbnails server [command options] [arguments...]`
-grpc-addr | $THUMBNAILS_GRPC_ADDR
: Address to bind grpc server. Default: `"0.0.0.0:9185"`.
: Address to bind grpc server. Default: `"127.0.0.1:9185"`.
-grpc-namespace | $THUMBNAILS_GRPC_NAMESPACE
@@ -203,41 +241,3 @@ Usage: `thumbnails server [command options] [arguments...]`
### 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"`.
+44 -44
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-13T11:50:23+0000"
date: "2021-10-13T13:45:47+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/web/templates
@@ -74,6 +74,47 @@ 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
@@ -124,7 +165,7 @@ Usage: `web server [command options] [arguments...]`
-debug-addr | $WEB_DEBUG_ADDR
: Address to bind debug server. Default: `"0.0.0.0:9104"`.
: Address to bind debug server. Default: `"127.0.0.1:9104"`.
-debug-token | $WEB_DEBUG_TOKEN
@@ -140,7 +181,7 @@ Usage: `web server [command options] [arguments...]`
-http-addr | $WEB_HTTP_ADDR
: Address to bind http server. Default: `"0.0.0.0:9100"`.
: Address to bind http server. Default: `"127.0.0.1:9100"`.
-http-root | $WEB_HTTP_ROOT
@@ -205,45 +246,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"`.
+4 -4
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-13T11:50:23+0000"
date: "2021-10-13T13:45:47+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/webdav/templates
@@ -75,7 +75,7 @@ Usage: `webdav health [command options] [arguments...]`
-debug-addr | $WEBDAV_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9119"`.
: Address to debug endpoint. Default: `"127.0.0.1:9119"`.
@@ -149,7 +149,7 @@ Usage: `webdav server [command options] [arguments...]`
-debug-addr | $WEBDAV_DEBUG_ADDR
: Address to bind debug server. Default: `"0.0.0.0:9119"`.
: Address to bind debug server. Default: `"127.0.0.1:9119"`.
-debug-token | $WEBDAV_DEBUG_TOKEN
@@ -165,7 +165,7 @@ Usage: `webdav server [command options] [arguments...]`
-http-addr | $WEBDAV_HTTP_ADDR
: Address to bind http server. Default: `"0.0.0.0:9115"`.
: Address to bind http server. Default: `"127.0.0.1:9115"`.
-http-namespace | $WEBDAV_HTTP_NAMESPACE
+133 -133
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-10-13T11:50:21+0000"
date: "2021-10-13T13:45:46+0000"
weight: 2
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocis/templates
@@ -107,6 +107,34 @@ Usage: `ocis [global options] command [command options] [arguments...]`
## Sub Commands
### ocis kill
Kill an extension by name
Usage: `ocis kill [command options] [arguments...]`
### ocis list
@@ -158,7 +186,7 @@ Usage: `ocis server [command options] [arguments...]`
-debug-addr | $OCIS_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9010`.
: Address to bind debug server. Default: `127.0.0.1:9010`.
-debug-token | $OCIS_DEBUG_TOKEN
@@ -174,7 +202,7 @@ Usage: `ocis server [command options] [arguments...]`
-http-addr | $OCIS_HTTP_ADDR
: Address to bind http server. Default: `0.0.0.0:9000`.
: Address to bind http server. Default: `127.0.0.1:9000`.
-http-root | $OCIS_HTTP_ROOT
@@ -182,12 +210,43 @@ Usage: `ocis server [command options] [arguments...]`
-grpc-addr | $OCIS_GRPC_ADDR
: Address to bind grpc server. Default: `0.0.0.0:9001`.
: Address to bind grpc server. Default: `127.0.0.1:9001`.
-extensions | $OCIS_RUN_EXTENSIONS
: Run specific extensions during supervised mode.
### 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`.
### ocis run
Runs an extension
@@ -213,65 +272,6 @@ 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: `0.0.0.0:9010`.
### ocis kill
Kill an extension by name
Usage: `ocis kill [command options] [arguments...]`
@@ -279,81 +279,17 @@ Usage: `ocis kill [command options] [arguments...]`
There are more subcommands to start the individual extensions. Please check the documentation about their usage and options in the dedicated section of the documentation.
#### ocis storage-public-link
Start storage public link storage
#### ocis webdav
Start webdav server
#### ocis idp
Start idp server
#### ocis settings
Start settings server
#### ocis thumbnails
Start thumbnails server
#### ocis storage-metadata
Start storage and data service for metadata
#### ocis storage-sharing
Start storage sharing service
#### ocis glauth
Start glauth server
#### ocis storage-app-provider
Start storage app-provider service
#### ocis storage-auth-basic
Start storage auth-basic service
#### ocis storage-gateway
Start storage gateway
#### ocis store
Start a go-micro store
#### ocis accounts
Start accounts server
#### ocis storage-frontend
Start storage frontend
#### ocis proxy
Start proxy server
#### ocis storage-groupprovider
Start storage groupprovider service
#### ocis version
#### ocis settings
Lists running services with version
Start settings server
#### ocis storage-home
#### ocis storage-auth-bearer
Start storage and data provider for /home mount
#### ocis storage-userprovider
Start storage userprovider service
Start storage auth-bearer service
#### ocis storage-users
@@ -363,11 +299,75 @@ Start storage and data provider for /users mount
Start web server
#### ocis version
Lists running services with version
#### ocis glauth
Start glauth server
#### ocis idp
Start idp server
#### ocis storage-app-provider
Start storage app-provider service
#### ocis storage-home
Start storage and data provider for /home mount
#### ocis storage-sharing
Start storage sharing service
#### ocis storage-public-link
Start storage public link storage
#### ocis storage-userprovider
Start storage userprovider service
#### ocis storage-frontend
Start storage frontend
#### ocis storage-metadata
Start storage and data service for metadata
#### ocis ocs
Start ocs server
#### ocis storage-auth-bearer
#### ocis proxy
Start storage auth-bearer service
Start proxy server
#### ocis store
Start a go-micro store
#### ocis storage-gateway
Start storage gateway
#### ocis thumbnails
Start thumbnails server
#### ocis webdav
Start webdav server
#### ocis accounts
Start accounts server
#### ocis storage-auth-basic
Start storage auth-basic service