diff --git a/README.md b/README.md index 26da2160..4f746ce0 100644 --- a/README.md +++ b/README.md @@ -58,9 +58,9 @@ Add more brokers: - ```docker-compose scale kafka=3``` -Destroy a cluster: +Stop Kafka cluster and clean up everything -- ```docker-compose stop``` +- ```docker-compose down --volumes``` ## Note diff --git a/docker-compose-single-broker.yml b/docker-compose-single-broker.yml index 4d8e9f51..f90de5c1 100644 --- a/docker-compose-single-broker.yml +++ b/docker-compose-single-broker.yml @@ -5,6 +5,7 @@ services: ports: - "2181:2181" kafka: + image: wurstmeister/kafka build: . ports: - "9092:9092" diff --git a/docker-compose.yml b/docker-compose.yml index 04b82c37..5f9c52e7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,6 +5,7 @@ services: ports: - "2181:2181" kafka: + image: wurstmeister/kafka build: . ports: - "9092"