docker_TP/TP5-6/docker-compose-cadvisor.yml

18 lines
371 B
YAML
Raw Permalink Normal View History

2024-03-19 23:08:54 +01:00
services:
cadvisor:
image: google/cadvisor:latest
ports:
- 8080:8080
restart: unless-stopped
volumes:
- /:/rootfs:ro
- /var/run:/var/run:rw
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro*
node-exporter:
image: prom/node-exporter:latest
ports:
- 9100:9100
restart: unless-stopped