matrixdotorg/dendrite-monolith

By matrixdotorg

Updated 26 days ago

Dendrite in a single process

Image

500K+

Dendrite Monolith

These are Docker images for a Dendrite monolith deployment, which contains all Dendrite components in a single process.

Compose files

There are sample docker-compose files in the docker folder of the Dendrite repository:

  • docker-compose.deps.yml which runs the Postgres (and optionally, Kafka) prerequisites
  • docker-compose.monolith.yml which runs a monolith Dendrite deployment

Configuration

The 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 repository
  • matrix_key.pem server key, as generated using cmd/generate-keys
  • server.crt certificate file
  • server.key private key file for the above certificate

To 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 Command

docker pull matrixdotorg/dendrite-monolith