Compare commits

..

No commits in common. "232830b06c3aa434b3f27e7769544e5f4df3c013" and "09c70e5e8c8c7d262ed3d8a6dce0a11aa9eaaddd" have entirely different histories.

2 changed files with 7 additions and 14 deletions

View file

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

View file

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