1 Star 0 Fork 48

Got/docker-kafka

forked from Koma/docker-kafka 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose.yml 898 Bytes
一键复制 编辑 原始数据 按行查看 历史
version: '3.1'
services:
zookeeper:
container_name: docker-kafka_zookeeper
image: zookeeper:3.6
ports:
- 2181:2181
networks:
- docker-kafka-network
kafka:
container_name: docker-kafka_kafka
build: .
environment:
KAFKA_VERSION: 2.4.0
SCALA_VERSION: 2.12
ports:
- 9092:9092
volumes:
- /tmp/kafka:/kafka
networks:
- docker-kafka-network
depends_on:
- zookeeper
kafka-manager:
container_name: docker-kafka_kafka-manager
image: kafkamanager/kafka-manager:latest
ports:
- 9000:9000
environment:
ZK_HOSTS: zookeeper:2181
KAFKA_MANAGER_AUTH_ENABLED: "true"
KAFKA_MANAGER_USERNAME: admin
KAFKA_MANAGER_PASSWORD: admin
networks:
- docker-kafka-network
depends_on:
- kafka
- zookeeper
networks:
docker-kafka-network:
driver: bridge
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Docker
1
https://gitee.com/got99/docker-kafka.git
git@gitee.com:got99/docker-kafka.git
got99
docker-kafka
docker-kafka
master

搜索帮助