diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2020-10-13 09:50:11 +0100 |
---|---|---|
committer | Neil Alexander <neilalexander@users.noreply.github.com> | 2020-10-13 09:50:11 +0100 |
commit | 2f578531baf5c033ae785501ee955381862ed314 (patch) | |
tree | ace0eaa5cee4acd61304538a4f84af62574c5d47 /build/docker/README.md | |
parent | 8001627cfca89e52389d943f7f148a1a86c71715 (diff) |
Update Docker samples
Diffstat (limited to 'build/docker/README.md')
-rw-r--r-- | build/docker/README.md | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/build/docker/README.md b/build/docker/README.md index 45d96d1c..7bf72e15 100644 --- a/build/docker/README.md +++ b/build/docker/README.md @@ -38,21 +38,38 @@ go run github.com/matrix-org/dendrite/cmd/generate-keys \ --tls-key=server.key ``` -## Starting Dendrite +## Starting Dendrite as a monolith deployment -Once in place, start the dependencies: +Create your config based on the `dendrite.yaml` configuration file in the `docker/config` +folder in the [Dendrite repository](https://github.com/matrix-org/dendrite). Additionally, +make the following changes to the configuration: + +- Enable Naffka: `use_naffka: true` + +Once in place, start the PostgreSQL dependency: ``` -docker-compose -f docker-compose.deps.yml up +docker-compose -f docker-compose.deps.yml up postgres ``` -Wait a few seconds for Kafka and Postgres to finish starting up, and then start a monolith: +Wait a few seconds for PostgreSQL to finish starting up, and then start a monolith: ``` docker-compose -f docker-compose.monolith.yml up ``` -... or start the polylith components: +## Starting Dendrite as a polylith deployment + +Create your config based on the `dendrite.yaml` configuration file in the `docker/config` +folder in the [Dendrite repository](https://github.com/matrix-org/dendrite). + +Once in place, start all the dependencies: + +``` +docker-compose -f docker-compose.deps.yml up +``` + +Wait a few seconds for PostgreSQL and Kafka to finish starting up, and then start a polylith: ``` docker-compose -f docker-compose.polylith.yml up |