Files
cc-web/.env.example

33 lines
1.2 KiB
Plaintext
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.

# Web 登录密码(可选,不设则首次启动自动生成随机密码)
# CC_WEB_PASSWORD=your-password-here
# 服务监听端口(默认 8002)
PORT=8002
# Claude CLI 路径(默认在 PATH 中查找 claude)
CLAUDE_PATH=claude
# Codex CLI 路径(默认在 PATH 中查找 codex)
CODEX_PATH=codex
# Codex App / ccweb MCP 启动与调用超时(可选)
# CC_WEB_CODEX_APP_MCP_STARTUP_TIMEOUT_SEC=30
# CC_WEB_CODEX_MCP_TOOL_TIMEOUT_SEC=60
# CC_WEB_CODEX_APP_MCP_RELOAD_STATUS_WAIT_MS=35000
# CC_WEB_CODEX_APP_MCP_RELOAD_TRACK_MS=60000
# PushPlus Token(可选,首次启动会自动迁移到 config/notify.json)
PUSHPLUS_TOKEN=
# Gitea Workflow(MVP:单实例、全局 ccweb-bot)
CC_WEB_GITEA_HOST=https://gitea.example.com
CC_WEB_GITEA_INSTANCE_ID=default
CC_WEB_GITEA_BOT_LOGIN=ccweb-bot
CC_WEB_GITEA_BOT_TOKEN=
CC_WEB_GITEA_WEBHOOK_SECRET=
CC_WEB_GITEA_WORKSPACE_ROOT=/var/lib/ccweb/workspaces
# 可选:替换 cc-web 自带的 gitea-mcp;留空时自动使用 bin/gitea-mcp
# CC_WEB_GITEA_MCP_COMMAND=/opt/gitea-mcp/bin/gitea-mcp
# gitea-mcp stdio initialize 预检超时(毫秒,默认 8000,上限 30000)
CC_WEB_GITEA_MCP_STARTUP_TIMEOUT_MS=8000