Files
project-panel/projects.json
hz4th_coder 761edef6fe feat: 增加 Docker 监控功能 v3.0.0
新增功能:
- Docker 容器监控(CPU、内存、网络I/O、磁盘I/O)
- 容器控制(启动、停止、重启)
- 容器日志查看
- 镜像列表管理
- Docker 系统信息
- 一键清理未使用资源

API 接口:
- /api/docker/containers - 容器列表
- /api/docker/container/<id>/stats - 容器资源统计
- /api/docker/images - 镜像列表
- /api/docker/system - Docker 系统信息
- /api/docker/container/<id>/start|stop|restart - 容器控制
- /api/docker/container/<id>/logs - 容器日志
- /api/docker/prune - 资源清理

前端:
- 新增 Docker 监控 Tab
- 容器卡片展示(状态、资源使用)
- 镜像列表展示
- 操作按钮(刷新、清理)
2026-06-01 11:30:15 +08:00

48 lines
1.8 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"server": {
"name": "hz1-PowerEdge-R730xd",
"description": "黄庄1号服务器 - PowerEdge R730xd",
"python_path": "/home/hz1/miniconda3/envs/openclaw/bin/python3.12",
"updated": "2026-06-01"
},
"projects": [
{
"id": "pdf-translate-web",
"name": "PDF翻译助手",
"type": "web",
"ports": [16021],
"directory": "works/pdf-translate-web",
"start_cmd": "mkdir -p logs && nohup /home/hz1/miniconda3/envs/openclaw/bin/python3.12 app.py > logs/app.log 2>&1 & disown",
"stop_cmd": "pkill -f 'python.*pdf-translate-web.*app.py' || true",
"health_url": "http://localhost:16021/",
"description": "英文PDF翻译中文网站支持用户系统、会员体系",
"admin_url": "http://localhost:16021/admin",
"git_repo": "http://121.40.164.32:12007/coder/pdf-translate-web",
"version": "v2.0.0"
},
{
"id": "project-panel",
"name": "项目服务管理面板",
"type": "web",
"ports": [16022],
"directory": "works/project-panel",
"start_cmd": "mkdir -p logs && nohup /home/hz1/miniconda3/envs/openclaw/bin/python3.12 app.py > logs/app.log 2>&1 & disown",
"stop_cmd": "pkill -f 'python.*project-panel.*app.py' || true",
"health_url": "http://localhost:16022/",
"description": "统一管理所有 Web 服务项目,支持 Docker 监控、系统资源监控、Cron 管理",
"admin_url": "http://localhost:16022",
"git_repo": "http://121.40.164.32:12007/hz4th_coder/project-panel",
"version": "v3.0.0"
}
],
"external_services": [
{
"id": "meilisearch",
"name": "Meilisearch 搜索引擎",
"type": "external",
"ports": [16001],
"health_url": "http://localhost:16001/health",
"description": "高性能搜索引擎,只读监控"
}
]
}