Open, interoperable, decentralised real-time communication – reference Matrix homeserver https://github.com/matrix-org/synapse/
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.
cellarspoon f5275b2384
bump config version
6 days ago
.drone.yml Use new image namespace 7 months ago
.env.sample autojoin room config 6 days ago
.gitignore Add .gitignore & README 1 year ago
README.md fix: metadata parsing 3 weeks ago
abra.sh bump config version 6 days ago
compose.keycloak.yml fix: whitelist SSO 1 month ago
compose.smtp.yml feat: smtp support 1 month ago
compose.turn.yml fix: env var + escaping logic 1 month ago
compose.yml autojoin room config 6 days ago
entrypoint.sh.tmpl fix: no hardcoded secrets 1 month ago
homeserver.yaml.tmpl autojoin room config 6 days ago
log.config.tmpl fix: generate new log config 1 month ago

README.md

Matrix (Synapse)

Build Status

  • Category: Apps
  • Status: 0, work-in-progress
  • Image: matrixdotorg/synapse, 4, upstream
  • Healthcheck: Yes
  • Backups: No
  • Email: No
  • Tests: No
  • SSO: No

Basic usage

  1. Set up Docker Swarm and [abra]
  2. Deploy [coop-cloud/traefik]
  3. abra app new matrix-synapse --secrets (optionally with --pass if you'd like to save secrets in pass)
  4. abra app YOURAPPDOMAIN config - be sure to change $DOMAIN to something that resolves to your Docker swarm box
  5. abra app YOURAPPDOMAIN deploy
  6. Create an initial user: abra app YOURAPPDOMAIN run app register_new_matrix_user -c /data/homeserver.yaml http://localhost:8008

Tips & Tricks

Generating a new homeserver.yaml

docker run -it \
  --entrypoint="" \
  -e SYNAPSE_SERVER_NAME=foo.com \
  -e SYNAPSE_REPORT_STATS=no \
  matrixdotorg/synapse:v1.48.0 \
  sh -c '/start.py generate; cat /data/homeserver.yaml' > homeserver.yaml.tmpl`

Generating a new <server>.log.config

docker run -it \
  --entrypoint="" \
  -e SYNAPSE_SERVER_NAME=foo.com \
  -e SYNAPSE_REPORT_STATS=no \
  matrixdotorg/synapse:v1.48.0 \
  sh -c '/start.py generate; cat /data/foo.com.log.config' > log.config