diff --git a/manual/extension/libreoffice_online.md b/manual/extension/libreoffice_online.md index 9091ed0a..afc73c03 100644 --- a/manual/extension/libreoffice_online.md +++ b/manual/extension/libreoffice_online.md @@ -128,5 +128,11 @@ docker compose up -d ``` ### CollaboraOnline server on a separate host - -If your CollaboraOnline server on a separate host, you just need to modify the `seahub_settings.py` similar to [deploy on the same host](#config-seafile). The only different is you have to change the field `OFFICE_WEB_APP_BASE_URL` to your CollaboraOnline host (e.g., `https://collabora-online.seafile.com/hosting/discovery`). +For independent deployment of CollaboraOnline on a single server, please refer to the [official documentation](https://sdk.collaboraonline.com/docs/installation/CODE_Docker_image.html#code-docker-image). After a successful deployment, you only need to specify the values of the following fields in `seahub_settings.py` and then restart the service. +```py +OFFICE_SERVER_TYPE = 'CollaboraOffice' +ENABLE_OFFICE_WEB_APP = True +OFFICE_WEB_APP_BASE_URL = 'https:///hosting/discovery' +WOPI_ACCESS_TOKEN_EXPIRATION = 30 * 60 +ENABLE_OFFICE_WEB_APP_EDIT = True +``` diff --git a/manual/extension/only_office.md b/manual/extension/only_office.md index cf8c2d3e..c27b3ed9 100644 --- a/manual/extension/only_office.md +++ b/manual/extension/only_office.md @@ -133,14 +133,13 @@ Starting from OnlyOffice Docker-DocumentServer version 7.2, JWT is enabled by de So, for security reason, please **Configure OnlyOffice to use JWT Secret**. ### OnlyOffice on a separate host and URL - -In general, you only need to specify the values ​​of the following fields in `seahub_settings.py` and then restart the service. +For independent deployment of OnlyOffice on a single server, please refer to the [official documentation](https://api.onlyoffice.com/docs/docs-api/get-started/installation/self-hosted/). After a successful deployment, you only need to specify the values of the following fields in `seahub_settings.py` and then restart the service. ```py ENABLE_ONLYOFFICE = True ONLYOFFICE_APIJS_URL = 'http{s}:///web-apps/apps/api/documents/api.js' ONLYOFFICE_JWT_SECRET = '' -OFFICE_PREVIEW_MAX_SIZE = 30 * 1024 * 1024 # preview size, 30 MB +OFFICE_PREVIEW_MAX_SIZE = 30 * 1024 * 1024 ``` ### About SSL