Container 'matrix-synapse'

Ressourcen

4 GB RAM

4 Cores

5 GB HDD (root-fs)

25 GB HDD (/var/www)

System

interne IPs

10.2.0.16, fd00:10:2:0::16

10.3.0.16, fd00:10:3:0::16

Dienste

matrix-synapse

Installation

Standard-Template mit Benutzern

Matrix Synapse

Matrix-Synapse Repository hinzufügen

sudo apt-get install -y lsb-release wget apt-transport-https

sudo wget -O /usr/share/keyrings/matrix-org-archive-keyring.gpg https://packages.matrix.org/debian/matrix-org-archive-keyring.gpg

echo "deb [signed-by=/usr/share/keyrings/matrix-org-archive-keyring.gpg] https://packages.matrix.org/debian/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/matrix-org.list

sudo apt-get update

Matrix-Synapse installieren

sudo apt-get install matrix-synapse-py3

Konfigurationen erstellen

FIXME

Dienst aktivieren und neustarten

sudo systemctl enable matrix-synapse.service

sudo systemctl restart matrix-synapse.service

Backup mit Borgmatic

Installation siehe mariadb

Konfiguration

...
location:
# List of source directories to backup (required). Globs and
# tildes are expanded.
source_directories:
- /etc
- /home
- /root
- /var/log
- /var/lib/matrix-synapse
...