mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-28 11:13:26 +01:00
18 lines
360 B
YAML
Executable File
18 lines
360 B
YAML
Executable File
---
|
|
services:
|
|
cadvisor:
|
|
image: gcr.io/cadvisor/cadvisor:v0.51.0
|
|
container_name: cadvisor
|
|
ports:
|
|
- 8080:8080
|
|
volumes:
|
|
- /:/rootfs:ro
|
|
- /run:/run:ro
|
|
- /sys:/sys:ro
|
|
- /var/lib/docker/:/var/lib/docker:ro
|
|
- /dev/disk/:/dev/disk:ro
|
|
devices:
|
|
- /dev/kmsg
|
|
privileged: true
|
|
restart: unless-stopped
|