No description
Find a file
2020-04-01 21:31:21 +02:00
defaults Initial commit 2020-03-30 23:35:18 +02:00
handlers Initial commit 2020-03-30 23:35:18 +02:00
meta Initial commit 2020-03-30 23:35:18 +02:00
tasks Improved and simplified healthcheck. Use with --tags health to run. 2020-04-01 21:31:21 +02:00
templates Initial commit 2020-03-30 23:35:18 +02:00
tests Initial commit 2020-03-30 23:35:18 +02:00
vars Initial commit 2020-03-30 23:35:18 +02:00
.travis.yml Initial commit 2020-03-30 23:35:18 +02:00
LICENSE Initial commit 2020-03-30 23:35:18 +02:00
README.md Initial commit 2020-03-30 23:35:18 +02:00

ONLYOFFICE Document Server (Docker-Compose)

A ONLYOFFICE Document Server server that can be run behind Traefik.

Works e.g. with Nextcloud, Moodle and other open source tools.

To tweak the config of the Document Server, you may have to modify the .env template.

More information regarding ONLYOFFICE Document Server for Docker

After installation:

  • Ensure that the ONLYOFFICE instance URL (e.g. https://documentserver.example.tld) returns a welcome page.
  • Add the ONLYOFFICE App to Nextcloud
  • Go to Nextcloud settings > ONLYOFFICE and set the Document Server URL.

Requirements

  • Ansible (implemented and tested with v2.9)
  • Ubuntu or Debian server
  • Docker Engine + Docker Compose
  • Traefik or another reverse proxy that takes care of TLS

Role Variables

Variable Description Default
docker_user The user who is going to manage/run the Docker Compose services deploy
onlyoffice_document_server_virtual_host The host under which ONLYOFFICE is available from the outside (e.g. docsrv.example.org) localhost
onlyoffice_document_server_http_port HTTP port 80
onlyoffice_document_server_https_port HTTPS port 443
onlyoffice_document_server_jwt_enabled Whether JWT authentication should be used "false"
onlyoffice_document_server_jwt_secret A shared secret used by ONLYOFFICE and the integrator apps, e.g. Nextcloud "secret"

Dependencies

Example Playbook

License

MIT

Author Information

This role was created in 2020 by Jan Beilicke.