Kompression angeschaltet in compose

This commit is contained in:
2025-12-28 16:52:53 +01:00
parent 30a9ce00cf
commit d364d6df3d
2 changed files with 10 additions and 11 deletions
+8 -9
View File
@@ -4,27 +4,26 @@ services:
deploy:
resources:
limits:
memory: 256M
memory: 512M
ports:
- 9090:9090
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
- /prometheus/:/prometheus
- /timeseries/prometheus/:/prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
- '--storage.tsdb.retention.time=7200d'
- '--storage.tsdb.retention.size=0'
- --config.file=/etc/prometheus/prometheus.yml
- --storage.tsdb.path=/prometheus
- --storage.tsdb.retention.time=7200d
- --storage.tsdb.retention.size=0
- --storage.tsdb.wal-compression
image: prom/prometheus
restart: unless-stopped
pve-exporter:
image: prompve/prometheus-pve-exporter:latest
container_name: prometheus-pve-exporter
ports:
- "9221:9221"
- 9221:9221
volumes:
- /opt/prometheus/pve.yml:/etc/prometheus/pve.yml:ro
restart: unless-stopped
networks: {}
+2 -2
View File
@@ -1,8 +1,8 @@
# Sample config for Prometheus.
global:
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
scrape_interval: 120s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
evaluation_interval: 60s # Evaluate rules every 15 seconds. The default is every 1 minute.
# scrape_timeout: 30s # is set to the global default (10s).
# Attach these labels to any time series or alerts when communicating with