-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.ini.example
More file actions
55 lines (39 loc) · 1.3 KB
/
config.ini.example
File metadata and controls
55 lines (39 loc) · 1.3 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
# Remote Code Configuration
# 配置文件路径: ~/.remote-code/config.ini
#
# 首次运行 start.sh 时会自动创建此文件并生成随机密码
# The config file will be auto-created with random password on first run
# ==================== Backend Configuration ====================
# 后端服务配置
# Backend port (后端服务端口)
BACKEND_PORT=9090
# JWT secret (JWT 密钥 - 自动生成)
JWT_SECRET=
# Admin password (管理员密码 - 自动生成)
ADMIN_PASSWORD=
# Allowed working directory (会话允许的工作目录)
ALLOWED_DIR=
# Rate limiting (速率限制)
RATE_LIMIT_ENABLED=true
RATE_LIMIT_RPS=10
RATE_LIMIT_BURST=20
# ==================== Frontend Configuration ====================
# 前端服务配置
# Frontend dev server port (前端开发服务器端口)
FRONTEND_PORT=5173
# ==================== FRP Configuration ====================
# FRP 内网穿透配置
# Enable FRP tunnel (是否启用 FRP 内网穿透)
FRP_ENABLED=false
# FRP server address (FRP 服务器地址)
FRP_SERVER_ADDR=
# FRP server port (FRP 服务器端口)
FRP_SERVER_PORT=7000
# FRP authentication token (FRP 认证令牌)
FRP_TOKEN=
# ==================== Advanced Settings ====================
# 高级设置
# Log directory (日志目录)
LOG_DIR=
# PID file directory (PID 文件目录)
PID_DIR=