personal fork of matrix docker ansible deploy.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
josiah 895c1e32f1 Mergefix. 4 months ago
.github Add Ko-fi donation link 1 year ago
collections Update requirements.yml 6 months ago
docs Fix go-neb sample configuration to not clash with Jinja2 4 months ago
examples Derive matrix_coturn_turn_static_auth_secret from matrix_homeserver_generic_secret_key 4 months ago
group_vars Mergefix. 4 months ago
inventory Remove dimension. 8 months ago
roles Mergefix. 4 months ago
.editorconfig Add comment about trailing whitespace in Markdown 3 years ago
.gitignore Adding '.python-version' to .gitignore 2 years ago Update CHANGELOG 4 months ago
LICENSE Add LICENSE file 4 years ago Update README 4 months ago
ansible.cfg Merge branch 'master' of 1 year ago catch up to submod work. 2 years ago Update documentation. 12 months ago
setup.yml Add initial role for Dendrite as alternative Matrix server 4 months ago
vault_passphrase.gpg Update the vault passphrase, add notes to readme. 1 year ago

Support room on Matrix donate

Matrix (An open network for secure, decentralized communication) server setup using Ansible and Docker


This Ansible playbook is meant to help you run your own Matrix homeserver, along with the various services related to that.

That is, it lets you join the Matrix network using your own @<username>:<your-domain> identifier, all hosted on your own server (see prerequisites).

We run all services in Docker containers (see the container images we use), which lets us have a predictable and up-to-date setup, across multiple supported distros (see prerequisites) and architectures (x86/amd64 being recommended).

Installation (upgrades) and some maintenance tasks are automated using Ansible (see our Ansible guide).

Supported services

Using this playbook, you can get the following services configured on your server:

Basically, this playbook aims to get you up-and-running with all the necessities around Matrix, without you having to do anything else.

Note: the list above is exhaustive. It includes optional or even some advanced components that you will most likely not need. Sticking with the defaults (which install a subset of the above components) is the best choice, especially for a new installation. You can always re-run the playbook later to add or remove components.


To configure and install Matrix on your own server, follow the README in the docs/ directory.


This playbook evolves over time, sometimes with backward-incompatible changes.

When updating the playbook, refer to the changelog to catch up with what's new.


Services by the community

  • - matrix-docker-ansible-deploy and system stuff "as a service". That service will create your matrix homeserver on your domain and server (doesn't matter if it's cloud provider or on an old laptop in the corner of your room), (optional) maintains it (server's system updates, cleanup, security adjustments, tuning, etc.; matrix homeserver updates & maintenance) and (optional) provide full-featured email service for your domain

  • GoMatrixHosting - matrix-docker-ansible-deploy "as a service" with Ansible AWX. Members can be assigned a server from DigitalOcean, or they can connect their on-premises server. This AWX system can manage the updates, configuration, import and export, backups, and monitoring on its own. For more information see our GitLab group or come visit us on Matrix.