This is an automated email from the ASF dual-hosted git repository.

mariofusco pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-drools.git


The following commit(s) were added to refs/heads/main by this push:
     new 9e9b72ed56 [incubator-kie-drools-5896] Update docker-compose for 
drools-quarkus-examples-reactive (#5897)
9e9b72ed56 is described below

commit 9e9b72ed562b7bf3d2e6d943efb40817242c4361
Author: Toshiya Kobayashi <[email protected]>
AuthorDate: Wed May 8 15:26:11 2024 +0900

    [incubator-kie-drools-5896] Update docker-compose for 
drools-quarkus-examples-reactive (#5897)
---
 .../drools-quarkus-examples-reactive/README.md               |  9 +++++++++
 .../drools-quarkus-examples-reactive/docker-compose.yml      | 12 ++++++++++--
 2 files changed, 19 insertions(+), 2 deletions(-)

diff --git 
a/drools-quarkus-extension/drools-quarkus-examples/drools-quarkus-examples-reactive/README.md
 
b/drools-quarkus-extension/drools-quarkus-examples/drools-quarkus-examples-reactive/README.md
index 64170171bf..78ede90c7c 100644
--- 
a/drools-quarkus-extension/drools-quarkus-examples/drools-quarkus-examples-reactive/README.md
+++ 
b/drools-quarkus-extension/drools-quarkus-examples/drools-quarkus-examples-reactive/README.md
@@ -7,12 +7,21 @@ Simply start it with this command from the root of the repo:
 ```
 docker-compose up -d
 ```
+Or, if your docker version supports `docker compose`,
+```
+docker compose up -d
+```
 
 To shutdown the instances.
 
 ```
 docker-compose down
 ```
+or
+```
+docker compose down
+```
+
 
 ### Package and Run in JVM mode
 
diff --git 
a/drools-quarkus-extension/drools-quarkus-examples/drools-quarkus-examples-reactive/docker-compose.yml
 
b/drools-quarkus-extension/drools-quarkus-examples/drools-quarkus-examples-reactive/docker-compose.yml
index 802976737c..c1058b2bcb 100644
--- 
a/drools-quarkus-extension/drools-quarkus-examples/drools-quarkus-examples-reactive/docker-compose.yml
+++ 
b/drools-quarkus-extension/drools-quarkus-examples/drools-quarkus-examples-reactive/docker-compose.yml
@@ -22,14 +22,22 @@ version: '2'
 services:
 
   zookeeper:
-    image: wurstmeister/zookeeper:3.4.6
+    image: strimzi/kafka:latest
+    command: [
+      "sh", "-c",
+      "bin/zookeeper-server-start.sh config/zookeeper.properties"
+    ]
     ports:
       - "2181:2181"
     environment:
       LOG_DIR: "/tmp/logs"
 
   kafka:
-    image: wurstmeister/kafka:2.12-2.2.1
+    image: strimzi/kafka:latest
+    command: [
+      "sh", "-c",
+      "bin/kafka-server-start.sh config/server.properties --override 
inter.broker.listener.name=$${KAFKA_INTER_BROKER_LISTENER_NAME} --override 
listener.security.protocol.map=$${KAFKA_LISTENER_SECURITY_PROTOCOL_MAP} 
--override listeners=$${KAFKA_LISTENERS} --override 
advertised.listeners=$${KAFKA_ADVERTISED_LISTENERS} --override 
zookeeper.connect=$${KAFKA_ZOOKEEPER_CONNECT}"
+    ]
     depends_on:
       - zookeeper
     ports:


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to