Open, interoperable, decentralised real-time communication https://matrix.org
Go to file
decentral1se 789d5d0745
fix: thread STACK_NAME again
2021-12-13 12:50:01 +01:00
.drone.yml Use new image namespace 2021-06-21 12:31:29 +02:00
.env.sample fix: no hardcoded secrets 2021-12-13 12:16:23 +01:00
.gitignore Add .gitignore & README 2020-09-08 18:41:20 +02:00
README.md docs: log generation 2021-12-13 12:43:51 +01:00
abra.sh fix: logging config 2021-12-13 12:39:19 +01:00
compose.keycloak.yml fix: no hardcoded secrets 2021-12-13 12:16:23 +01:00
compose.turn.yml fix: no hardcoded secrets 2021-12-13 12:16:23 +01:00
compose.yml fix: thread STACK_NAME again 2021-12-13 12:50:01 +01:00
entrypoint.sh.tmpl fix: no hardcoded secrets 2021-12-13 12:16:23 +01:00
homeserver.yaml.tmpl fix: thread STACK_NAME again 2021-12-13 12:50:01 +01:00
log.config.tmpl fix: generate new log config 2021-12-13 12:42:40 +01:00
nginx.conf.tmpl feat: disable federation 2021-12-12 23:50:45 +01:00

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