From 594efc8ec432173cdfc19dbac41fae7596f8a27c Mon Sep 17 00:00:00 2001 From: Ivan Nikolaev-Axenov Date: Thu, 19 Jun 2025 10:24:21 +0300 Subject: [PATCH] kafka Dockerfile created --- clr_test/docker-compose.yml | 4 +--- clr_test/kafka/Dockerfile | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 clr_test/kafka/Dockerfile diff --git a/clr_test/docker-compose.yml b/clr_test/docker-compose.yml index 6527fc142..85c586df5 100644 --- a/clr_test/docker-compose.yml +++ b/clr_test/docker-compose.yml @@ -37,7 +37,7 @@ services: - logs_volume:/opt/clearing/bin/log_artifacts kafka: - image: mirror.gcr.io/bitnami/kafka:4.0.0 + build: kafka container_name: kafka environment: KAFKA_BROKER_ID: 1 @@ -51,8 +51,6 @@ services: KAFKA_CFG_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092 ALLOW_PLAINTEXT_LISTENER: yes KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: true - volumes: - - /builds/mfd/clearing/clr_test/kafka/log4j2.yaml:/opt/bitnami/kafka/config/log4j2.yaml healthcheck: test: kafka-topics.sh --list --bootstrap-server kafka:9092 || exit 1 interval: 1s diff --git a/clr_test/kafka/Dockerfile b/clr_test/kafka/Dockerfile new file mode 100644 index 000000000..11c9c67a0 --- /dev/null +++ b/clr_test/kafka/Dockerfile @@ -0,0 +1,3 @@ +FROM mirror.gcr.io/bitnami/kafka:4.0.0 + +ADD log4j2.yaml /opt/bitnami/kafka/config/ka \ No newline at end of file