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: {}