mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-25 15:58:48 +08:00
20 lines
395 B
YAML
20 lines
395 B
YAML
|
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
|