mirror of
https://github.com/7836246/cursor2api.git
synced 2026-05-07 14:17:49 +08:00
- 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>
17 lines
351 B
Plaintext
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=
|