Skip to content

Commit

Permalink
commit 8bda1d1
Browse files Browse the repository at this point in the history
Merge: bbac85d 41b26a3
Author: Jörn Friedrich Dreyer <jfd@butonic.de>
Date:   Thu Aug 12 22:06:27 2021 +0200

    Merge pull request #2380 from owncloud/non-root-docker-image

    make image not using root user
  • Loading branch information
butonic committed Aug 12, 2021
1 parent ae18eb2 commit 6a6cdbd
Show file tree
Hide file tree
Showing 15 changed files with 765 additions and 765 deletions.
334 changes: 167 additions & 167 deletions extensions/accounts/configuration.md

Large diffs are not rendered by default.

176 changes: 88 additions & 88 deletions extensions/glauth/configuration.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-08-12T20:09:36+0000"
date: "2021-08-12T20:11:19+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/glauth/templates
Expand Down Expand Up @@ -35,255 +35,255 @@ 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.

### glauth health
### glauth server

Check health status
Start integrated server

Usage: `glauth health [command options] [arguments...]`
Usage: `glauth server [command options] [arguments...]`





-debug-addr | $GLAUTH_DEBUG_ADDR
: Address to debug endpoint. Default: `"0.0.0.0:9129"`.

-log-file | $GLAUTH_LOG_FILE , $OCIS_LOG_FILE
: Enable log to file.


-config-file | $GLAUTH_CONFIG_FILE
: Path to config file. Default: `""`.


-tracing-enabled | $GLAUTH_TRACING_ENABLED
: Enable sending traces.


-tracing-type | $GLAUTH_TRACING_TYPE
: Tracing backend type. Default: `"jaeger"`.


-tracing-endpoint | $GLAUTH_TRACING_ENDPOINT
: Endpoint for the agent. Default: `""`.


-tracing-collector | $GLAUTH_TRACING_COLLECTOR
: Endpoint for the collector. Default: `""`.


-tracing-service | $GLAUTH_TRACING_SERVICE
: Service name for tracing. Default: `"glauth"`.


-debug-addr | $GLAUTH_DEBUG_ADDR
: Address to bind debug server. Default: `"0.0.0.0:9129"`.


-debug-token | $GLAUTH_DEBUG_TOKEN
: Token to grant metrics access. Default: `""`.


-debug-pprof | $GLAUTH_DEBUG_PPROF
: Enable pprof debugging.


-debug-zpages | $GLAUTH_DEBUG_ZPAGES
: Enable zpages debugging.


-role-bundle-id | $GLAUTH_ROLE_BUNDLE_ID
: roleid used to make internal grpc requests. Default: `"71881883-1768-46bd-a24d-a356a2afdf7f"`.


-ldap-addr | $GLAUTH_LDAP_ADDR
: Address to bind ldap server. Default: `"0.0.0.0:9125"`.


-ldap-enabled | $GLAUTH_LDAP_ENABLED
: Enable ldap server. Default: `true`.


-ldaps-addr | $GLAUTH_LDAPS_ADDR
: Address to bind ldap server. Default: `"0.0.0.0:9126"`.


-ldaps-enabled | $GLAUTH_LDAPS_ENABLED
: Enable ldap server. Default: `true`.


-ldaps-cert | $GLAUTH_LDAPS_CERT
: path to ldaps certificate in PEM format. Default: `flags.OverrideDefaultString(cfg.Ldaps.Cert, path.Join(pkgos.MustUserConfigDir("ocis", "ldap"), "ldap.crt"))`.


-ldaps-key | $GLAUTH_LDAPS_KEY
: path to ldaps key in PEM format. Default: `flags.OverrideDefaultString(cfg.Ldaps.Key, path.Join(pkgos.MustUserConfigDir("ocis", "ldap"), "ldap.key"))`.

### glauth ocis-glauth

Serve GLAuth API for oCIS
-backend-basedn | $GLAUTH_BACKEND_BASEDN
: base distinguished name to expose. Default: `"dc=example,dc=org"`.

Usage: `glauth ocis-glauth [command options] [arguments...]`

-backend-name-format | $GLAUTH_BACKEND_NAME_FORMAT
: name attribute for entries to expose. typically cn or uid. Default: `"cn"`.

-log-level | $GLAUTH_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.

-backend-group-format | $GLAUTH_BACKEND_GROUP_FORMAT
: name attribute for entries to expose. typically ou, cn or dc. Default: `"ou"`.

-log-pretty | $GLAUTH_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.

-backend-ssh-key-attr | $GLAUTH_BACKEND_SSH_KEY_ATTR
: ssh key attribute for entries to expose. Default: `"sshPublicKey"`.

-log-color | $GLAUTH_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.

-backend-datastore | $GLAUTH_BACKEND_DATASTORE
: datastore to use as the backend. one of accounts, ldap or owncloud. Default: `"accounts"`.


-backend-insecure | $GLAUTH_BACKEND_INSECURE
: Allow insecure requests to the datastore. Default: `false`.


-backend-server | $GLAUTH_BACKEND_SERVERS
: `--backend-server http://internal1.example.com [--backend-server http://internal2.example.com]`. Default: `cli.NewStringSlice("https://demo.owncloud.com/apps/graphapi/v1.0")`.


-backend-use-graphapi | $GLAUTH_BACKEND_USE_GRAPHAPI
: use Graph API, only for owncloud datastore. Default: `true`.


-fallback-basedn | $GLAUTH_FALLBACK_BASEDN
: base distinguished name to expose. Default: `"dc=example,dc=org"`.


-fallback-name-format | $GLAUTH_FALLBACK_NAME_FORMAT
: name attribute for entries to expose. typically cn or uid. Default: `"cn"`.


-fallback-group-format | $GLAUTH_FALLBACK_GROUP_FORMAT
: name attribute for entries to expose. typically ou, cn or dc. Default: `"ou"`.


-fallback-ssh-key-attr | $GLAUTH_FALLBACK_SSH_KEY_ATTR
: ssh key attribute for entries to expose. Default: `"sshPublicKey"`.


-fallback-datastore | $GLAUTH_FALLBACK_DATASTORE
: datastore to use as the fallback. one of accounts, ldap or owncloud. Default: `""`.


-fallback-insecure | $GLAUTH_FALLBACK_INSECURE
: Allow insecure requests to the datastore. Default: `false`.


-fallback-server | $GLAUTH_FALLBACK_SERVERS
: `--fallback-server http://internal1.example.com [--fallback-server http://internal2.example.com]`. Default: `cli.NewStringSlice("https://demo.owncloud.com/apps/graphapi/v1.0")`.


-fallback-use-graphapi | $GLAUTH_FALLBACK_USE_GRAPHAPI
: use Graph API, only for owncloud datastore. Default: `true`.


-extensions |
: Run specific extensions during supervised mode. This flag is set by the runtime.

### 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 server

Start integrated server

Usage: `glauth server [command options] [arguments...]`






-log-file | $GLAUTH_LOG_FILE , $OCIS_LOG_FILE
: Enable log to file.


-config-file | $GLAUTH_CONFIG_FILE
: Path to config file. Default: `""`.


-tracing-enabled | $GLAUTH_TRACING_ENABLED
: Enable sending traces.


-tracing-type | $GLAUTH_TRACING_TYPE
: Tracing backend type. Default: `"jaeger"`.


-tracing-endpoint | $GLAUTH_TRACING_ENDPOINT
: Endpoint for the agent. Default: `""`.


-tracing-collector | $GLAUTH_TRACING_COLLECTOR
: Endpoint for the collector. Default: `""`.


-tracing-service | $GLAUTH_TRACING_SERVICE
: Service name for tracing. Default: `"glauth"`.


-debug-addr | $GLAUTH_DEBUG_ADDR
: Address to bind debug server. Default: `"0.0.0.0:9129"`.


-debug-token | $GLAUTH_DEBUG_TOKEN
: Token to grant metrics access. Default: `""`.


-debug-pprof | $GLAUTH_DEBUG_PPROF
: Enable pprof debugging.


-debug-zpages | $GLAUTH_DEBUG_ZPAGES
: Enable zpages debugging.


-role-bundle-id | $GLAUTH_ROLE_BUNDLE_ID
: roleid used to make internal grpc requests. Default: `"71881883-1768-46bd-a24d-a356a2afdf7f"`.


-ldap-addr | $GLAUTH_LDAP_ADDR
: Address to bind ldap server. Default: `"0.0.0.0:9125"`.
### glauth ocis-glauth

Serve GLAuth API for oCIS

-ldap-enabled | $GLAUTH_LDAP_ENABLED
: Enable ldap server. Default: `true`.
Usage: `glauth ocis-glauth [command options] [arguments...]`


-ldaps-addr | $GLAUTH_LDAPS_ADDR
: Address to bind ldap server. Default: `"0.0.0.0:9126"`.
-log-level | $GLAUTH_LOG_LEVEL , $OCIS_LOG_LEVEL
: Set logging level.


-ldaps-enabled | $GLAUTH_LDAPS_ENABLED
: Enable ldap server. Default: `true`.
-log-pretty | $GLAUTH_LOG_PRETTY , $OCIS_LOG_PRETTY
: Enable pretty logging.


-ldaps-cert | $GLAUTH_LDAPS_CERT
: path to ldaps certificate in PEM format. Default: `flags.OverrideDefaultString(cfg.Ldaps.Cert, path.Join(pkgos.MustUserConfigDir("ocis", "ldap"), "ldap.crt"))`.
-log-color | $GLAUTH_LOG_COLOR , $OCIS_LOG_COLOR
: Enable colored logging.


-ldaps-key | $GLAUTH_LDAPS_KEY
: path to ldaps key in PEM format. Default: `flags.OverrideDefaultString(cfg.Ldaps.Key, path.Join(pkgos.MustUserConfigDir("ocis", "ldap"), "ldap.key"))`.


-backend-basedn | $GLAUTH_BACKEND_BASEDN
: base distinguished name to expose. Default: `"dc=example,dc=org"`.


-backend-name-format | $GLAUTH_BACKEND_NAME_FORMAT
: name attribute for entries to expose. typically cn or uid. Default: `"cn"`.


-backend-group-format | $GLAUTH_BACKEND_GROUP_FORMAT
: name attribute for entries to expose. typically ou, cn or dc. Default: `"ou"`.


-backend-ssh-key-attr | $GLAUTH_BACKEND_SSH_KEY_ATTR
: ssh key attribute for entries to expose. Default: `"sshPublicKey"`.


-backend-datastore | $GLAUTH_BACKEND_DATASTORE
: datastore to use as the backend. one of accounts, ldap or owncloud. Default: `"accounts"`.


-backend-insecure | $GLAUTH_BACKEND_INSECURE
: Allow insecure requests to the datastore. Default: `false`.


-backend-server | $GLAUTH_BACKEND_SERVERS
: `--backend-server http://internal1.example.com [--backend-server http://internal2.example.com]`. Default: `cli.NewStringSlice("https://demo.owncloud.com/apps/graphapi/v1.0")`.


-backend-use-graphapi | $GLAUTH_BACKEND_USE_GRAPHAPI
: use Graph API, only for owncloud datastore. Default: `true`.


-fallback-basedn | $GLAUTH_FALLBACK_BASEDN
: base distinguished name to expose. Default: `"dc=example,dc=org"`.


-fallback-name-format | $GLAUTH_FALLBACK_NAME_FORMAT
: name attribute for entries to expose. typically cn or uid. Default: `"cn"`.


-fallback-group-format | $GLAUTH_FALLBACK_GROUP_FORMAT
: name attribute for entries to expose. typically ou, cn or dc. Default: `"ou"`.


-fallback-ssh-key-attr | $GLAUTH_FALLBACK_SSH_KEY_ATTR
: ssh key attribute for entries to expose. Default: `"sshPublicKey"`.


-fallback-datastore | $GLAUTH_FALLBACK_DATASTORE
: datastore to use as the fallback. one of accounts, ldap or owncloud. Default: `""`.


-fallback-insecure | $GLAUTH_FALLBACK_INSECURE
: Allow insecure requests to the datastore. Default: `false`.


-fallback-server | $GLAUTH_FALLBACK_SERVERS
: `--fallback-server http://internal1.example.com [--fallback-server http://internal2.example.com]`. Default: `cli.NewStringSlice("https://demo.owncloud.com/apps/graphapi/v1.0")`.


-fallback-use-graphapi | $GLAUTH_FALLBACK_USE_GRAPHAPI
: use Graph API, only for owncloud datastore. Default: `true`.


-extensions |
: Run specific extensions during supervised mode. This flag is set by the runtime.

2 changes: 1 addition & 1 deletion extensions/graph-explorer/configuration.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-08-12T20:09:36+0000"
date: "2021-08-12T20:11:19+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph-explorer/templates
Expand Down
2 changes: 1 addition & 1 deletion extensions/graph/configuration.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-08-12T20:09:36+0000"
date: "2021-08-12T20:11:19+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/graph/templates
Expand Down
2 changes: 1 addition & 1 deletion extensions/idp/configuration.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2021-08-12T20:09:36+0000"
date: "2021-08-12T20:11:19+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/idp/templates
Expand Down
Loading

0 comments on commit 6a6cdbd

Please sign in to comment.