mirror of
https://gitee.com/san-bing/JChargePointProtocol
synced 2026-05-09 12:29:58 +08:00
增加kafka-ui
This commit is contained in:
@@ -16,6 +16,7 @@ networks:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
zookeeper:
|
zookeeper:
|
||||||
|
container_name: zookeeper
|
||||||
image: registry.cn-hangzhou.aliyuncs.com/sanbing/zookeeper:3.9
|
image: registry.cn-hangzhou.aliyuncs.com/sanbing/zookeeper:3.9
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
@@ -25,6 +26,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
ALLOW_ANONYMOUS_LOGIN: true
|
ALLOW_ANONYMOUS_LOGIN: true
|
||||||
kafka:
|
kafka:
|
||||||
|
container_name: kafka
|
||||||
image: registry.cn-hangzhou.aliyuncs.com/sanbing/kafka:3.7.1
|
image: registry.cn-hangzhou.aliyuncs.com/sanbing/kafka:3.7.1
|
||||||
restart: always
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -36,6 +38,7 @@ services:
|
|||||||
env_file:
|
env_file:
|
||||||
- kafka.env
|
- kafka.env
|
||||||
kafka-exporter:
|
kafka-exporter:
|
||||||
|
container_name: kafka-exporter
|
||||||
image: registry.cn-hangzhou.aliyuncs.com/sanbing/kafka-exporter:latest
|
image: registry.cn-hangzhou.aliyuncs.com/sanbing/kafka-exporter:latest
|
||||||
restart: always
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -46,3 +49,18 @@ services:
|
|||||||
- "9308:9308"
|
- "9308:9308"
|
||||||
command:
|
command:
|
||||||
- '--kafka.server=kafka:9092'
|
- '--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:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
|
container_name: postgresql
|
||||||
image: registry.cn-hangzhou.aliyuncs.com/sanbing/postgresql:17
|
image: registry.cn-hangzhou.aliyuncs.com/sanbing/postgresql:17
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user