cleanup cadvisor compose file
Some checks are pending
PVE2 Infrastructure Deploy / terraform (push) Waiting to run
Some checks are pending
PVE2 Infrastructure Deploy / terraform (push) Waiting to run
This commit is contained in:
parent
4c0c3a951c
commit
232830b06c
1 changed files with 1 additions and 4 deletions
|
|
@ -3,20 +3,17 @@ services:
|
|||
image: gcr.io/cadvisor/cadvisor:latest
|
||||
container_name: cadvisor
|
||||
restart: unless-stopped
|
||||
# 4. PRIVILEGED: Critical for reading hardware stats/OOM kills
|
||||
privileged: true
|
||||
devices:
|
||||
- /dev/kmsg
|
||||
ports:
|
||||
# 5. PORT MAPPING: keeping your preference (8082)
|
||||
# Ensure Prometheus targets are updated to use 8082!
|
||||
- "8082:8080"
|
||||
volumes:
|
||||
- /:/rootfs:ro
|
||||
- /var/run:/var/run:ro
|
||||
- /sys:/sys:ro
|
||||
- /var/lib/docker:/var/lib/docker:ro
|
||||
- /dev/disk/:/dev/disk:ro # Good for physical disk I/O stats
|
||||
- /dev/disk/:/dev/disk:ro
|
||||
command:
|
||||
- --docker_only
|
||||
environment:
|
||||
|
|
|
|||
Loading…
Reference in a new issue