Web-UI Redpanda Console installiert
[demos/kafka/training] / docker / docker-compose.yml
index 875e209..7a39023 100644 (file)
@@ -190,22 +190,25 @@ services:
     depends_on:
       - zookeeper
 
-  akhq:
-    image: tchiotludo/akhq:0.23.0
+  console:
+    image: redpandadata/console:v2.3.3
+    entrypoint: /bin/sh
+    command: -c "echo \"$$CONSOLE_CONFIG_FILE\" > /tmp/config.yml; /app/console"
+    environment:
+      CONFIG_FILEPATH: /tmp/config.yml
+      CONSOLE_CONFIG_FILE: |
+        kafka:
+          brokers: ["kafka:9092"]
+          schemaRegistry:
+            enabled: true
+            urls: ["http://schema-registry:8085"]
+        connect:
+          enabled: true
+          clusters:
+            - name: connect
+              url: http://connect:8083
     ports:
       - 8888:8080
-    environment:
-      AKHQ_CONFIGURATION: |
-        akhq:
-          connections:
-            docker-kafka-server:
-              properties:
-                bootstrap.servers: "kafka:9092"
-              schema-registry:
-                url: "http://schema-registry:8085"
-              connect:
-                - name: "connect"
-                  url: "http://connect:8083"
     depends_on:
       - kafka-1
       - kafka-2