Skip to content

Update docs - #1382

Merged
AlexAndBear merged 1 commit into
mainfrom
docs-update-8e1811f9-8468-4837-9981-fc955294f6ce
Nov 16, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
docs-update-8e1811f9-8468-4837-9981-fc955294f6ce

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

This PR updates the documentation.

@AlexAndBear
AlexAndBear marked this pull request as ready for review November 16, 2026 12:59
Copilot AI balanced review requested due to automatic review settings November 16, 2026 12:59
@AlexAndBear
AlexAndBear merged commit 08af756 into main Nov 16, 2026
8 checks passed
@AlexAndBear
AlexAndBear deleted the docs-update-8e1811f9-8468-4837-9981-fc955294f6ce branch November 16, 2026 13:02
@openclouders openclouders mentioned this pull request Nov 16, 2026
1 task

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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
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 Label field 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]" |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

⌂ Proxy