linux_monitor / docker-compose.yml
wei9072
feat: initial commit for Linux System Monitor Dashboard
16ee433
Raw History Blame Contribute Delete
263 Bytes
services:
monitor-app:
build: .
ports:
- "8000:8000"
volumes:
- /proc:/proc:ro
- /sys:/sys:ro
privileged: true # 讀取底層 /proc 檔案有時需要較高權限
restart: always
environment:
- PYTHONUNBUFFERED=1