compose.yaml erneut hinzugefügt

This commit is contained in:
2026-03-23 16:02:15 +01:00
parent c7a890f917
commit c19bb06603
23 changed files with 906 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
services:
prometheus:
container_name: prometheus
deploy:
resources:
limits:
memory: 1G
labels:
- wud.watch=true
ports:
- 9090:9090
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
- /timeseries/prometheus/:/prometheus
command:
- --config.file=/etc/prometheus/prometheus.yml
- --storage.tsdb.path=/prometheus
- --storage.tsdb.retention.time=7200d
- --storage.tsdb.retention.size=0
- --storage.tsdb.wal-compression
- --log.level=error # Nur Errors loggen
image: prom/prometheus
restart: unless-stopped
healthcheck:
test:
- CMD-SHELL
- wget --spider --quiet http://localhost:9090/-/ready || exit 1
interval: 10s
timeout: 5s
retries: 3
pve-exporter:
image: prompve/prometheus-pve-exporter:latest
container_name: prometheus-pve-exporter
deploy:
resources:
limits:
memory: 128M
ports:
- 9221:9221
volumes:
- /opt/prometheus/pve.yml:/etc/prometheus/pve.yml:ro
restart: unless-stopped
networks: {}