summaryrefslogtreecommitdiffstats
path: root/docker-compose/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose/docker-compose.yml')
-rwxr-xr-xdocker-compose/docker-compose.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml
index 2878462a36..51bb162b20 100755
--- a/docker-compose/docker-compose.yml
+++ b/docker-compose/docker-compose.yml
@@ -30,6 +30,8 @@ services:
# DB_HOST: dbpostgresql
# DB_USERNAME: ${DB_USERNAME:-cps}
# DB_PASSWORD: ${DB_PASSWORD:-cps}
+ # #KAFKA_BOOTSTRAP_SERVER: kafka:9092
+ # #notification.data-updated.enabled: 'true'
# restart: unless-stopped
# depends_on:
# - dbpostgresql
@@ -45,6 +47,8 @@ services:
# DB_HOST: dbpostgresql
# DB_USERNAME: ${DB_USERNAME:-cps}
# DB_PASSWORD: ${DB_PASSWORD:-cps}
+ # #KAFKA_BOOTSTRAP_SERVER: kafka:9092
+ # #notification.data-updated.enabled: 'true'
# restart: unless-stopped
# depends_on:
# - dbpostgresql
@@ -60,6 +64,8 @@ services:
DB_HOST: dbpostgresql
DB_USERNAME: ${DB_USERNAME:-cps}
DB_PASSWORD: ${DB_PASSWORD:-cps}
+ #KAFKA_BOOTSTRAP_SERVER: kafka:9092
+ #notification.data-updated.enabled: 'true'
restart: unless-stopped
depends_on:
- dbpostgresql
@@ -73,3 +79,25 @@ services:
POSTGRES_DB: cpsdb
POSTGRES_USER: ${DB_USERNAME:-cps}
POSTGRES_PASSWORD: ${DB_PASSWORD:-cps}
+
+# zookeeper:
+# image: confluentinc/cp-zookeeper:6.1.1
+# environment:
+# ZOOKEEPER_CLIENT_PORT: 2181
+# ZOOKEEPER_TICK_TIME: 2000
+# ports:
+# - 22181:2181
+#
+# kafka:
+# image: confluentinc/cp-kafka:6.1.1
+# depends_on:
+# - zookeeper
+# ports:
+# - 29092:29092
+# environment:
+# KAFKA_BROKER_ID: 1
+# KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
+# KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092,PLAINTEXT_HOST://localhost:29092
+# KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT
+# KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT
+# KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1