-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig_example.env
More file actions
87 lines (64 loc) · 2.38 KB
/
config_example.env
File metadata and controls
87 lines (64 loc) · 2.38 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
# 环境变量配置示例
# 复制此文件为 .env 并根据需要修改
# 注意:.env 文件已被 git 忽略,可以安全存储私密配置
# ============================================
# 基础配置
# ============================================
# 时区设置
TZ=Asia/Shanghai
# 工作目录
WORKSPACE=/data
# ============================================
# npm 源配置
# ============================================
# 选项 1: 官方源(默认)
# NPM_REGISTRY=https://registry.npmjs.org
# 选项 2: 淘宝源(中国大陆推荐)
NPM_REGISTRY=https://registry.npmmirror.com
# 选项 3: 私服源(示例)
# NPM_REGISTRY=https://your-nexus-server.com/repository/npm-group/
# ============================================
# Docker 私服配置(用于拉取镜像)
# ============================================
# Docker 私服地址(如果使用私服)
# DOCKER_REGISTRY=https://your-docker-registry.com/
# ============================================
# Claude Code 配置
# ============================================
# Claude Code 包名
# 根据实际的 Claude Code npm 包名修改
CLAUDE_PACKAGE=@anthropic-ai/claude-code
# Claude API 配置
# 官方 API
# ANTHROPIC_AUTH_TOKEN=sk-ant-xxxxx
# ANTHROPIC_BASE_URL=https://api.anthropic.com
# 智谱 API(兼容 Anthropic)
# ANTHROPIC_AUTH_TOKEN=your_zhipu_api_key
# ANTHROPIC_BASE_URL=https://open.bigmodel.cn/api/anthropic
# ============================================
# Happy CLI 配置
# ============================================
# Happy CLI 服务器地址
# HAPPY_SERVER_URL=https://happy.example.com:8086
# Happy CLI 配置路径(如果需要)
# HAPPY_CONFIG_PATH=/data/happy.conf
# ============================================
# Python/uv 配置
# ============================================
# Python pip 源(如果需要)
# 官方源: https://pypi.org/simple
# 私服源示例:
# PIP_INDEX_URL=https://your-nexus-server.com/repository/pypi-group/simple
# uv 源配置(如果需要)
# 官方源: https://pypi.org/simple
# 私服源示例:
# UV_INDEX_URL=https://your-nexus-server.com/repository/pypi-group/simple
# ============================================
# 其他自定义环境变量
# ============================================
# 自定义服务器地址
# CUSTOM_SERVER_URL=https://your-server.com
# API 端点
# API_ENDPOINT=https://api.your-domain.com
# 其他变量
# CUSTOM_VAR=value