next修复CVE-2025-66478漏洞,编程代理改成claude

This commit is contained in:
2025-12-08 17:01:59 +08:00
parent c1fda9bb7e
commit 1349317f88
15 changed files with 34 additions and 78 deletions

View File

@@ -11,14 +11,12 @@ services:
- "7681:7681" # ttyd (Web Terminal)
- "3000:3000" # Next.js Dev Server
volumes:
# 项目代码映射(使用 cached 模式提高性能)
# 项目代码映射(如果映射到Windows/Mac宿主机的本地目录使用 cached 模式提高性能)
- ../:/workspace:cached
# node_modules 使用命名卷以提高性能
- node_modules:/workspace/node_modules
# pnpm store 缓存
- pnpm_store:/root/.local/share/pnpm/store
# Git 配置(可选,如果需要保留 Git 配置)
- ~/.gitconfig:/root/.gitconfig:ro
# Code Server 配置(包含 config.yaml 和密码)
- code-server-config:/root/.config/code-server
# Code Server 数据(插件、用户设置、扩展数据)
- code-server-data:/root/.local/share/code-server
environment:
- NODE_ENV=development
- TZ=Asia/Shanghai