matrixdotorg/dendrite-polylith
Dendrite across multiple processes or machines
100K+
These are Docker images for a Dendrite polylith deployment, in which Dendrite components run in their own processes, or even on their own machines!
There are sample docker-compose
files in the docker folder of the Dendrite repository:
docker-compose.deps.yml
which runs the Postgres and Kafka prerequisitesdocker-compose.polylith.yml
which runs a polylith Dendrite deploymentThe docker-compose
files refer to the /etc/dendrite
volume within the Docker container as where the
runtime config should come from. The mounted folder must contain:
dendrite.yaml
configuration file (based on the sample dendrite-config.yaml
in the docker/config
folder in the Dendrite repositorymatrix_key.pem
server key, as generated using cmd/generate-keys
server.crt
certificate fileserver.key
private key file for the above certificateTo generate keys:
go run github.com/matrix-org/dendrite/cmd/generate-keys \
--private-key=matrix_key.pem \
--tls-cert=server.crt \
--tls-key=server.key
docker pull matrixdotorg/dendrite-polylith