forked from qingchencloud/openclaw-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
36 lines (26 loc) · 1.02 KB
/
.env.example
File metadata and controls
36 lines (26 loc) · 1.02 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
# OpenClaw Docker 环境变量配置
# 复制此文件为 .env 并按需修改
# ── 基础配置 ──────────────────────────────────
# OpenClaw 版本源:zh=汉化版, official=原版
OPENCLAW_SOURCE=zh
# OpenClaw 版本号(latest 或具体版本如 4.0.2)
OPENCLAW_VERSION=latest
# 端口映射
PANEL_PORT=1420
GATEWAY_PORT=18789
# npm 镜像源(国内推荐 npmmirror)
NPM_REGISTRY=https://registry.npmmirror.com
# 时区
TZ=Asia/Shanghai
# ── 模型渠道配置(可选,也可通过面板配置) ────
# OpenAI
#OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxx
#OPENAI_BASE_URL=https://api.openai.com/v1
# Anthropic
#ANTHROPIC_API_KEY=sk-ant-xxxxxxxxxxxxxxxx
#ANTHROPIC_BASE_URL=https://api.anthropic.com
# 通用 OpenAI 兼容渠道(第三方 API / 中转站)
#CUSTOM_API_KEY=sk-xxxxxxxxxxxxxxxx
#CUSTOM_BASE_URL=https://your-api-proxy.com/v1
#CUSTOM_PROVIDER_NAME=MyProvider
#CUSTOM_MODEL_LIST=gpt-4o,gpt-4o-mini,claude-sonnet-4-20250514