mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
update kafka-manager
This commit is contained in:
parent
81e2d4c3a1
commit
152a8f2a43
@ -26,6 +26,7 @@ services:
|
|||||||
webserver:
|
webserver:
|
||||||
image: puckel/docker-airflow:1.9.0-4
|
image: puckel/docker-airflow:1.9.0-4
|
||||||
command: webserver
|
command: webserver
|
||||||
|
hostname: master
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -1,10 +1,35 @@
|
|||||||
|
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
|
||||||
|
links:
|
||||||
|
- zookeeper
|
||||||
|
restart: always
|
||||||
|
|
||||||
kafka-manager:
|
kafka-manager:
|
||||||
image: vimagick/kafka-manager
|
image: vimagick/kafka-manager
|
||||||
ports:
|
ports:
|
||||||
- "9000:9000"
|
- "9000:9000"
|
||||||
environment:
|
environment:
|
||||||
- "ZK_HOSTS=my.zookeeper.host.com:2181"
|
- ZK_HOSTS=zookeeper:2181
|
||||||
- "KAFKA_MANAGER_AUTH_ENABLED=true"
|
- KAFKA_MANAGER_AUTH_ENABLED=true
|
||||||
- "KAFKA_MANAGER_USERNAME=admin"
|
- KAFKA_MANAGER_USERNAME=admin
|
||||||
- "KAFKA_MANAGER_PASSWORD=admin"
|
- KAFKA_MANAGER_PASSWORD=admin
|
||||||
|
links:
|
||||||
|
- zookeeper
|
||||||
restart: always
|
restart: always
|
||||||
|
Loading…
Reference in New Issue
Block a user