mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-12-15 03:31:55 +01:00
13 lines
269 B
YAML
Executable File
13 lines
269 B
YAML
Executable File
---
|
|
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' |