aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2020-10-27 13:58:58 +0000
committerNeil Alexander <neilalexander@users.noreply.github.com>2020-10-27 13:58:58 +0000
commitc5888bb64cc4b393bccf0fa79d667680144902d0 (patch)
treeb6a47251eaa1425da0a04f9bb9952e0e456d7e92 /build
parent0af35bec1adeeceef2735fb576979560dcf18f5f (diff)
Update Docker sample configs
Diffstat (limited to 'build')
-rw-r--r--build/docker/docker-compose.deps.yml5
-rw-r--r--build/docker/docker-compose.monolith.yml3
2 files changed, 6 insertions, 2 deletions
diff --git a/build/docker/docker-compose.deps.yml b/build/docker/docker-compose.deps.yml
index 1a27ffac..454fddc2 100644
--- a/build/docker/docker-compose.deps.yml
+++ b/build/docker/docker-compose.deps.yml
@@ -1,5 +1,6 @@
version: "3.4"
services:
+ # PostgreSQL is needed for both polylith and monolith modes.
postgres:
hostname: postgres
image: postgres:9.6
@@ -15,12 +16,14 @@ services:
networks:
- internal
+ # Zookeeper is only needed for polylith mode!
zookeeper:
hostname: zookeeper
image: zookeeper
networks:
- internal
+ # Kafka is only needed for polylith mode!
kafka:
container_name: dendrite_kafka
hostname: kafka
@@ -29,8 +32,6 @@ services:
KAFKA_ADVERTISED_HOST_NAME: "kafka"
KAFKA_DELETE_TOPIC_ENABLE: "true"
KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181"
- ports:
- - 9092:9092
depends_on:
- zookeeper
networks:
diff --git a/build/docker/docker-compose.monolith.yml b/build/docker/docker-compose.monolith.yml
index 8fb79834..024183aa 100644
--- a/build/docker/docker-compose.monolith.yml
+++ b/build/docker/docker-compose.monolith.yml
@@ -7,6 +7,9 @@ services:
"--tls-cert=server.crt",
"--tls-key=server.key"
]
+ ports:
+ - 8008:8008
+ - 8448:8448
volumes:
- ./config:/etc/dendrite
networks: