This repo is meant to build and publish a customized version of Synapse. A instant messaging server implementing Matrix protocol.
The docker image is published to Docker Hub. The version will be :
v[SYNAPSE_VERSION]-[EIMIS_INCREMENTAL_NUMBER]
Files and modules included in the image
Add the following to your /etc/hosts
file:
127.0.0.1 matrix.local
127.0.0.1 idp.local
Some file permission settings:
chmod a+w docker-test-config/mx-data
Then:
docker compose up -d
Tip
If started with docker compose watch
, keycloak image will be rebuilt restarted every time a change is detected in this folders
You can then access:
- Keycloak at http://localhost:8080
- login with
admin
/admin
- You can then go to eimis-realm and create a user
- login with
- Element at http://localhost:1983
- Click on
EIMIS Connect
and login with the user you created in Keycloak
- Click on
- Mailhog at http://localhost:8025
- You should see a e-mail sent with a code
- Paste it in the login screen
- Synapse at http://localhost:8008
Caution
The dev / test environment is pre-configured with secrets and certificats that should obviously not be used in production.