Spaces:
Sleeping
Sleeping
Download docker-compose.yml from xunwei/linux_monitor: direct link, hf CLI and curl.
- Browser
- Download file 263 Bytes
-
https://huggingface.co/spaces/xunwei/linux_monitor/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/xunwei/linux_monitor/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/xunwei/linux_monitor/resolve/main/docker-compose.yml
263 Bytes
| services: | |
| monitor-app: | |
| build: . | |
| ports: | |
| - "8000:8000" | |
| volumes: | |
| - /proc:/proc:ro | |
| - /sys:/sys:ro | |
| privileged: true # 讀取底層 /proc 檔案有時需要較高權限 | |
| restart: always | |
| environment: | |
| - PYTHONUNBUFFERED=1 | |