Matrix

From Organic Design
Revision as of 20:03, 31 May 2020 by Nad (talk | contribs) (stub)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Cone.png This article or section is a stub. Stubs are articles that have not yet received substantial attention from the authors. They are short or insufficient pieces of information and require additions to further increase the article's usefulness. The project values stubs as useful first steps toward complete articles.


Docker installation

First generate a default configuration file for your domain as follows, this will automatically pull the necessary containers as well.

docker run -it --rm --mount type=volume,src=synapse-data,dst=/data -e SYNAPSE_SERVER_NAME=organicdesign.co.nz -e SYNAPSE_REPORT_STATS=yes matrixdotorg/synapse:latest generate

This will create a new volume with your persistent configuration file in it in /var/lib/docker/volumes/synapse-data/_data/homeserver.yaml

Next, run the container on a local-only port so that a reverse proxy can be made from your web-server to handle the HTTPS side of things (not described here).

docker run -d --name synapse --mount type=volume,src=synapse-data,dst=/data -p 127.0.0.1:18008:8008 matrixdotorg/synapse:latest

See also