2.5 KiB
2.5 KiB
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.