feat: 新增 Node Exporter (#2184)

This commit is contained in:
wanghe
2024-09-26 22:07:10 +08:00
committed by GitHub
parent 434fbb66d4
commit 6f042f5276
5 changed files with 58 additions and 0 deletions
@@ -0,0 +1,19 @@
services:
node_exporter:
image: prom/node-exporter:v1.8.2
container_name: ${CONTAINER_NAME}
restart: unless-stopped
command:
- '--path.rootfs=/host'
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:9100
pid: host
volumes:
- '/:/host:ro,rslave'
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true