Files
cursor2api/.env.example
BaskDuan 0f8b3246ed feat: 内置 stealth-proxy 到 Docker 镜像,一个容器搞定 Vercel Bot Protection
- Dockerfile 从 alpine 切换到 slim (Debian) 以支持 Playwright Chromium
- 新增 start.sh 入口脚本,ENABLE_STEALTH=true 时自动启动内置 stealth-proxy
- docker-compose.yml 简化为单容器方案,默认启用 stealth 模式
- 新增 cookie/stealth_proxy/system_prompt 配置项及环境变量支持
- deploy-all.sh 加入 .gitignore(含敏感服务器信息)
- 更新默认指纹为 macOS Chrome 146

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 15:44:32 +08:00

17 lines
351 B
Plaintext

NODE_ENV=production
PORT=3010
TIMEOUT=120
NODE_OPTIONS=--max-old-space-size=400
CURSOR_MODEL=google/gemini-3-flash
MAX_HISTORY_TOKENS=120000
COMPRESSION_ENABLED=true
COMPRESSION_LEVEL=2
LOG_DB_ENABLED=false
LOG_FILE_ENABLED=false
# 填入你的 Cursor session token
CURSOR_SESSION_TOKEN=
# 自定义 API 鉴权密钥,如 sk-mytoken123
AUTH_TOKEN=