mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-22 16:40:25 +00:00
Revert "Merge pull request #292 from iRubbish/dev"
This reverts commit9e8e74ce6b, reversing changes made to222f4e44fe.
This commit is contained in:
26
.env.example
26
.env.example
@@ -15,23 +15,6 @@ ENCRYPTION_KEY=your-encryption-key-here
|
||||
# ADMIN_USERNAME=cr_admin_custom
|
||||
# ADMIN_PASSWORD=your-secure-password
|
||||
|
||||
|
||||
# 🏢 LDAP/Windows AD 域控认证配置(可选,用于企业内部用户登录)
|
||||
# 启用LDAP认证功能
|
||||
# LDAP_ENABLED=true
|
||||
# AD域控服务器地址
|
||||
# LDAP_URL=ldap://your-domain-controller-ip:389
|
||||
# 绑定用户
|
||||
# LDAP_BIND_DN=your-bind-user
|
||||
# 绑定用户密码
|
||||
# LDAP_BIND_PASSWORD=your-bind-password
|
||||
# 搜索基础DN
|
||||
# LDAP_BASE_DN=OU=YourOU,DC=your,DC=domain,DC=com
|
||||
# 用户搜索过滤器
|
||||
# LDAP_SEARCH_FILTER=(&(objectClass=user)(|(cn={username})(sAMAccountName={username})))
|
||||
# 连接超时设置
|
||||
# LDAP_TIMEOUT=10000
|
||||
|
||||
# 📊 Redis 配置
|
||||
REDIS_HOST=localhost
|
||||
REDIS_PORT=6379
|
||||
@@ -62,10 +45,8 @@ LOG_MAX_FILES=5
|
||||
CLEANUP_INTERVAL=3600000
|
||||
TOKEN_USAGE_RETENTION=2592000000
|
||||
HEALTH_CHECK_INTERVAL=60000
|
||||
SYSTEM_TIMEZONE=Asia/Shanghai
|
||||
TIMEZONE_OFFSET=8
|
||||
# 实时指标统计窗口(分钟),可选1-60,默认5分钟
|
||||
METRICS_WINDOW=5
|
||||
TIMEZONE_OFFSET=8 # UTC偏移小时数,默认+8(中国时区)
|
||||
METRICS_WINDOW=5 # 实时指标统计窗口(分钟),可选1-60,默认5分钟
|
||||
|
||||
# 🎨 Web 界面配置
|
||||
WEB_TITLE=Claude Relay Service
|
||||
@@ -84,5 +65,4 @@ TRUST_PROXY=true
|
||||
WEBHOOK_ENABLED=true
|
||||
WEBHOOK_URLS=https://your-webhook-url.com/notify,https://backup-webhook.com/notify
|
||||
WEBHOOK_TIMEOUT=10000
|
||||
WEBHOOK_RETRIES=3
|
||||
|
||||
WEBHOOK_RETRIES=3
|
||||
Reference in New Issue
Block a user