Use for deployment, test server connection, and Docker operations in qcc_plus project
# 1. 确认在 test 分支
git checkout test
# 2. 提交代码
git add .
git commit -m "fix: 描述修复内容"
# 3. 推送触发自动部署
git push origin test
# GitHub Actions 会自动:
# - 构建前端
# - 构建 Docker 镜像
# - 部署到测试服务器(端口 8001)
# - 执行健康检查
ssh -i ~/.ssh/qcc_deploy ubuntu@43.156.77.170
# 测试环境
ssh -i ~/.ssh/qcc_deploy ubuntu@43.156.77.170 "docker logs qcc_test_proxy -f"
# 生产环境
ssh -i ~/.ssh/qcc_deploy ubuntu@43.156.77.170 "docker logs qcc_prod_proxy -f"
ssh -i ~/.ssh/qcc_deploy ubuntu@43.156.77.170 "docker ps -a"
ssh -i ~/.ssh/qcc_deploy ubuntu@43.156.77.170 "docker restart qcc_test_proxy"
ssh -i ~/.ssh/qcc_deploy ubuntu@43.156.77.170 "docker exec -it qcc_test_proxy sh"
ssh -i ~/.ssh/qcc_deploy ubuntu@43.156.77.170 "docker logs qcc_test_proxy --tail 100 2>&1 | grep -i 'error\|failed\|panic'"
npm install -g @qccplus/cli
qccplus start
docker compose up -d
UPSTREAM_BASE_URL=https://api.anthropic.com \
UPSTREAM_API_KEY=sk-ant-your-key \
go run ./cmd/cccli proxy
| 类型 | 默认值 |
|------|--------|
| 管理员登录 | admin / admin123 |
| 默认账号 | default / default123 |
| 管理界面 | http://localhost:8000/admin |
安全警告: 生产环境必须修改默认密码与密钥!
| 变量名 | 说明 | 默认值 |
|--------|------|--------|
| LISTEN_ADDR | 代理监听地址 | :8000 |
| UPSTREAM_BASE_URL | 上游 API 地址 | https://api.anthropic.com |
| UPSTREAM_API_KEY | 默认上游 API Key | - |
| PROXY_RETRY_MAX | 重试次数 | 3 |
| PROXY_FAIL_THRESHOLD | 失败阈值 | 3 |
| PROXY_HEALTH_INTERVAL_SEC | 探活间隔(秒) | 30 |
| PROXY_MYSQL_DSN | MySQL 连接 | - |
| ADMIN_API_KEY | 管理员密钥 | admin |
本地开发环境
↓ git push origin test
GitHub (test 分支)
↓ GitHub Actions 触发
测试服务器 (43.156.77.170:8001)
├── 拉取代码
├── 构建镜像
├── 重启容器
└── 健康检查
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer