2023-09-12 14:35:19 +00:00
|
|
|
## Usage and Components
|
|
|
|
|
|
|
|
Note: as of 2023-09-01 this docker-compose is available internally.
|
|
|
|
|
|
|
|
### Versions
|
|
|
|
|
|
|
|
* Element: https://hub.docker.com/r/vectorim/element-web/tags
|
|
|
|
* Synapse: https://hub.docker.com/r/matrixdotorg/synapse/tags
|
|
|
|
|
|
|
|
### Domains / homeserver.yaml and element-config.json
|
|
|
|
|
|
|
|
* synapseFQDN: on which domain the home server is reachable
|
|
|
|
* elementWebFQDN: on which domain element web will be deployed
|
|
|
|
* homeServerFQDN: the "matrix domain" that identifies the users
|
|
|
|
|
|
|
|
### Sample usage
|
|
|
|
|
|
|
|
Setting up matrix for ...
|
|
|
|
|
|
|
|
- the matrix domain "fn.nf"
|
|
|
|
- the homeserver "homeserver.fn.nf"
|
|
|
|
- element web on m.fn.nf
|
|
|
|
|
2023-09-26 17:52:52 +00:00
|
|
|
- set domains and config via .env
|
2023-09-12 14:35:19 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
homeServerFQDN=homeServerFQDN.sample.matrix.ungleich.cloud
|
|
|
|
synapseFQDN=synapse.sample.matrix.ungleich.cloud
|
|
|
|
elementWebFQDN=elementWebFQDN.sample.matrix.ungleich.cloud
|
2023-09-26 17:52:52 +00:00
|
|
|
dbuser=synapse
|
|
|
|
dbhost=postgres.tws-matrix.ungleich.cloud
|
|
|
|
dbpassword=NEEDTOSETPASSWORD
|
|
|
|
dbname=synapse
|
|
|
|
DOMAIN=synapse.tws-matrix.ungleich.cloud
|
|
|
|
EMAIL=technik@ungleich.ch
|
|
|
|
STAGING=no
|
|
|
|
redishost=redis-node1.ungleich.cloud
|
|
|
|
redisport=7300
|
2023-09-12 14:35:19 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
docker-compose up -d
|
2023-09-26 17:52:52 +00:00
|
|
|
```
|