dendrite/docker/hub
2020-05-20 17:27:30 +01:00
..
config Some readme and other bits 2020-05-20 17:27:30 +01:00
build.sh Some readme and other bits 2020-05-20 17:27:30 +01:00
docker-compose.deps.yml Working polylith setup and build tools 2020-05-20 17:13:21 +01:00
docker-compose.monolith.yml Working polylith setup and build tools 2020-05-20 17:13:21 +01:00
docker-compose.polylith.yml Working polylith setup and build tools 2020-05-20 17:13:21 +01:00
Dockerfile Initial Docker Hub test 2020-05-20 15:15:48 +01:00
Dockerfile.clientapi Working polylith setup and build tools 2020-05-20 17:13:21 +01:00
Dockerfile.clientproxy Working polylith setup and build tools 2020-05-20 17:13:21 +01:00
Dockerfile.eduserver Working polylith setup and build tools 2020-05-20 17:13:21 +01:00
Dockerfile.federationapi Working polylith setup and build tools 2020-05-20 17:13:21 +01:00
Dockerfile.federationproxy Working polylith setup and build tools 2020-05-20 17:13:21 +01:00
Dockerfile.federationsender Working polylith setup and build tools 2020-05-20 17:13:21 +01:00
Dockerfile.keyserver Working polylith setup and build tools 2020-05-20 17:13:21 +01:00
Dockerfile.mediaapi Working polylith setup and build tools 2020-05-20 17:13:21 +01:00
Dockerfile.monolith Working polylith setup and build tools 2020-05-20 17:13:21 +01:00
Dockerfile.publicroomsapi Working polylith setup and build tools 2020-05-20 17:13:21 +01:00
Dockerfile.roomserver Working polylith setup and build tools 2020-05-20 17:13:21 +01:00
Dockerfile.syncapi Working polylith setup and build tools 2020-05-20 17:13:21 +01:00
push.sh Some readme and other bits 2020-05-20 17:27:30 +01:00
README.md Some readme and other bits 2020-05-20 17:27:30 +01:00

Docker Hub

Building the images

To start with, from the root of the Dendrite repository, build the Docker images:

sh docker/hub/build.sh

Starting a monolith

Create some config:

go run ./cmd/generate-keys \
  --private-key=docker/hub/config/matrix_key.pem \
  --tls-cert=docker/hub/config/server.crt \
  --tls-key=docker/hub/config/server.key
cp docker/hub/config/dendrite-docker.yaml docker/hub/config/dendrite.yml

Start the dependencies:

docker-compose -f docker/hub/docker-compose.deps.yml

... and start a monolith deployment:

docker-compose -f docker/hub/docker-compose.monolith.yml

... or a polylith deployment:

docker-compose -f docker/hub/docker-compose.polylith.yml