1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00
dockerfiles/kafka/cluster/docker-compose-kafka-manager.yml

18 lines
443 B
YAML
Raw Normal View History

2018-10-24 10:49:26 +02:00
kafka-manager:
image: vimagick/kafka-manager
ports:
- "9000:9000"
environment:
- ZK_HOSTS=zookeeper1:2181,zookeeper2:2181,zookeeper3:2181
- KAFKA_MANAGER_AUTH_ENABLED=true
- KAFKA_MANAGER_USERNAME=admin
- KAFKA_MANAGER_PASSWORD=admin
extra_hosts:
- zookeeper1:10.0.0.21
- zookeeper2:10.0.0.22
- zookeeper3:10.0.0.23
- kafka1:10.0.0.21
- kafka2:10.0.0.22
- kafka3:10.0.0.23
restart: always