Jan Christian Grünhage
due to the missing newline, the header was indented [CI SKIP]
|3 years ago|
|root||3 years ago|
|.drone.yml||3 years ago|
|.gitignore||3 years ago|
|Dockerfile||3 years ago|
|LICENSE||3 years ago|
|README.md||3 years ago|
For a complete self hosted chat and VOIP app, you also need a TURN server (for example coturn), and a matrix client (for example Riot.im).
First, start by generating a config file:
docker run \ -e SERVER_NAME=example.com \ -v `pwd`/data:/data \ --rm \ --entrypoint generate \ docker.jcg.re/synapse
There are 2 things you need to take care of here:
After you’re done with that, you might want to change some things in the default configuration.
You will find the configuration file in
Now that you have synapse configured, it’s time to start it up:
docker run \ -v `pwd`/data:/data \ -p 8008:8008 \ -p 8448:8448 \ -n synapse \ docker.jcg.re/synapse
You now should have synapse running and should be able to connect to it from a client.
If you haven’t enabled registration manually in the config file, you can create users from the CLI:
docker exec \ --interactive \ --tty \ synapse \ register_new_matrix_user \ -c /data/config/homeserver.yaml \ http://localhost:8008
The next step would be to put a reverse proxy in front of it for secure client connections, and to install and configure a TURN server.