Web-UI Redpanda Console installiert config/redpanda-console config/redpanda-console---2023-10-signal
authorKai Moritz <kai@juplo.de>
Fri, 6 Oct 2023 18:45:56 +0000 (20:45 +0200)
committerKai Moritz <kai@juplo.de>
Tue, 17 Oct 2023 20:12:51 +0000 (22:12 +0200)
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