1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:50 +02:00
dockerfiles/kafka-manager/docker-compose.yml

37 lines
745 B
YAML
Raw Normal View History

2018-07-26 08:37:32 +02:00
zookeeper:
image: zookeeper
ports:
- "2181:2181"
volumes:
- ./data/zookeeper/data:/data
- ./data/zookeeper/datalog:/datalog
restart: always
kafka:
image: wurstmeister/kafka
ports:
- "9092:9092"
volumes:
- ./data/kafka:/kafka
- /var/run/docker.sock:/var/run/docker.sock
environment:
- KAFKA_ADVERTISED_HOST_NAME=10.0.0.13
- KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181
2018-10-24 10:49:26 +02:00
- JMX_PORT=9999
2018-07-26 08:37:32 +02:00
links:
- zookeeper
restart: always
2018-07-16 12:53:22 +02:00
kafka-manager:
image: vimagick/kafka-manager
ports:
- "9000:9000"
environment:
2018-07-26 08:37:32 +02:00
- ZK_HOSTS=zookeeper:2181
- KAFKA_MANAGER_AUTH_ENABLED=true
- KAFKA_MANAGER_USERNAME=admin
- KAFKA_MANAGER_PASSWORD=admin
links:
- zookeeper
2018-07-16 12:53:22 +02:00
restart: always