openclaw/docs/deployment/.env.example
mattAtomsenses 166106089c docs: add enterprise deployment documentation
Add comprehensive enterprise deployment setup including:
- Docker Compose configuration
- Environment setup examples
- Quickstart guide
- Enterprise configuration reference
- Security checklist
- Automated setup script

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-29 22:28:10 +08:00

37 lines
960 B
Plaintext

# Moltbot 企业部署环境变量配置
# 复制此文件为 .env 并填写实际值
# ===== 必填配置 =====
# Anthropic API 密钥 (从 https://console.anthropic.com 获取)
ANTHROPIC_API_KEY=sk-ant-xxxxxxxxxxxx
# Gateway 认证 Token (建议使用 32 字符以上的强密码)
# 生成方法: openssl rand -base64 32
CLAWDBOT_GATEWAY_TOKEN=your-secure-gateway-token-here
# ===== 可选配置 =====
# 自定义 API 端点 (如果使用代理)
# ANTHROPIC_BASE_URL=https://your-proxy.com/api/anthropic
# Gateway 端口 (默认 18789)
# MOLTBOT_PORT=18789
# 日志级别 (debug|info|warn|error)
# LOG_LEVEL=info
# 最大并发数 (默认 8)
# MAX_CONCURRENT=8
# 会话隔离模式 (main|per-peer|per-channel-peer|per-account-channel-peer)
# DM_SCOPE=per-channel-peer
# ===== 高可用配置 (可选) =====
# Redis 连接字符串 (用于多实例部署)
# REDIS_URL=redis://redis:6379
# 实例 ID (用于多实例识别)
# INSTANCE_ID=gateway-1