@@ -3,6 +3,28 @@ name: "kafbat-ui-dev"
33
44services :
55
6+ kafbat-ui :
7+ container_name : kafbat-ui
8+ image : ghcr.io/kafbat/kafka-ui:latest
9+ ports :
10+ - 8080:8080
11+ depends_on :
12+ - kafka0
13+ - schema-registry0
14+ - kafka-connect0
15+ - ksqldb0
16+ environment :
17+ KAFKA_CLUSTERS_0_NAME : local
18+ KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS : kafka0:29092
19+ KAFKA_CLUSTERS_0_METRICS_PORT : 9997
20+ KAFKA_CLUSTERS_0_SCHEMAREGISTRY : http://schema-registry0:8085
21+ KAFKA_CLUSTERS_0_KAFKACONNECT_0_NAME : first
22+ KAFKA_CLUSTERS_0_KAFKACONNECT_0_ADDRESS : http://kafka-connect0:8083
23+ KAFKA_CLUSTERS_0_KSQLDBSERVER : http://ksqldb0:8088
24+ DYNAMIC_CONFIG_ENABLED : ' true'
25+ KAFKA_CLUSTERS_0_AUDIT_TOPICAUDITENABLED : ' true'
26+ KAFKA_CLUSTERS_0_AUDIT_CONSOLEAUDITENABLED : ' true'
27+
628 kafka0 :
729 image : confluentinc/cp-kafka:7.8.0
830 hostname : kafka0
@@ -26,8 +48,8 @@ services:
2648 KAFKA_CONTROLLER_LISTENER_NAMES : ' CONTROLLER'
2749 KAFKA_LOG_DIRS : ' /tmp/kraft-combined-logs'
2850 KAFKA_JMX_PORT : 9997
29- KAFKA_JMX_HOSTNAME : localhost # uncomment this line and comment the next one if running with kafka-ui as a jar
30- # KAFKA_JMX_OPTS: -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=kafka0 -Dcom.sun.management.jmxremote.rmi.port=9997
51+ # KAFKA_JMX_HOSTNAME: localhost # uncomment this line and comment the next one if running with kafka-ui as a jar
52+ KAFKA_JMX_OPTS : -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=kafka0 -Dcom.sun.management.jmxremote.rmi.port=9997
3153 CLUSTER_ID : ' MkU3OEVBNTcwNTJENDM2Qk'
3254
3355 schema-registry0 :
@@ -69,9 +91,7 @@ services:
6991 CONNECT_INTERNAL_KEY_CONVERTER : org.apache.kafka.connect.json.JsonConverter
7092 CONNECT_INTERNAL_VALUE_CONVERTER : org.apache.kafka.connect.json.JsonConverter
7193 CONNECT_REST_ADVERTISED_HOST_NAME : kafka-connect0
72- CONNECT_PLUGIN_PATH : " /usr/share/java,/usr/share/confluent-hub-components,/usr/share/filestream-connectors,/tmp/connectors"
73- volumes :
74- - /tmp/connectors:/tmp/connectors
94+ CONNECT_PLUGIN_PATH : " /usr/share/java,/usr/share/confluent-hub-components,/usr/local/share/kafka/plugins,/usr/share/filestream-connectors"
7595
7696 ksqldb0 :
7797 image : confluentinc/cp-ksqldb-server:7.8.0
0 commit comments