Compare commits

..

2 commits

Author SHA1 Message Date
admin
232830b06c cleanup cadvisor compose file
Some checks are pending
PVE2 Infrastructure Deploy / terraform (push) Waiting to run
2026-02-06 09:57:03 -07:00
admin
4c0c3a951c update cadvisor and node-eporter compose files 2026-02-06 09:56:20 -07:00
2 changed files with 14 additions and 7 deletions

View file

@ -1,17 +1,20 @@
services:
cadvisor:
image: ghcr.io/google/cadvisor:latest
image: gcr.io/cadvisor/cadvisor:latest
container_name: cadvisor
restart: unless-stopped
privileged: true
devices:
- /dev/kmsg
ports:
- "8082:8080" # remapped to avoid conflict
- "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
command:
- --docker_only
- --store_container_labels=${CADVISOR_STORE_LABELS}
environment:
- TZ=America/Edmonton
restart: unless-stopped
- TZ=America/Edmonton

View file

@ -2,6 +2,10 @@ services:
node-exporter:
image: prom/node-exporter:latest
container_name: node-exporter
pid: host
network_mode: host
restart: unless-stopped
network_mode: host
pid: host
volumes:
- /:/host:ro,rslave
command:
- '--path.rootfs=/host'