From 5fbef0d60395f4a535413865e454b0c36f258287 Mon Sep 17 00:00:00 2001 From: Roger Coll Date: Tue, 2 Jul 2024 15:51:18 +0200 Subject: [PATCH] add Kafka Dockerfile env variable --- .env | 1 + docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.env b/.env index 2300bc23c5..2c49f877ea 100644 --- a/.env +++ b/.env @@ -130,6 +130,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 511883c21f..a6cb868275 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: