No description
Find a file
2020-11-26 22:19:18 +00:00
defaults Shortened variable prefix; Fixed Nextcloud integration 2020-04-16 21:23:14 +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 Do not run a health check against the service while in check mode 2020-11-26 22:19:18 +00:00
templates Shortened variable prefix; Fixed Nextcloud integration 2020-04-16 21:23:14 +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 Updated README 2020-04-16 22:04:11 +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 as well as the JWT secret

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_virtual_host The host under which ONLYOFFICE is available from the outside (e.g. docsrv.example.org) localhost
onlyoffice_allow_origin_list Satisfy CORS Access-Control-Allow-Origin:
A comma-separated list of hosts incl. scheme, e.g. https://nextcloud.example.tld
localhost
onlyoffice_jwt_enabled Whether JWT authentication should be used "false"
onlyoffice_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.