✅ 更新到官方真正的最新版本 v0.9.0-alpha.8 ✅ 恢复 Footer.jsx 自定义页脚 (听泉claude提供) ✅ 恢复 Claude 穿透功能到 adaptor.go ✅ 恢复 Docker 自定义配置 (端口3099) ✅ 添加 service/channel_state_reporter.go 关键更新: - 文件格式从 .js 更新为 .jsx (官方最新格式) - Claude adaptor 保持穿透功能兼容性 - 全新的界面和功能改进 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
37 lines
1.0 KiB
YAML
37 lines
1.0 KiB
YAML
version: '3.4'
|
||
|
||
services:
|
||
new-api-custom:
|
||
build:
|
||
context: .
|
||
dockerfile: Dockerfile
|
||
image: new-api-custom:latest
|
||
container_name: new-api-custom
|
||
restart: always
|
||
command: --log-dir /app/logs
|
||
ports:
|
||
- "3099:3000" # (3099ïã
|
||
volumes:
|
||
- ./data:/data # q«øpnîU
|
||
- ./logs-custom:/app/logs # (ìËå×îU
|
||
environment:
|
||
- SQL_DSN=root:123456@tcp(mysql:3306)/new-api # Þ¥° „mysql¹h
|
||
- REDIS_CONN_STRING=redis://redis # Þ¥° „redis¹h
|
||
- TZ=Asia/Shanghai
|
||
- ERROR_LOG_ENABLED=true
|
||
# - STREAMING_TIMEOUT=120
|
||
# - SESSION_SECRET=random_string # ‚œ |