mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:50 +02:00
add kafka-ui
This commit is contained in:
parent
4f1d23c8ec
commit
84141c8e96
@ -367,6 +367,7 @@ A collection of delicious docker recipes.
|
||||
- [x] djmattyg007/jsoneditor
|
||||
- [x] wurstmeister/kafka
|
||||
- [x] mailgun/kafka-pixy
|
||||
- [x] provectuslabs/kafka-ui
|
||||
- [x] devopsfaith/krakend
|
||||
- [x] ipfs/kubo
|
||||
- [x] heartexlabs/label-studio
|
||||
|
2
kafka-ui/README.md
Normal file
2
kafka-ui/README.md
Normal file
@ -0,0 +1,2 @@
|
||||
kafka-ui
|
||||
========
|
31
kafka-ui/docker-compose.yml
Normal file
31
kafka-ui/docker-compose.yml
Normal file
@ -0,0 +1,31 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
|
||||
kafka:
|
||||
image: bitnami/kafka:3.4
|
||||
ports:
|
||||
- "9092:9092"
|
||||
volumes:
|
||||
- ./data:/bitnami/kafka
|
||||
environment:
|
||||
- KAFKA_BROKER_ID=1
|
||||
- KAFKA_ENABLE_KRAFT=yes
|
||||
- KAFKA_CFG_PROCESS_ROLES=broker,controller
|
||||
- KAFKA_CFG_CONTROLLER_LISTENER_NAMES=CONTROLLER
|
||||
- KAFKA_CFG_LISTENERS=PLAINTEXT://:9092,CONTROLLER://:9093
|
||||
- KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP=CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT
|
||||
- KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://127.0.0.1:9092
|
||||
- KAFKA_CFG_CONTROLLER_QUORUM_VOTERS=1@127.0.0.1:9093
|
||||
- ALLOW_PLAINTEXT_LISTENER=yes
|
||||
restart: unless-stopped
|
||||
|
||||
kafka-ui:
|
||||
image: provectuslabs/kafka-ui
|
||||
ports:
|
||||
- "8080:8080"
|
||||
environment:
|
||||
- KAFKA_CLUSTERS_1_NAME=local
|
||||
- KAFKA_CLUSTERS_1_BOOTSTRAPSERVERS=kafka:9092
|
||||
# KAFKA_CLUSTERS_1_READONLY=true
|
||||
restart: unless-stopped
|
Loading…
Reference in New Issue
Block a user