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:
1c03b59
)
Schönere YAML-Syntax für `setup`-Service
author
Kai Moritz
<kai@juplo.de>
Fri, 6 Oct 2023 17:13:41 +0000
(19:13 +0200)
committer
Kai Moritz
<kai@juplo.de>
Fri, 6 Oct 2023 17:13:41 +0000
(19:13 +0200)
docker/docker-compose.yml
patch
|
blob
|
history
diff --git
a/docker/docker-compose.yml
b/docker/docker-compose.yml
index
2b677c7
..
e5962eb
100644
(file)
--- a/
docker/docker-compose.yml
+++ b/
docker/docker-compose.yml
@@
-66,8
+66,10
@@
services:
setup:
image: juplo/toolbox
- command: >
- bash -c "
+ command:
+ - bash
+ - -c
+ - |
if [ -e INITIALIZED ]
then
echo -n Bereits konfiguriert:
@@
-88,7
+90,6
@@
services:
&& kafka-topics --bootstrap-server kafka:9092 --describe --topic test \
&& date > INITIALIZED
fi
- "
depends_on:
- kafka-1
- kafka-2