documentation updates

This commit is contained in:
xcad2k
2022-01-02 12:37:45 +01:00
parent d0e48d571d
commit 5bf2c4af41
5 changed files with 84 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
---
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:
- /dev/kmsg

View File

@@ -0,0 +1,13 @@
---
version: '3.8'
services:
node_exporter:
image: quay.io/prometheus/node-exporter:latest
container_name: node_exporter
command:
- '--path.rootfs=/host'
pid: host
restart: unless-stopped
volumes:
- '/:/host:ro,rslave'