Repository navigation
Update docs - #1382
Merged
AlexAndBear merged 1 commit intoNov 16, 2026
Merged
Update docs#1382
Conversation
dragonchaser
approved these changes
Nov 16, 2026
AlexAndBear
deleted the
docs-update-8e1811f9-8468-4837-9981-fc955294f6ce
branch
November 16, 2026 13:02
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Several environment-variable descriptions incorrectly narrow their scope or alter documented defaults and availability, potentially causing unintended administrator access, weakened TLS or proxy trust, and broken authentication configuration.
7 open issues
Document OC_ADMIN_USER_ID’s administrator role alongside trash purging · New Document OC_INSECURE’s broader TLS verification impact · New Preserve shared OIDC client ID scope and Android-specific guidance · New Preserve thumbnail limits’ existing scope and availability · New Retain OC_TRUSTED_PROXIES’ main-proxy scope and trust warning · New Restore OC_URL’s public endpoint definition · New Distinguish Web’s scope contract from WebFinger compatibility behavior · New
What changed in this PR
This PR refreshes OpenCloud’s configuration reference and service documentation, updating environment-variable metadata and improving navigation.
Changes:
- Revises global environment-variable descriptions, defaults, types, and introduction versions.
- Corrects table-of-contents anchors in service documentation.
- Documents the Graph role
Labelfield and refreshes configuration-reference timestamps.
| File | Description |
|---|---|
docs/_static/env-vars/webdav_configvars.md |
Refreshes the timestamp. |
docs/_static/env-vars/web_configvars.md |
Refreshes the timestamp. |
docs/_static/env-vars/storage-users_readme.md |
Corrects command-example and trash-bin anchors. |
docs/_static/env-vars/storage-users_configvars.md |
Refreshes the timestamp. |
docs/_static/env-vars/sharing_readme.md |
Corrects the auto-accept shares anchor. |
docs/_static/env-vars/search_readme.md |
Corrects the re-indexing anchor. |
docs/_static/env-vars/ocs_readme.md |
Corrects signing-key section anchors. |
docs/_static/env-vars/graph_readme.md |
Corrects an LDAP anchor and documents role labels. |
docs/_static/env-vars/graph_configvars.md |
Refreshes the timestamp. |
docs/_static/env-vars/global_configvars.md |
Revises global configuration metadata. |
docs/_static/env-vars/frontend_readme.md |
Corrects the read-only attributes anchor. |
docs/_static/env-vars/frontend_configvars.md |
Refreshes the timestamp. |
Review effort: Balanced
| | `IDM_CREATE_DEMO_USERS` | 1.0.0 | bool | The default role assignments the demo users should be setup. | "false" | | ||
| | `OC_ADMIN_USER_ID` | 1.0.0 | string | ID of the user that should receive admin privileges. Consider that the UUID can be encoded in some LDAP deployment configurations like in .ldif files. These need to be decoded beforehand. | "" | | ||
| | `IDM_CREATE_DEMO_USERS` | 1.0.0 | bool | Flag to enable or disable the creation of the demo users. | "false" | | ||
| | `OC_ADMIN_USER_ID` | 1.0.0 | string | ID of the user who collects all necessary information for deletion. Consider that the UUID can be encoded in some LDAP deployment configurations like in .ldif files. These need to be decoded beforehand. | "" | |
| | `OC_HTTP_TLS_ENABLED` | 1.0.0 | bool | Activates TLS for the http based services using the server certifcate and key configured via OC_HTTP_TLS_CERTIFICATE and OC_HTTP_TLS_KEY. If OC_HTTP_TLS_CERTIFICATE is not set a temporary server certificate is generated - to be used with PROXY_INSECURE_BACKEND=true. | "false" | | ||
| | `OC_HTTP_TLS_KEY` | 1.0.0 | string | Path/File name for the TLS certificate key (in PEM format) for the server certificate to use for the http services. | "" | | ||
| | `OC_INSECURE` | 7.3.0 | bool | Whether to verify the server TLS certificates. | "false" | | ||
| | `OC_INSECURE` | 1.0.0 | bool | Allow insecure connections to the OIDC issuer. | "false" | |
| | `OC_MAX_CONCURRENCY` | 1.0.0 | int | Maximum number of concurrent go-routines. Higher values can potentially get work done faster but will also cause more load on the system. Values of 0 or below will be ignored and the default value will be used. | "0" | | ||
| | `OC_METADATA_PREFIX` | 9.0.0 | string | The attribute key prefix of the metadata on disk. Defaults to the native 'user.oc.' prefix. It applies to all storage drivers of the instance, they must share the prefix because it is set process wide. | "" | | ||
| | `OC_OIDC_CLIENT_ID` | 1.0.0 | string | The OIDC client ID which OpenCloud Web uses. This client needs to be set up in your IDP. Note that this setting has no effect when using the builtin IDP. | "web" | | ||
| | `OC_OIDC_CLIENT_ID` | 6.0.0 | string | The OIDC client ID for Android app. | "OpenCloudAndroid" | |
| | `OC_SYSTEM_USER_ID` | 4.0.0 | string | ID of the OpenCloud STORAGE-SYSTEM system user. Admins need to set the ID for the STORAGE-SYSTEM system user in this config option which is then used to reference the user. Any reasonable long string is possible, preferably this would be an UUIDv4 format. | "" | | ||
| | `OC_SYSTEM_USER_IDP` | 4.0.0 | string | IDP of the OpenCloud STORAGE-SYSTEM system user. | "internal" | | ||
| | `OC_THUMBNAILS_ADDITIONAL_SOURCE_TYPES` | 9.0.0 | []string | Additional mime types oc:has-preview is answered with 1 for, the same list the webdav service attempts previews for. The types the build ships are included; this only adds to them. | "[]" | | ||
| | `OC_THUMBNAILS_MAX_INPUT_IMAGE_FILE_SIZE` | next | string | The maximum file size of an image that can be set as the image of a space. A larger one is refused with HTTP 413, because no thumbnail can be made of it, and space images are only shown as thumbnails. Usable common abbreviations: [KB, KiB, MB, MiB, GB, GiB], example: 50MB. An empty value means unlimited. | "50MB" | |
| | `OC_TRANSLATION_PATH` | 1.0.0 | string | (optional) Set this to a path with custom translations to overwrite the builtin translations. Note that file and folder naming rules apply, see the documentation for more details. | "" | | ||
| | `OC_TRUSTED_PROXIES` | 9.1.0 | []string | IP addresses and CIDR ranges of the reverse proxies in front of OpenCloud. The client address is only taken from the header set in PROXY_CLIENT_IP_HEADER if the request comes from one of these. Defaults to the loopback and private network ranges. Set it to the addresses of your reverse proxies if clients can reach OpenCloud from a private network. See the Environment Variable Types description for more details. | "[127.0.0.0/8 ::1/128 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 fc00::/7]" | | ||
| | `OC_URL` | 1.0.0 | string | The public facing URL of the OpenCloud frontend. | "https://localhost:9200" | | ||
| | `OC_TRUSTED_PROXIES` | 9.1.0 | []string | IP addresses and CIDR ranges of the reverse proxies in front of the collaboration service. The client address in the access log is only taken from the header set in COLLABORATION_HTTP_CLIENT_IP_HEADER if the request comes from one of these. Defaults to the loopback and private network ranges. See the Environment Variable Types description for more details. | "[127.0.0.0/8 ::1/128 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 fc00::/7]" | |
| | `OC_TRUSTED_PROXIES` | 9.1.0 | []string | IP addresses and CIDR ranges of the reverse proxies in front of OpenCloud. The client address is only taken from the header set in PROXY_CLIENT_IP_HEADER if the request comes from one of these. Defaults to the loopback and private network ranges. Set it to the addresses of your reverse proxies if clients can reach OpenCloud from a private network. See the Environment Variable Types description for more details. | "[127.0.0.0/8 ::1/128 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 fc00::/7]" | | ||
| | `OC_URL` | 1.0.0 | string | The public facing URL of the OpenCloud frontend. | "https://localhost:9200" | | ||
| | `OC_TRUSTED_PROXIES` | 9.1.0 | []string | IP addresses and CIDR ranges of the reverse proxies in front of the collaboration service. The client address in the access log is only taken from the header set in COLLABORATION_HTTP_CLIENT_IP_HEADER if the request comes from one of these. Defaults to the loopback and private network ranges. See the Environment Variable Types description for more details. | "[127.0.0.0/8 ::1/128 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 fc00::/7]" | | ||
| | `OC_URL` | 1.0.0 | string | URL of the OIDC issuer. It defaults to URL of the builtin IDP. | "https://localhost:9200" | |
Comment on lines
+129
to
+130
| | `WEB_OIDC_CLIENT_ID` | 6.0.0 | string | The OIDC client ID for the OpenCloud web client. The 'WEB_OIDC_CLIENT_ID' setting is only here for backwards compatibility and will be removed in a future release. | "web" | | ||
| | `WEB_OIDC_SCOPE` | 6.0.0 | []string | The OIDC client scopes the OpenCloud web client should request. The 'WEB_OIDC_SCOPE' setting is only here for backwards compatibility and will be removed in a future release. | "[openid profile email]" | |
This was referenced Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This PR updates the documentation.