diff --git a/docker-compose-dev.yml b/docker-compose-dev.yml index 5f7e9102a..755a16b96 100644 --- a/docker-compose-dev.yml +++ b/docker-compose-dev.yml @@ -58,7 +58,7 @@ services: kafka: image: confluentinc/cp-kafka volumes: - - kafka-data:/var/lib/kafka:Z + - kafka-data:/var/lib/kafka/data:Z environment: KAFKA_BROKER_ID: '0' KAFKA_ZOOKEEPER_CONNECT: 'zookeeper:2181' diff --git a/docker-compose.yml b/docker-compose.yml index daf285469..7f6df78bc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -44,7 +44,7 @@ services: kafka: image: confluentinc/cp-kafka volumes: - - kafka-data:/var/lib/kafka:Z + - kafka-data:/var/lib/kafka/data:Z environment: KAFKA_BROKER_ID: '0' KAFKA_ZOOKEEPER_CONNECT: 'zookeeper:2181'