diff --git a/docker-compose.yml b/docker-compose.yml index 83a2ab02..8b16ae1f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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