fly-apps/dendrite/docker-entrypoint.sh

10 lines
227 B
Bash
Raw Normal View History

#!/bin/sh
set -euo pipefail
envsubst < /etc/dendrite/dendrite.in.yaml > /etc/dendrite/dendrite.yaml
echo ${MATRIX_KEY_PEM} | base64 -d > /etc/dendrite/matrix_key.pem
chmod 0660 /etc/dendrite/matrix_key.pem
/usr/bin/dendrite