This is an old revision of the document!
How I Installed matrix-synapse
1. Set your DNS records.
2. Spin up a beefy container.
- RAM: 4 GiB
- Swap: 8 GiB
- Cores: 4
- Root disk space: 180 GiB
3. Install matrix-synapse stable.
Follow this guide.
I found the trickiest bit to be installing the matrix-synapse repositories, which is not very tricky.
sudo apt 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 update
sudo apt install matrix-synapse-py3
4. Install Postgresql.
They said not to use SQLite in production, so I installed Postgresql inside the server container.
I will migrate it to a separate container later. The trick is that the port is exposed within the proxmox environment, so it should be no different than changing the hostname from something like localhost to matrix-db.pluto.sks.lan etc.
Follow this guide.