Skip to content

Commit

Permalink
[incubator-kie-drools-5896] Update docker-compose for drools-quarkus-…
Browse files Browse the repository at this point in the history
…examples-reactive (apache#5897)
  • Loading branch information
tkobayas authored May 8, 2024
1 parent 07a7e81 commit 9e9b72e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9e9b72e

Please sign in to comment.