Added the Kafka-UI AKHQ to the setup 2021-11-signal
authorKai Moritz <kai@juplo.de>
Sun, 17 Oct 2021 14:57:23 +0000 (16:57 +0200)
committerKai Moritz <kai@juplo.de>
Thu, 21 Oct 2021 20:30:57 +0000 (22:30 +0200)
docker-compose.yml

index 092eb76..87338db 100644 (file)
@@ -140,6 +140,22 @@ services:
       kafka-topics --bootstrap-server kafka:9092 --create --partitions 10 --topic top10 ;
       sleep infinity"
 
+  akhq:
+    image: tchiotludo/akhq:0.18.0
+    labels:
+      - "traefik.enable=true"
+      - "traefik.http.routers.akhq.rule=Host(`akhq.localhost`)"
+      - "traefik.http.routers.akhq.entrypoints=web"
+    expose:
+      - 8080
+    environment:
+      AKHQ_CONFIGURATION: |
+        akhq:
+          connections:
+            docker-kafka-server:
+              properties:
+                bootstrap.servers: "kafka:9092"
+
 networks:
   default:
     external: