Published: 25.05.2021 | Edited: 25.05.2021 | Tags: 100daystooffload,nextcloud,nginx

Install Nextcloud with Onlyoffice with docker-compose

I was able to install Nextcloud with Onlyoffice for collaborative spreadsheets as they are quite useful when cooperating with other members of a team, especially because Markdown support for tables is not very interactive and also lacks the familiar WYSIWYG feeling people are used to when using a proper spreadsheet interface.

  1. Follow steps in the https://github.com/ONLYOFFICE/onlyoffice-nextcloud repository
  2. Mount TLS certificates as described in my previous post
  3. Make sure the Nginx listens to both HTTP and HTTPS by further modifying nginx.conf:
server {
  listen 80;
+  listen 443 ssl http2;
+  name_server example.com;

  # other directives

+   ssl_certificate ...;
}

Without listening to both HTTP and HTTPS the Onlyoffice would complain:

Download failed.

Press "OK" to return to document list.

I am sure this setup needs some more work as there is a load of performance, security and privacy warnings under Settings > Administration > Overview, namely SQLite and X-Frame-Options HTTP header, but there has to be a beginning somewhere.

This is a 76th post of #100daystooffload.

Links