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: