WIP:grafana
authorKai Moritz <kai@juplo.de>
Mon, 7 Aug 2023 18:46:36 +0000 (20:46 +0200)
committerKai Moritz <kai@juplo.de>
Mon, 7 Aug 2023 18:46:36 +0000 (20:46 +0200)
docker-compose.yml

index bd2c743..1e9dc5a 100644 (file)
@@ -153,10 +153,13 @@ services:
       - ./prometheus.yml:/etc/prometheus/prometheus.yml
 
   grafana:
-    image: grafana/grafana
+    image: grafana/grafana:10.0.3
     ports:
       - "3000:3000"
     volumes:
+      - ./grafana/dashboard.yml:/etc/grafana/provisioning/dashboards/main.yaml
+      - ./grafana/datasource.yml:/etc/grafana/provisioning/datasources/automatic.yaml
+      - ./kafka-overview.json:/var/lib/grafana/dashboards/main-dashboard.json
       - grafana:/var/lib/grafana
 
   producer: