WIP:grafana
authorKai Moritz <kai@juplo.de>
Mon, 7 Aug 2023 19:02:53 +0000 (21:02 +0200)
committerKai Moritz <kai@juplo.de>
Mon, 7 Aug 2023 19:02:53 +0000 (21:02 +0200)
docker-compose.yml
grafana/datasource.yml

index 1e9dc5a..89298f1 100644 (file)
@@ -156,6 +156,9 @@ services:
     image: grafana/grafana:10.0.3
     ports:
       - "3000:3000"
+    environment:
+      GF_SECURITY_ADMIN_USER: juplo
+      GF_SECURITY_ADMIN_PASSWORD: juplo
     volumes:
       - ./grafana/dashboard.yml:/etc/grafana/provisioning/dashboards/main.yaml
       - ./grafana/datasource.yml:/etc/grafana/provisioning/datasources/automatic.yaml
index 9f63e61..9bbd075 100644 (file)
@@ -1,11 +1,11 @@
 apiVersion: 1
 
 deleteDatasources:
-  - name: PROMETHEUS
+  - name: Prometheus
     orgId: 1
 
 datasources:
-- name: PROMETHEUS
+- name: Prometheus
   type: prometheus
   url: http://prometheus:9090/