After configuring VPS health5
This commit is contained in:
parent
2dac0d0103
commit
d392ae0867
@ -519,11 +519,10 @@ services:
|
||||
# Running as root here only writes TSDB data; no ports published.
|
||||
user: root
|
||||
command:
|
||||
# Boolean flags: omit to keep defaults (lifecycle/admin API off). Do NOT pass =false.
|
||||
- --config.file=/etc/prometheus/prometheus.yml
|
||||
- --storage.tsdb.path=/prometheus
|
||||
- --storage.tsdb.retention.time=${MONITORING_RETENTION:-15d}
|
||||
- --web.enable-lifecycle=false
|
||||
- --web.enable-admin-api=false
|
||||
- --web.listen-address=0.0.0.0:9090
|
||||
volumes:
|
||||
- ./deploy/monitoring/prometheus.yml:/etc/prometheus/prometheus.yml:ro
|
||||
|
||||
Loading…
Reference in New Issue
Block a user