A role to provision Collabora Online Developer Edition (CODE) as a Docker Compose service that can be run behind Traefik.
defaults | ||
handlers | ||
meta | ||
tasks | ||
templates | ||
tests | ||
vars | ||
.travis.yml | ||
LICENSE | ||
README.md |
Collabora Online Developer Edition (Docker-Compose)
A Collabora Online Developer Edition (CODE) server that can be run behind Traefik.
Works e.g. with Nextcloud, Moodle and other open source tools.
To tweak the config of Collabora, you may have to modify the .env
template.
More information regarding CODE for Docker
After installation:
- Ensure that the CODE instance URL (e.g.
https://collabora.example.tld
) returnsOK
. - Add the Collabora App to Nextcloud
- Go to Nextcloud settings > Collabora and set the CODE instance 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 |
collabora_virtual_host | The host under which CODE is available from the outside (e.g. collabora.example.org) | localhost |
collabora_domain_regex_pattern | A regular expression to match hosts that should be allowed to access CODE | localhost |
collabora_admin_user | Used to access to the Admin UI: https:///loleaflet/dist/admin/admin.html | |
collabora_admin_password |
Dependencies
Example Playbook
License
MIT
Author Information
This role was created in 2020 by Jan Beilicke.