add dendrite

This commit is contained in:
2021-01-17 15:26:31 +01:00
parent bdd09a39bb
commit f561591cc7
4 changed files with 49 additions and 0 deletions

13
dendrite/entrypoint.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
if [ ! -f /usr/local/etc/dendrite.yaml ]; then
cp /usr/local/share/dendrite-config.yaml /usr/local/etc/dendrite.yaml
fi
if [ ! -f /usr/local/etc/matrix_key.pem ]; then
/usr/local/bin/generate-keys --private-key /usr/local/etc/matrix_key.pem
fi
/usr/local/bin/dendrite-monolith-server --config /usr/local/etc/dendrite.yaml