kafka ui redpanda console
This commit is contained in:
commit
0a998bba5c
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
config.yaml
|
||||||
|
docker-compose.yaml
|
||||||
26
config.yaml.template
Normal file
26
config.yaml.template
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
kafka:
|
||||||
|
brokers:
|
||||||
|
- "your-broker:9092" # адреса брокеров кластера, не топик
|
||||||
|
# если брокеры в другом compose-проекте на общей сети —
|
||||||
|
# укажи имя сервиса брокера, напр. "kafka:29092"
|
||||||
|
|
||||||
|
# --- SASL (если нужен) ---
|
||||||
|
# sasl:
|
||||||
|
# enabled: true
|
||||||
|
# mechanism: SCRAM-SHA-256
|
||||||
|
# username: user
|
||||||
|
# password: pass
|
||||||
|
|
||||||
|
# --- TLS (если нужен) ---
|
||||||
|
# tls:
|
||||||
|
# enabled: true
|
||||||
|
|
||||||
|
# --- Schema Registry (только для Avro/Protobuf, для JSON не нужен) ---
|
||||||
|
# schemaRegistry:
|
||||||
|
# enabled: true
|
||||||
|
# urls:
|
||||||
|
# - "http://schema-registry:8081"
|
||||||
|
|
||||||
|
# console:
|
||||||
|
# topicDocumentation:
|
||||||
|
# enabled: false
|
||||||
25
docker-compose.yaml.template
Normal file
25
docker-compose.yaml.template
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
services:
|
||||||
|
redpanda-console:
|
||||||
|
image: redpandadata/console:latest
|
||||||
|
container_name: redpanda-console
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "8080:8080"
|
||||||
|
environment:
|
||||||
|
CONFIG_FILEPATH: /etc/console/config.yaml
|
||||||
|
volumes:
|
||||||
|
- ./config.yaml:/etc/console/config.yaml:ro
|
||||||
|
# --- вариант с твоими внешними сетями ---
|
||||||
|
# networks:
|
||||||
|
# - mcp
|
||||||
|
# - proxy
|
||||||
|
# - web
|
||||||
|
|
||||||
|
# networks:
|
||||||
|
# mcp:
|
||||||
|
# external: true
|
||||||
|
# proxy:
|
||||||
|
# external: true
|
||||||
|
# web:
|
||||||
|
# external: true
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user