Skip to content

OnlyOffice

OnlyOffice provides document editing in the browser. In this stack, it is integrated with Seafile so files can be opened and saved directly from your library.

Core capabilities:

  • Create and edit text documents.
  • Create and edit spreadsheets.
  • Create and edit presentations.

Technical specs

Environment variables

  • TZ: Container timezone.
  • ALLOW_PRIVATE_IP_ADDRESS: Allow callbacks to private/loopback addresses.
  • ALLOW_META_IP_ADDRESS: Allow callbacks to metadata/non-public address ranges.
  • JWT_ENABLED: Enable JWT protection.
  • JWT_SECRET: JWT secret used when JWT is enabled.
  • SECURE_LINK_SECRET: Secret used for nginx secure-link validation of /cache/files/....

Volumes and persistence

  • Required volume mount: /var/www/onlyoffice/Data
  • This is required for VPS and managed platform deployments.

Dependencies and integrations

  • Seafile integration is used for opening and saving files from user libraries.

Customizations in this project

  • Startup wrapper normalizes selected env values.
  • Supports dynamic listen port mapping for managed platforms.
  • Synchronizes nginx secure_link_secret with SECURE_LINK_SECRET.