You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
506 B
20 lines
506 B
2 years ago
|
version: "3"
|
||
|
services:
|
||
|
zookeeper:
|
||
|
image: 'bitnami/zookeeper:latest'
|
||
|
ports:
|
||
|
- '2181:2181'
|
||
|
environment:
|
||
|
- ALLOW_ANONYMOUS_LOGIN=yes
|
||
|
kafka:
|
||
|
image: 'bitnami/kafka:latest'
|
||
|
ports:
|
||
|
- '9092:9092'
|
||
|
environment:
|
||
|
- KAFKA_BROKER_ID=1
|
||
|
- KAFKA_CFG_LISTENERS=PLAINTEXT://:9092
|
||
|
- KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://127.0.0.1:9092
|
||
|
- KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper:2181
|
||
|
- ALLOW_PLAINTEXT_LISTENER=yes
|
||
|
depends_on:
|
||
|
- zookeeper
|