diff --git a/coreos-config/roles/compose_project/templates/prometheus/docker-compose.yaml b/coreos-config/roles/compose_project/templates/prometheus/docker-compose.yaml index a2f73de..1c3e777 100644 --- a/coreos-config/roles/compose_project/templates/prometheus/docker-compose.yaml +++ b/coreos-config/roles/compose_project/templates/prometheus/docker-compose.yaml @@ -132,6 +132,9 @@ services: labels: - "prometheus-scrape.enabled=true" - "prometheus-scrape.port=8080" + command: + - "-docker_only=true" + - "-housekeeping_interval=10s" volumes: - /:/rootfs:ro - /var/run:/var/run:rw