commit 0a998bba5c5b6146cfd3cfa13947ed5a5c051dad Author: boyko_vn Date: Mon Jul 6 14:38:03 2026 +0300 kafka ui redpanda console diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c4db80b --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +config.yaml +docker-compose.yaml diff --git a/config.yaml.template b/config.yaml.template new file mode 100644 index 0000000..5837371 --- /dev/null +++ b/config.yaml.template @@ -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 diff --git a/docker-compose.yaml.template b/docker-compose.yaml.template new file mode 100644 index 0000000..5cebff1 --- /dev/null +++ b/docker-compose.yaml.template @@ -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 +