mirror of
https://gitee.com/san-bing/JChargePointProtocol
synced 2026-05-04 09:59:55 +08:00
增加kafka-ui
This commit is contained in:
@@ -16,6 +16,7 @@ networks:
|
||||
|
||||
services:
|
||||
zookeeper:
|
||||
container_name: zookeeper
|
||||
image: registry.cn-hangzhou.aliyuncs.com/sanbing/zookeeper:3.9
|
||||
restart: always
|
||||
networks:
|
||||
@@ -25,6 +26,7 @@ services:
|
||||
environment:
|
||||
ALLOW_ANONYMOUS_LOGIN: true
|
||||
kafka:
|
||||
container_name: kafka
|
||||
image: registry.cn-hangzhou.aliyuncs.com/sanbing/kafka:3.7.1
|
||||
restart: always
|
||||
depends_on:
|
||||
@@ -36,6 +38,7 @@ services:
|
||||
env_file:
|
||||
- kafka.env
|
||||
kafka-exporter:
|
||||
container_name: kafka-exporter
|
||||
image: registry.cn-hangzhou.aliyuncs.com/sanbing/kafka-exporter:latest
|
||||
restart: always
|
||||
depends_on:
|
||||
@@ -46,3 +49,18 @@ services:
|
||||
- "9308:9308"
|
||||
command:
|
||||
- '--kafka.server=kafka:9092'
|
||||
kafka-ui:
|
||||
container_name: kafka-ui
|
||||
image: registry.cn-hangzhou.aliyuncs.com/sanbing/kafka-ui:v0.7.2
|
||||
restart: always
|
||||
depends_on:
|
||||
- kafka
|
||||
networks:
|
||||
- sanbing-network
|
||||
ports:
|
||||
- "9098:8080"
|
||||
environment:
|
||||
DYNAMIC_CONFIG_ENABLED: 'true'
|
||||
KAFKA_CLUSTERS_0_NAME: local
|
||||
KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS: kafka:9092
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@ networks:
|
||||
|
||||
services:
|
||||
postgres:
|
||||
container_name: postgresql
|
||||
image: registry.cn-hangzhou.aliyuncs.com/sanbing/postgresql:17
|
||||
restart: always
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user