Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# compose-matrix
This composition aligns Matrix' `synapse` and `riot` with `postgres` and `coturn`.
## Dependencies
- Docker
- Docker Compose
## Opinionated environment
- libre.sh
- seperate data and database ZFS datasets
- Træfik TLS termination
- Turn configuration
- Weave network
## Installation
```
git clone https://lab.libreho.st/ecobytes/compose/compose-matrix.git
cd compose-matrix
docker-compose pull
```
Please refer to the official Docker installation instructions, to proceed with configuring your homeserver.
- https://github.com/matrix-org/synapse/tree/master/docker
- https://github.com/matrix-org/synapse/blob/master/INSTALL.md#setting-up-synapse
- https://github.com/matrix-org/synapse/blob/bee1982d177234d92d06c352a303653eee9c1e98/docs/sample_config.yaml
An exemplary configuration is provided for
- `files/homeserver.yaml.example`
- `riot/config.json.example`
- `turn/turnserver.conf.example`
from which you can adapt your settings. Please make sure to replace the `SECRET` placeholders accordingly when not generating the configuration file automatically.
```
docker-compose up
```
If that works according to your wishes, one may also comment the `logging` sections to verify, you can enable and start your libre.sh application.
```
libre enable
libre start
```
Also see:
- https://github.com/spantaleev/matrix-docker-ansible-deploy
## Maintenance
Update tagged application versions
```
sed -i 's/riot-web:v1.5.3/riot-web:v1.5.6/' docker-compose.yaml
sed -i 's/synapse:v1.5.1/synapse:v1.7.0/' docker-compose.yaml
docker-compose pull synapse riot
```
Recycle chosen containers
docker-compose stop synapse riot && docker-compose rm -f synapse riot && docker-compose up -d
Recycle all containers
```
docker-compose stop
docker-compose rm -f
docker-compose up -d
```
or
libre restart
## License
2019 Ecobytes e.V., Jon Richter, Public Domain.