Files
xmwork/.env.example
gongzhiyong 3112ca1d7c initial: team agent workstation for 6-repo matrix
- Dockerfile (Node/Python/Go/Bun + claude-code + gh cli)
- docker-compose.yml (flexible REPOS_DIR, 7 mounts, 6 cache volumes)
- CLAUDE.md (team conventions + red lines + per-repo build/test cmds)
- .claude/settings.json (allow/deny permissions)
- Makefile + scripts/{enter,bootstrap,run-task}.sh
- README.md (onboarding guide)
2026-04-23 23:11:16 +08:00

41 lines
1.9 KiB
Bash
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.
# =================================================================
# 登录方式(订阅模式无需填任何 KEY)
# =================================================================
#
# 方式 A(推荐):Claude Max/Pro 订阅 OAuth
# —— 本文件任何 KEY 都不用填。启动容器后运行 `/login` 即可。
# 凭证会写入 docker named volume `claude-home`,下次启动自动复用。
#
# 方式 B:Anthropic API Key(按量计费,适合 CI 无人值守)
# ANTHROPIC_API_KEY=sk-ant-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# =================================================================
# 仓库根目录(如果你的 6 个仓库不在 ai-ops 的父目录)
# =================================================================
# 默认:REPOS_DIR 不设 → 使用 ai-ops/../ (即 ai-ops 的同级)
# 自定义示例:
# REPOS_DIR=/Users/alice/dev/work
# REPOS_DIR=${HOME}/projects
# 注意:6 个仓库必须都在 REPOS_DIR 下,名字与 GitHub 一致:
# chat-gw / xiaoshou / gongdan / casdoor-internal / CloudCostbrank / lobechat-enterprise
# REPOS_DIR=${HOME}/work
# =================================================================
# Git / GitHub(Agent 提 PR 时需要)
# =================================================================
# GH_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
GIT_AUTHOR_NAME=Your Name
GIT_AUTHOR_EMAIL=you@example.com
# =================================================================
# 企业合规:走 AWS Bedrock(代替 Anthropic API)
# =================================================================
# CLAUDE_CODE_USE_BEDROCK=1
# AWS_REGION=us-west-2
# AWS_PROFILE=default
# =================================================================
# 模型覆盖(默认 Opus 4.7,1M 上下文)
# =================================================================
# ANTHROPIC_MODEL=claude-sonnet-4-6