1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-10 11:10:27 +02:00
dockerfiles/synapse
2023-02-09 11:57:43 +08:00
..
docker-compose.yml add synapse 2023-02-09 11:57:43 +08:00
README.md add synapse 2023-02-09 11:57:43 +08:00

synapse

Synapse is a Matrix homeserver implementation developed by the matrix.org core team.

$ docker-compose run --rm synapse bash
>>> cd /data
>>> /start.py generate
>>> grep 'registration_shared_secret' homeserver.yaml
>>> exit

$ docker-compose up -d

$ docker-compose exec synapse bash
>>> cd /data
>>> register_new_matrix_user http://localhost:8008 -c homeserver.yaml --help
>>> sed -i '/registration_shared_secret/s/^/#/' homeserver.yaml
>>> exit

$ docker-compose restart