leycloud/grafana.yml hinzugefügt

This commit is contained in:
florian 2026-03-04 19:25:45 +01:00
parent d18eb4ffd3
commit 43900e72a0
1 changed files with 42 additions and 0 deletions

42
leycloud/grafana.yml Normal file
View File

@ -0,0 +1,42 @@
version: '3.8'
services:
grafana:
image: grafana/grafana-oss:latest
container_name: grafana
restart: unless-stopped
networks:
- monitoring
environment:
- GF_SERVER_ROOT_URL=https://grafana.linpy.de
volumes:
- /home/florian/docker/grafana/data:/var/lib/grafana
ports:
- "3002:3000"
prometheus:
image: prom/prometheus:latest
container_name: prometheus
restart: unless-stopped
networks:
- monitoring
volumes:
- /home/florian/docker/prometheus/config:/etc/prometheus
- /home/florian/docker/prometheus/data:/prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
node-exporter:
image: prom/node-exporter:latest
container_name: node-exporter
restart: unless-stopped
networks:
- monitoring
volumes:
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /:/rootfs:ro
networks:
monitoring:
driver: bridge