Skip to content

Commit c7fe2c0

Browse files
author
anair-it
committed
Removed kafka container name to allow dynamic scaling through docker-compose
1 parent 4a5516d commit c7fe2c0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

kafka/docker-compose.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
###zookeeper
22
zookeeper:
33
image: anair/zookeeper_alpine:3.4.6
4-
container_name: zookeeper1
4+
container_name: zookeeper
55
hostname: zk
66
ports:
77
- "2181:2181"
@@ -10,7 +10,6 @@ zookeeper:
1010
###kafka
1111
kafka:
1212
image: anair/kafka_alpine:0.9.0.1
13-
container_name: kafka1
1413
hostname: kafka
1514
ports:
1615
- "9092:9092"

0 commit comments

Comments
 (0)