feat: merge PVE VM management + local features

- Merge PVE (Proxmox VE) virtual machine management from remote
  - PVE host CRUD API
  - VM status query / start / stop operations
  - PVE database tables and models
  - Frontend VM status display and control buttons
  - SPA routing fix for nested asset paths

- Keep local features:
  - Change password functionality
  - Log cleanup service
  - Docker containerization (Dockerfile + docker-compose)
  - Empty machine ping log spam fix
  - settings table for admin password storage

- Update machines handlers to support PVE fields
- Update frontend API client with PVE endpoints
This commit is contained in:
shirainbown
2026-06-18 22:33:45 +08:00
parent af306c183c
commit 6f507b319e
18 changed files with 1619 additions and 22 deletions

68
.dockerignore Normal file
View File

@@ -0,0 +1,68 @@
# Git
.git
.gitignore
.gitattributes
# Node.js
web/node_modules/
web/dist/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Go
server/lan-manager
*.exe
*.exe~
*.dll
*.so
*.dylib
*.test
*.out
vendor/
# IDE
.idea/
.vscode/
*.swp
*.swo
*~
.DS_Store
# 构建产物
lan-manager
lan-manager-darwin
lan-manager-linux
lan-manager.exe
server/static/
# 数据(构建时不需要,运行时通过 volume 挂载)
data/
*.db
*.db-journal
*.db-wal
*.db-shm
# 部署包
deploy/
*.tar.gz
# 日志
*.log
logs/
# Playwright MCP
.playwright-mcp/
# 测试
coverage/
*.cover
*.coverage
# 文档(构建时不需要)
docs/
# 临时文件
tmp/
temp/
*.tmp