1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-30 09:16:58 +02:00

add kafka-ui

This commit is contained in:
kev 2023-03-01 16:33:17 +08:00
parent 4f1d23c8ec
commit 84141c8e96
3 changed files with 34 additions and 0 deletions

View File

@ -367,6 +367,7 @@ A collection of delicious docker recipes.
- [x] djmattyg007/jsoneditor - [x] djmattyg007/jsoneditor
- [x] wurstmeister/kafka - [x] wurstmeister/kafka
- [x] mailgun/kafka-pixy - [x] mailgun/kafka-pixy
- [x] provectuslabs/kafka-ui
- [x] devopsfaith/krakend - [x] devopsfaith/krakend
- [x] ipfs/kubo - [x] ipfs/kubo
- [x] heartexlabs/label-studio - [x] heartexlabs/label-studio

2
kafka-ui/README.md Normal file
View File

@ -0,0 +1,2 @@
kafka-ui
========

View 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