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:
c2d1acb
)
Dockerfile überarbeitet: Konfiguration nicht mehr hartkodiert
author
Kai Moritz
<kai@juplo.de>
Tue, 22 Nov 2022 18:57:55 +0000
(19:57 +0100)
committer
Kai Moritz
<kai@juplo.de>
Tue, 22 Nov 2022 18:57:55 +0000
(19:57 +0100)
Dockerfile
patch
|
blob
|
history
docker-compose.yml
patch
|
blob
|
history
diff --git
a/Dockerfile
b/Dockerfile
index
4213525
..
4e18a46
100644
(file)
--- a/
Dockerfile
+++ b/
Dockerfile
@@
-2,5
+2,5
@@
FROM openjdk:11-jre
VOLUME /tmp
COPY target/*.jar /opt/app.jar
COPY target/libs /opt/libs
-ENTRYPOINT [ "java", "-jar", "/opt/app.jar"
, "kafka:9092", "test"
]
-CMD [ "DCKR" ]
+ENTRYPOINT [ "java", "-jar", "/opt/app.jar" ]
+CMD [ "
:9092", "test", "
DCKR" ]
diff --git
a/docker-compose.yml
b/docker-compose.yml
index
a100750
..
3ff7c27
100644
(file)
--- a/
docker-compose.yml
+++ b/
docker-compose.yml
@@
-108,4
+108,4
@@
services:
producer:
image: juplo/simple-producer:1.0-SNAPSHOT
- command: producer
+ command:
kafka:9092 test
producer