mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-30 07:18:09 +02:00
- Removed obsolete 'cmp' category, introduced 'stk' category (fa-bars-staggered icon). - Renamed roles: * cmp-db-docker → sys-stk-back-stateful * cmp-docker-oauth2 → sys-stk-back-stateless * srv-domain-provision → sys-stk-front * cmp-db-docker-proxy → sys-stk-full-stateful * cmp-docker-proxy → sys-stk-full-stateless * cmp-rdbms → sys-svc-rdbms - Updated all include_role references, vars, templates and README.md files. - Adjusted run_once comments and variable paths accordingly. - Updated all web-app roles to use new sys-stk/* and sys-svc/* roles. Conversation: https://chatgpt.com/share/68b0ba66-09f8-800f-86fc-76c47009d431
Docker Collabora (DRAFT)
Description
This Ansible role deploys Collabora Online (CODE) in Docker to enable real-time, in-browser document editing for Nextcloud. It automates the setup of the Collabora CODE container, Nginx reverse proxy configuration, network isolation via Docker networks, and environment variable management.
Overview
- Dockerized Collabora CODE: Uses the official
collabora/code
image. - Nginx Reverse Proxy: Configures a public-facing proxy with TLS termination and WebSocket support for
/cool/
paths. - Docker Network Management: Creates an isolated
/28
subnet for Collabora and connects containers securely. - Environment Configuration: Generates a
.env
file with domain, credentials, and extra parameters for Collabora's WOPI server.
Features
- Automatic creation of a dedicated Docker network for Collabora.
- Proxy configuration template for Nginx with long timeouts and WebSocket upgrades.
- Customizable domain names and ports via Ansible variables.
- Support for SSL termination at the proxy level.
- Integration hooks to restart Nginx and recreate Docker Compose stacks on changes.
Documentation
See the role’s README.md
, task files, and Jinja2 templates in the roles/web-svc-collabora
directory for usage examples and variable definitions.