After configuring VPS health5

This commit is contained in:
Your Name 2026-11-01 18:30:29 +02:00
parent 2dac0d0103
commit d392ae0867

View File

@ -519,11 +519,10 @@ services:
# Running as root here only writes TSDB data; no ports published. # Running as root here only writes TSDB data; no ports published.
user: root user: root
command: command:
# Boolean flags: omit to keep defaults (lifecycle/admin API off). Do NOT pass =false.
- --config.file=/etc/prometheus/prometheus.yml - --config.file=/etc/prometheus/prometheus.yml
- --storage.tsdb.path=/prometheus - --storage.tsdb.path=/prometheus
- --storage.tsdb.retention.time=${MONITORING_RETENTION:-15d} - --storage.tsdb.retention.time=${MONITORING_RETENTION:-15d}
- --web.enable-lifecycle=false
- --web.enable-admin-api=false
- --web.listen-address=0.0.0.0:9090 - --web.listen-address=0.0.0.0:9090
volumes: volumes:
- ./deploy/monitoring/prometheus.yml:/etc/prometheus/prometheus.yml:ro - ./deploy/monitoring/prometheus.yml:/etc/prometheus/prometheus.yml:ro