portable-services/alpine/matrix
Vladan Popovic 2dc0c15f5d Update the readme to the current state
... will be updated soon again
2021-02-06 00:50:33 +01:00
..
conf [matrix] redoit 2021-02-01 22:08:22 +01:00
scripts Rework the build and include coturn and riot web 2021-02-06 00:43:21 +01:00
systemd Rework the build and include coturn and riot web 2021-02-06 00:43:21 +01:00
README.md Update the readme to the current state 2021-02-06 00:50:33 +01:00
build.sh Rework the build and include coturn and riot web 2021-02-06 00:43:21 +01:00

README.md

Matrix synapse service with a TURN server and riot-web frontend

A collection of systemd services that run synapse, riot-web and a TURN server as systemd portable services.

Building the squashfs image

Run:

$ sh build.sh

It will create a rootfs/ folder with an alpine filesystem, install synapse, compress it into a squashfs image that will be used as a root filesystem for the container.

If the script finished successfully, you should get an ~25M matrix.raw image.

Running the portable services

Attach the container with sudo portablectl attach ./matrix.raw. Start/Stop as any other systemd service, e.g:

sudo systemctl stop matrix.service

Install another existing service

NAME=riot sh build.sh
sudo systemctl start riot.service