Easy to setup and full featured matrix server, based on Docker Compose, to participate in an open network for secure, decentralized communication.
Everybody needs an open communication tool without walls and gated communities. This configuration allows you to setup a solid full working matrix server without much hassle.
Docker images containing the Synapse server and the web client Riot. It is orchestrated by the reverse proxy traefik and provides out-of-the-box secure connections with certificates by Let's Encrypt.
Before you start, you have to configure your domain's dynamic name server (DNS) settings by adding the following entries:
A/AAAA record: matrix.YOURDOMAIN.TLD
A/AAAA record: chat.YOURDOMAIN.TLD
SRC record: _matrix._tcp.YOURDOMAIN.TLD matrix.YOURDOMAIN.TLD:8448
After this, you can install the matrix server just with a few easy steps:
- Make sure you have recent versions Docker and Docker Compose working.
- Copy over the configuration file and edit it:
cp env-example .env
- Run docker compose to spin it all up:
docker-compose up -d
Done.
Only three variables you have to specify in the configuration file.
NAME
: A freely choosable name for this server and service.ADMIN_EMAIL
: An email address of the administrator.MATRIX_SERVER_URL
: The domain for the server.MATRIX_CLIENT_URL
: The domain for the web client. Can be the same as the server.
This is Free and Open Source Software. Released under the MIT license. You can use, study share and improve it at your will. Any contribution is highly appreciated. Only together we can make the world a better place.