Files
cc-web/.env.example

27 lines
951 B
Plaintext
Raw Permalink 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
# PushPlus Token可选首次启动会自动迁移到 config/notify.json
PUSHPLUS_TOKEN=
# Gitea WorkflowMVP单实例、全局 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