From 996c691a58595d10421587a58ffe00ee978eaa1a Mon Sep 17 00:00:00 2001 From: Roger Coll Date: Tue, 2 Jul 2024 17:32:31 +0200 Subject: [PATCH] add Kafka Dockerfile env variable (#1652) Co-authored-by: Pierre Tessier --- .env | 1 + docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.env b/.env index 376653806d..df84beb707 100644 --- a/.env +++ b/.env @@ -131,6 +131,7 @@ FLAGD_PORT=8013 # Kafka KAFKA_SERVICE_PORT=9092 KAFKA_SERVICE_ADDR=kafka:${KAFKA_SERVICE_PORT} +KAFKA_SERVICE_DOCKERFILE=./src/kafka/Dockerfile # Valkey VALKEY_PORT=6379 diff --git a/docker-compose.yml b/docker-compose.yml index 068eab39f7..1f54b8d960 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -602,7 +602,7 @@ services: container_name: kafka build: context: ./ - dockerfile: ./src/kafka/Dockerfile + dockerfile: ${KAFKA_SERVICE_DOCKERFILE} cache_from: - ${IMAGE_NAME}:${IMAGE_VERSION}-kafka deploy: