This document serves as the README for the `docker-matrix` role, a part of the `CyMaIS` project. This role automates the deployment of a Matrix server using Docker.
Matrix is an open-source project that provides a protocol for secure, decentralized, real-time communication. It offers features like end-to-end encrypted chat, VoIP, and file sharing, catering to both individual and enterprise users. With a focus on interoperability, Matrix can bridge with other communication systems, offering a unified platform for messaging and collaboration.
## Dependencies
-`nginx-docker-reverse-proxy` (see `meta/main.yml`)
## Files and Their Functions
1.**`vars/main.yml`**: Defines variables such as `docker_compose_instance_directory`.
2.**`handlers/main.yml`**: Contains handlers like `recreate matrix` for restarting the Matrix service.
3.**`tasks/main.yml`**: Contains main tasks like creating directories and configuration files.
4.**`templates/log.config.j2`**: Template for the Matrix server's logging configuration.
5.**`templates/homeserver.yaml.j2`**: Template for the main configuration file of the Matrix server.
6.**`templates/docker-compose.yml.j2`**: Docker-Compose template for setting up the Matrix server and database.
for db in matrix mautrix_whatsapp_bridge mautrix_telegram_bridge mautrix_signal_bridge mautrix_slack_bridge; do python reset-database-in-central-postgres.py $db; done