-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy path.env.example
More file actions
87 lines (63 loc) · 1.8 KB
/
.env.example
File metadata and controls
87 lines (63 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# OpenClaw Cloud 环境变量配置
# 复制此文件为 .env 并根据您的环境修改配置
# ===================
# 数据库配置
# ===================
# MySQL/TiDB 连接字符串
# 格式: mysql://用户名:密码@主机:端口/数据库名
DATABASE_URL=mysql://openclaw:your_password@localhost:3306/openclaw_cloud
# Docker Compose 数据库配置(仅在使用 docker-compose 时需要)
DB_ROOT_PASSWORD=your_strong_root_password
DB_PASSWORD=your_strong_db_password
DB_NAME=openclaw_cloud
DB_USER=openclaw
DB_PORT=3306
# ===================
# 应用配置
# ===================
# 应用端口
APP_PORT=3000
# 运行环境: development | production
NODE_ENV=development
# ===================
# 安全配置
# ===================
# JWT 密钥(至少32个字符的随机字符串)
# 生成方法: openssl rand -base64 32
JWT_SECRET=your_random_jwt_secret_at_least_32_characters
# ===================
# 认证配置(Manus OAuth)
# ===================
# OAuth 服务器地址
OAUTH_SERVER_URL=https://api.manus.im
# OAuth 门户地址
VITE_OAUTH_PORTAL_URL=https://auth.manus.im
# 应用 ID(从 Manus 开发者平台获取)
VITE_APP_ID=your_app_id
# 所有者 Open ID
OWNER_OPEN_ID=your_open_id
# 所有者名称
OWNER_NAME=Your Name
# ===================
# Docker 配置
# ===================
# OpenClaw Docker 镜像
OPENCLAW_IMAGE=openclaw:local
# Docker 网络
DOCKER_NETWORK=openclaw-network
# ===================
# LLM 配置(可选)
# ===================
# DeepSeek API 密钥
DEEPSEEK_API_KEY=your_deepseek_api_key
# OpenAI API 密钥
OPENAI_API_KEY=your_openai_api_key
# Anthropic API 密钥
ANTHROPIC_API_KEY=your_anthropic_api_key
# ===================
# 其他配置
# ===================
# 日志级别: debug | info | warn | error
LOG_LEVEL=info
# 启用调试模式
DEBUG=false