christianlempa-boilerplates/docker-compose/prometheus/exporters/cadvisor/docker-compose.yml

18 lines
373 B
YAML
Raw Normal View History

2022-01-02 12:37:45 +01:00
---
version: '3'
services:
cadvisor:
image: google/cadvisor:latest
container_name: cadvisor
# ports:
# - "8080:8080"
volumes:
- /:/rootfs:ro
- /var/run:/var/run:ro
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
- /dev/disk/:/dev/disk:ro
devices:
2022-01-07 13:17:13 +01:00
- /dev/kmsg
restart: unless-stopped