projects
/
demos
/
kafka
/
training
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96a8aea
)
Verbesserungen an Setup/Vorführskript aus intro/docker übernommen
author
Kai Moritz
<kai@juplo.de>
Tue, 22 Nov 2022 18:57:21 +0000
(19:57 +0100)
committer
Kai Moritz
<kai@juplo.de>
Tue, 22 Nov 2022 18:57:21 +0000
(19:57 +0100)
README.sh
patch
|
blob
|
history
docker-compose.yml
patch
|
blob
|
history
diff --git
a/README.sh
b/README.sh
index
30d4be2
..
7cae320
100755
(executable)
--- a/
README.sh
+++ b/
README.sh
@@
-4,7
+4,7
@@
IMAGE=juplo/simple-producer:1.0-SNAPSHOT
if [ "$1" = "cleanup" ]
then
- docker-compose down -v
+ docker-compose down -v
--remove-orphans
mvn clean
exit
fi
@@
-24,6
+24,7
@@
else
fi
docker-compose up setup
+docker-compose ps
docker-compose up -d producer
sleep 5
diff --git
a/docker-compose.yml
b/docker-compose.yml
index
19a1f19
..
a100750
100644
(file)
--- a/
docker-compose.yml
+++ b/
docker-compose.yml
@@
-84,6
+84,7
@@
services:
depends_on:
- kafka-0
+
setup:
image: juplo/toolbox
command: >
@@
-100,6
+101,10
@@
services:
cli:
image: juplo/toolbox
command: sleep infinity
+ depends_on:
+ - kafka-1
+ - kafka-2
+ - kafka-3
producer:
image: juplo/simple-producer:1.0-SNAPSHOT