iac/docker/exporters/docker-compose.yml
Renovate Bot bf57813e5e
All checks were successful
Lint on PR / Lint YAML files (pull_request) Successful in 9s
Deploy to Hosts / deploy (pull_request) Successful in 53s
⬆️ Update gcr.io/cadvisor/cadvisor Docker tag to v0.50.0
2024-10-14 04:00:35 +00:00

28 lines
No EOL
609 B
YAML

---
services:
node_exporter:
image: quay.io/prometheus/node-exporter:v1.8.2
container_name: node_exporter
command: "--path.rootfs=/host"
ports:
- 9100:9100
pid: host
restart: unless-stopped
volumes:
- /:/host:ro,rslave
cadvisor:
image: gcr.io/cadvisor/cadvisor:v0.50.0
container_name: cadvisor
ports:
- 9101:8080
volumes:
- /:/rootfs:ro
- /run:/run:ro
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
- /dev/disk/:/dev/disk:ro
devices:
- /dev/kmsg
privileged: true
restart: unless-stopped