Kent, UK

Interface reference

What ONLYOFFICE adds

ONLYOFFICE Docs provides web editors for documents, spreadsheets and presentations. When connected to a platform such as Nextcloud, files can be opened and edited in the browser while storage remains under the control of the self-hosted environment.

Why I use it

File synchronisation alone is not a complete collaboration platform. Adding a document server lets me test the full workflow: storage, browser editing, permissions, reverse proxying, authentication between services and recovery when one component is unavailable.

Integration focus

  • Use a shared JWT secret between Nextcloud and the document server
  • Keep the document server behind trusted HTTPS
  • Back up configuration and database state
  • Monitor conversion queues and container health
  • Test large documents and simultaneous editing
  • Separate persistent data from disposable containers

Docker Compose example

docker-compose.yml
services:
  onlyoffice:
    image: onlyoffice/documentserver:latest
    container_name: onlyoffice
    restart: unless-stopped
    environment:
      JWT_ENABLED: "true"
      JWT_SECRET: "${ONLYOFFICE_JWT_SECRET}"
    ports:
      - "8082:80"
    volumes:
      - ./data:/var/www/onlyoffice/Data
      - ./logs:/var/log/onlyoffice

Official documentation