Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kovalchukrs committed Nov 16, 2023
1 parent 630ab35 commit 7791330
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ WORKDIR $KAFKA_HOME
RUN $KAFKA_HOME/bin/kafka-storage.sh format -t $KAFKA_CLUSTER_ID -c $KAFKA_HOME/config/kraft/server.properties && \
sed -i 's/tmp/opt/' config/kraft/server.properties && \
$KAFKA_HOME/bin/kafka-storage.sh format --cluster-id $KAFKA_CLUSTER_ID --config $KAFKA_HOME/config/kraft/server.properties
EXPOSE 9092 9093
CMD [ "/bin/bash" "-c" "$KAFKA_HOME/bin/kafka-server-start.sh -daemon $KAFKA_HOME/config/kraft/server.properties"]
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3"
services:

app:
kafka:
build:
context: .
dockerfile: Dockerfile
Expand Down

0 comments on commit 7791330

Please sign in to comment.