[修改]node-exporter特权模式

This commit is contained in:
10908
2024-09-23 14:40:41 +08:00
committed by Coding
parent 0938336791
commit d59cf061ab
4 changed files with 11 additions and 6 deletions

View File

@@ -22,6 +22,9 @@ services:
- prometheus
node-exporter:
build: docker/node_exporter
privileged: true
volumes:
- '/:/host:ro'
opcua-exporter:
build: opcua-exporter
## volumes: