mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-04-15 00:17:12 +08:00
feat(cliproxyapi-plus): 升级至v6.9.9-0并更新文档
- 添加6.9.9-0版本的docker-compose.yml和data.yml - 删除6.9.5-0版本的旧配置文件 - 更新README文档,增加详细配置说明 - 修改端口变量名使其更具描述性 - 更新文档链接至最新帮助中心
This commit is contained in:
@@ -2,49 +2,49 @@ additionalProperties:
|
|||||||
formFields:
|
formFields:
|
||||||
- default: 8317
|
- default: 8317
|
||||||
edit: true
|
edit: true
|
||||||
envKey: PANEL_APP_PORT_8317
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
labelEn: Port 8317
|
labelEn: Web UI Port
|
||||||
labelZh: 端口 8317
|
labelZh: Web界面端口
|
||||||
required: true
|
required: true
|
||||||
rule: paramPort
|
rule: paramPort
|
||||||
type: number
|
type: number
|
||||||
- default: 8085
|
- default: 8085
|
||||||
edit: true
|
edit: true
|
||||||
envKey: PANEL_APP_PORT_8085
|
envKey: PANEL_APP_PORT_PROXY
|
||||||
labelEn: Port 8085
|
labelEn: Proxy Port
|
||||||
labelZh: 端口 8085
|
labelZh: 代理端口
|
||||||
required: true
|
required: true
|
||||||
rule: paramPort
|
rule: paramPort
|
||||||
type: number
|
type: number
|
||||||
- default: 1455
|
- default: 1455
|
||||||
edit: true
|
edit: true
|
||||||
envKey: PANEL_APP_PORT_1455
|
envKey: PANEL_APP_PORT_1455
|
||||||
labelEn: Port 1455
|
labelEn: Additional Port 1455
|
||||||
labelZh: 端口 1455
|
labelZh: 额外端口 1455
|
||||||
required: true
|
required: true
|
||||||
rule: paramPort
|
rule: paramPort
|
||||||
type: number
|
type: number
|
||||||
- default: 54545
|
- default: 54545
|
||||||
edit: true
|
edit: true
|
||||||
envKey: PANEL_APP_PORT_54545
|
envKey: PANEL_APP_PORT_54545
|
||||||
labelEn: Port 54545
|
labelEn: Additional Port 54545
|
||||||
labelZh: 端口 54545
|
labelZh: 额外端口 54545
|
||||||
required: true
|
required: true
|
||||||
rule: paramPort
|
rule: paramPort
|
||||||
type: number
|
type: number
|
||||||
- default: 51121
|
- default: 51121
|
||||||
edit: true
|
edit: true
|
||||||
envKey: PANEL_APP_PORT_51121
|
envKey: PANEL_APP_PORT_51121
|
||||||
labelEn: Port 51121
|
labelEn: Additional Port 51121
|
||||||
labelZh: 端口 51121
|
labelZh: 额外端口 51121
|
||||||
required: true
|
required: true
|
||||||
rule: paramPort
|
rule: paramPort
|
||||||
type: number
|
type: number
|
||||||
- default: 11451
|
- default: 11451
|
||||||
edit: true
|
edit: true
|
||||||
envKey: PANEL_APP_PORT_11451
|
envKey: PANEL_APP_PORT_11451
|
||||||
labelEn: Port 11451
|
labelEn: Additional Port 11451
|
||||||
labelZh: 端口 11451
|
labelZh: 额外端口 11451
|
||||||
required: true
|
required: true
|
||||||
rule: paramPort
|
rule: paramPort
|
||||||
type: number
|
type: number
|
||||||
0
apps/cliproxyapi-plus/6.9.9-0/data/.gitkeep
Normal file
0
apps/cliproxyapi-plus/6.9.9-0/data/.gitkeep
Normal file
@@ -1,17 +1,17 @@
|
|||||||
services:
|
services:
|
||||||
cliproxyapi-plus:
|
cliproxyapi-plus:
|
||||||
image: eceasy/cli-proxy-api-plus:v6.9.5-0
|
image: eceasy/cli-proxy-api-plus:v6.9.9-0
|
||||||
container_name: ${CONTAINER_NAME}
|
container_name: ${CONTAINER_NAME}
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- 1panel-network
|
- 1panel-network
|
||||||
ports:
|
ports:
|
||||||
- ${PANEL_APP_PORT_8317}:8317
|
- "${PANEL_APP_PORT_HTTP}:8317"
|
||||||
- ${PANEL_APP_PORT_8085}:8085
|
- "${PANEL_APP_PORT_PROXY}:8085"
|
||||||
- ${PANEL_APP_PORT_1455}:1455
|
- "${PANEL_APP_PORT_1455}:1455"
|
||||||
- ${PANEL_APP_PORT_54545}:54545
|
- "${PANEL_APP_PORT_54545}:54545"
|
||||||
- ${PANEL_APP_PORT_51121}:51121
|
- "${PANEL_APP_PORT_51121}:51121"
|
||||||
- ${PANEL_APP_PORT_11451}:11451
|
- "${PANEL_APP_PORT_11451}:11451"
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/config.yaml:/CLIProxyAPI/config.yaml
|
- ./data/config.yaml:/CLIProxyAPI/config.yaml
|
||||||
- ./data/auths:/root/.cli-proxy-api
|
- ./data/auths:/root/.cli-proxy-api
|
||||||
@@ -1,29 +1,105 @@
|
|||||||
# CLIProxyAPI Plus
|
# CLIProxyAPI Plus
|
||||||
|
|
||||||
CLIProxyAPI Plus 代理API服务,基于主线项目添加第三方提供商支持。
|
CLIProxyAPI Plus 是 CLIProxyAPI 的增强版本,在主线项目基础上添加了第三方提供商支持。所有第三方提供商支持由社区贡献者维护。
|
||||||
|
|
||||||
## 功能特点
|
## 功能特点
|
||||||
|
|
||||||
- 支持多种代理协议
|
- 支持多种 AI 模型提供商(Claude、Gemini、Codex、Qwen 等)
|
||||||
- 支持第三方提供商
|
- 支持第三方提供商扩展
|
||||||
- 高性能设计
|
- OAuth 认证支持
|
||||||
- 易于部署和使用
|
- 高性能代理设计
|
||||||
|
- Web 管理界面
|
||||||
|
- 灵活的路由和负载均衡策略
|
||||||
|
|
||||||
## 使用说明
|
## 使用说明
|
||||||
|
|
||||||
### 默认端口
|
### 默认端口
|
||||||
|
|
||||||
- Web 界面: 8317
|
- **Web UI 端口 (8317)**: 主要的 Web 管理界面和 API 端口
|
||||||
- API 端口: 8085
|
- Web 管理界面: `http://localhost:8317/management.html`
|
||||||
- 其他端口: 1455, 54545, 51121, 11451
|
- API 端点: `http://localhost:8317/v1`
|
||||||
|
- **代理端口 (8085)**: 代理服务端口
|
||||||
|
- **额外端口**: 1455, 54545, 51121, 11451(用于特定功能扩展)
|
||||||
|
|
||||||
### 数据目录
|
### Web 管理界面
|
||||||
|
|
||||||
|
部署后,访问 Web 管理界面需要以下步骤:
|
||||||
|
|
||||||
|
1. **编辑配置文件** `./data/config.yaml`
|
||||||
|
- 将 `remote-management.allow-remote` 设置为 `true` 以允许远程访问
|
||||||
|
- 设置 `remote-management.secret-key` 为您的管理密钥
|
||||||
|
|
||||||
|
2. **访问地址**(替换为您的服务器 IP):
|
||||||
|
|
||||||
|
```
|
||||||
|
http://your-server-ip:8317/management.html
|
||||||
|
```
|
||||||
|
|
||||||
|
**注意**:默认 `allow-remote` 为 `false`,仅允许本地访问。如需从其他机器访问,请务必设置为 `true` 并配置强密码。
|
||||||
|
|
||||||
|
### 配置文件
|
||||||
|
|
||||||
应用数据存储在 `./data` 目录,包含:
|
应用数据存储在 `./data` 目录,包含:
|
||||||
- `config.yaml` - 配置文件
|
|
||||||
- `auths/` - 认证信息目录
|
- `config.yaml` - 主配置文件
|
||||||
- `logs/` - 日志目录
|
- API 密钥配置
|
||||||
|
- 提供商设置
|
||||||
|
- 路由策略
|
||||||
|
- 代理设置
|
||||||
|
- `auths/` - OAuth 认证信息存储目录
|
||||||
|
- `logs/` - 应用日志目录
|
||||||
|
|
||||||
|
### 快速配置
|
||||||
|
|
||||||
|
1. 编辑 `./data/config.yaml` 文件
|
||||||
|
2. 在 `api-keys` 部分添加您的 API 密钥
|
||||||
|
3. 如需远程访问,设置 `remote-management.allow-remote: true` 和 `remote-management.secret-key`
|
||||||
|
4. 根据需要配置各个提供商(Claude、Gemini、Codex 等)
|
||||||
|
5. 重启应用使配置生效
|
||||||
|
|
||||||
|
### 主要配置项
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# API 密钥
|
||||||
|
api-keys:
|
||||||
|
- 'your-api-key-1'
|
||||||
|
- 'your-api-key-2'
|
||||||
|
|
||||||
|
# 管理界面设置
|
||||||
|
remote-management:
|
||||||
|
allow-remote: false # 是否允许远程管理,true=允许,false=仅本地
|
||||||
|
secret-key: '' # 管理密钥(首次启动后会被哈希)
|
||||||
|
disable-control-panel: false
|
||||||
|
|
||||||
|
# 代理设置
|
||||||
|
proxy-url: "" # 全局代理 URL
|
||||||
|
|
||||||
|
# 路由策略
|
||||||
|
routing:
|
||||||
|
strategy: 'round-robin' # round-robin 或 fill-first
|
||||||
|
```
|
||||||
|
|
||||||
|
## 版本说明
|
||||||
|
|
||||||
|
- **latest**: 最新开发版本
|
||||||
|
- **6.9.9-0**: 最新稳定版本(推荐)
|
||||||
|
|
||||||
## 相关链接
|
## 相关链接
|
||||||
|
|
||||||
|
- 官方文档: https://help.router-for.me/cn/introduction/quick-start.html
|
||||||
|
- Web UI 文档: https://help.router-for.me/cn/management/webui.html
|
||||||
- GitHub: https://github.com/router-for-me/CLIProxyAPIPlus
|
- GitHub: https://github.com/router-for-me/CLIProxyAPIPlus
|
||||||
|
- 问题反馈: https://github.com/router-for-me/CLIProxyAPIPlus/issues
|
||||||
|
|
||||||
|
## 注意事项
|
||||||
|
|
||||||
|
1. 首次部署后请及时修改 `api-keys` 和管理密钥
|
||||||
|
2. 如需远程访问,请设置 `allow-remote: true` 并配置强密码
|
||||||
|
3. 生产环境建议在使用完毕后将 `allow-remote` 改回 `false` 以提高安全性
|
||||||
|
4. 如需使用 OAuth 认证,请确保 `auths/` 目录有正确的读写权限
|
||||||
|
5. 生产环境建议配置 TLS 加密
|
||||||
|
|
||||||
|
## 技术支持
|
||||||
|
|
||||||
|
- 主线项目问题: 请在主线仓库提交 Issue
|
||||||
|
- Plus 版本第三方提供商问题: 请联系相应的社区维护者
|
||||||
|
|||||||
@@ -1,29 +1,105 @@
|
|||||||
# CLIProxyAPI Plus
|
# CLIProxyAPI Plus
|
||||||
|
|
||||||
CLIProxyAPI Plus proxy API service with third-party provider support based on the mainline project.
|
CLIProxyAPI Plus is an enhanced version of CLIProxyAPI, adding support for third-party providers on top of the mainline project. All third-party provider support is maintained by community contributors.
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- Support multiple proxy protocols
|
- Support for multiple AI model providers (Claude, Gemini, Codex, Qwen, etc.)
|
||||||
- Support third-party providers
|
- Third-party provider extensions
|
||||||
- High performance design
|
- OAuth authentication support
|
||||||
- Easy to deploy and use
|
- High-performance proxy design
|
||||||
|
- Web management interface
|
||||||
|
- Flexible routing and load balancing strategies
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
### Default Ports
|
### Default Ports
|
||||||
|
|
||||||
- Web UI: 8317
|
- **Web UI Port (8317)**: Primary Web management interface and API port
|
||||||
- API Port: 8085
|
- Web Management UI: `http://localhost:8317/management.html`
|
||||||
- Other Ports: 1455, 54545, 51121, 11451
|
- API Endpoint: `http://localhost:8317/v1`
|
||||||
|
- **Proxy Port (8085)**: Proxy service port
|
||||||
|
- **Additional Ports**: 1455, 54545, 51121, 11451 (for specific feature extensions)
|
||||||
|
|
||||||
### Data Directory
|
### Web Management Interface
|
||||||
|
|
||||||
|
To access the Web management interface after deployment:
|
||||||
|
|
||||||
|
1. **Edit config file** `./data/config.yaml`
|
||||||
|
- Set `remote-management.allow-remote` to `true` to allow remote access
|
||||||
|
- Set `remote-management.secret-key` to your management secret
|
||||||
|
|
||||||
|
2. **Access URL** (replace with your server IP):
|
||||||
|
|
||||||
|
```
|
||||||
|
http://your-server-ip:8317/management.html
|
||||||
|
```
|
||||||
|
|
||||||
|
**Note**: Default `allow-remote` is `false`, only local access is allowed. To access from other machines, please set to `true` and configure a strong password.
|
||||||
|
|
||||||
|
### Configuration Files
|
||||||
|
|
||||||
Application data is stored in the `./data` directory:
|
Application data is stored in the `./data` directory:
|
||||||
- `config.yaml` - Configuration file
|
|
||||||
- `auths/` - Authentication directory
|
- `config.yaml` - Main configuration file
|
||||||
- `logs/` - Logs directory
|
- API key configuration
|
||||||
|
- Provider settings
|
||||||
|
- Routing strategy
|
||||||
|
- Proxy settings
|
||||||
|
- `auths/` - OAuth authentication storage directory
|
||||||
|
- `logs/` - Application logs directory
|
||||||
|
|
||||||
|
### Quick Configuration
|
||||||
|
|
||||||
|
1. Edit the `./data/config.yaml` file
|
||||||
|
2. Add your API keys in the `api-keys` section
|
||||||
|
3. For remote access, set `remote-management.allow-remote: true` and `remote-management.secret-key`
|
||||||
|
4. Configure providers as needed (Claude, Gemini, Codex, etc.)
|
||||||
|
5. Restart the application for changes to take effect
|
||||||
|
|
||||||
|
### Key Configuration Items
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# API Keys
|
||||||
|
api-keys:
|
||||||
|
- 'your-api-key-1'
|
||||||
|
- 'your-api-key-2'
|
||||||
|
|
||||||
|
# Management interface settings
|
||||||
|
remote-management:
|
||||||
|
allow-remote: false # Allow remote management, true=allow, false=local only
|
||||||
|
secret-key: '' # Management key (will be hashed after first startup)
|
||||||
|
disable-control-panel: false
|
||||||
|
|
||||||
|
# Proxy settings
|
||||||
|
proxy-url: "" # Global proxy URL
|
||||||
|
|
||||||
|
# Routing strategy
|
||||||
|
routing:
|
||||||
|
strategy: 'round-robin' # round-robin or fill-first
|
||||||
|
```
|
||||||
|
|
||||||
|
## Version Information
|
||||||
|
|
||||||
|
- **latest**: Latest development version
|
||||||
|
- **6.9.9-0**: Latest stable version (recommended)
|
||||||
|
|
||||||
## Links
|
## Links
|
||||||
|
|
||||||
|
- Official Documentation: https://help.router-for.me/cn/introduction/quick-start.html
|
||||||
|
- Web UI Documentation: https://help.router-for.me/cn/management/webui.html
|
||||||
- GitHub: https://github.com/router-for-me/CLIProxyAPIPlus
|
- GitHub: https://github.com/router-for-me/CLIProxyAPIPlus
|
||||||
|
- Issue Tracker: https://github.com/router-for-me/CLIProxyAPIPlus/issues
|
||||||
|
|
||||||
|
## Important Notes
|
||||||
|
|
||||||
|
1. Please modify `api-keys` and management key promptly after first deployment
|
||||||
|
2. For remote access, set `allow-remote: true` and configure a strong password
|
||||||
|
3. In production, it's recommended to set `allow-remote` back to `false` after use for better security
|
||||||
|
4. For OAuth authentication, ensure the `auths/` directory has proper read/write permissions
|
||||||
|
5. TLS encryption is recommended for production environments
|
||||||
|
|
||||||
|
## Support
|
||||||
|
|
||||||
|
- Mainline project issues: Please submit issues to the mainline repository
|
||||||
|
- Plus version third-party provider issues: Please contact the corresponding community maintainer
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ additionalProperties:
|
|||||||
recommend: 0
|
recommend: 0
|
||||||
website: https://github.com/router-for-me/CLIProxyAPIPlus
|
website: https://github.com/router-for-me/CLIProxyAPIPlus
|
||||||
github: https://github.com/router-for-me/CLIProxyAPIPlus
|
github: https://github.com/router-for-me/CLIProxyAPIPlus
|
||||||
document: https://github.com/router-for-me/CLIProxyAPIPlus
|
document: https://help.router-for.me/cn/introduction/quick-start.html
|
||||||
architectures:
|
architectures:
|
||||||
- amd64
|
- amd64
|
||||||
- arm64
|
- arm64
|
||||||
@@ -2,49 +2,49 @@ additionalProperties:
|
|||||||
formFields:
|
formFields:
|
||||||
- default: 8317
|
- default: 8317
|
||||||
edit: true
|
edit: true
|
||||||
envKey: PANEL_APP_PORT_8317
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
labelEn: Port 8317
|
labelEn: Web UI Port
|
||||||
labelZh: 端口 8317
|
labelZh: Web界面端口
|
||||||
required: true
|
required: true
|
||||||
rule: paramPort
|
rule: paramPort
|
||||||
type: number
|
type: number
|
||||||
- default: 8085
|
- default: 8085
|
||||||
edit: true
|
edit: true
|
||||||
envKey: PANEL_APP_PORT_8085
|
envKey: PANEL_APP_PORT_PROXY
|
||||||
labelEn: Port 8085
|
labelEn: Proxy Port
|
||||||
labelZh: 端口 8085
|
labelZh: 代理端口
|
||||||
required: true
|
required: true
|
||||||
rule: paramPort
|
rule: paramPort
|
||||||
type: number
|
type: number
|
||||||
- default: 1455
|
- default: 1455
|
||||||
edit: true
|
edit: true
|
||||||
envKey: PANEL_APP_PORT_1455
|
envKey: PANEL_APP_PORT_1455
|
||||||
labelEn: Port 1455
|
labelEn: Additional Port 1455
|
||||||
labelZh: 端口 1455
|
labelZh: 额外端口 1455
|
||||||
required: true
|
required: true
|
||||||
rule: paramPort
|
rule: paramPort
|
||||||
type: number
|
type: number
|
||||||
- default: 54545
|
- default: 54545
|
||||||
edit: true
|
edit: true
|
||||||
envKey: PANEL_APP_PORT_54545
|
envKey: PANEL_APP_PORT_54545
|
||||||
labelEn: Port 54545
|
labelEn: Additional Port 54545
|
||||||
labelZh: 端口 54545
|
labelZh: 额外端口 54545
|
||||||
required: true
|
required: true
|
||||||
rule: paramPort
|
rule: paramPort
|
||||||
type: number
|
type: number
|
||||||
- default: 51121
|
- default: 51121
|
||||||
edit: true
|
edit: true
|
||||||
envKey: PANEL_APP_PORT_51121
|
envKey: PANEL_APP_PORT_51121
|
||||||
labelEn: Port 51121
|
labelEn: Additional Port 51121
|
||||||
labelZh: 端口 51121
|
labelZh: 额外端口 51121
|
||||||
required: true
|
required: true
|
||||||
rule: paramPort
|
rule: paramPort
|
||||||
type: number
|
type: number
|
||||||
- default: 11451
|
- default: 11451
|
||||||
edit: true
|
edit: true
|
||||||
envKey: PANEL_APP_PORT_11451
|
envKey: PANEL_APP_PORT_11451
|
||||||
labelEn: Port 11451
|
labelEn: Additional Port 11451
|
||||||
labelZh: 端口 11451
|
labelZh: 额外端口 11451
|
||||||
required: true
|
required: true
|
||||||
rule: paramPort
|
rule: paramPort
|
||||||
type: number
|
type: number
|
||||||
|
|||||||
@@ -6,12 +6,12 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- 1panel-network
|
- 1panel-network
|
||||||
ports:
|
ports:
|
||||||
- ${PANEL_APP_PORT_8317}:8317
|
- "${PANEL_APP_PORT_HTTP}:8317"
|
||||||
- ${PANEL_APP_PORT_8085}:8085
|
- "${PANEL_APP_PORT_PROXY}:8085"
|
||||||
- ${PANEL_APP_PORT_1455}:1455
|
- "${PANEL_APP_PORT_1455}:1455"
|
||||||
- ${PANEL_APP_PORT_54545}:54545
|
- "${PANEL_APP_PORT_54545}:54545"
|
||||||
- ${PANEL_APP_PORT_51121}:51121
|
- "${PANEL_APP_PORT_51121}:51121"
|
||||||
- ${PANEL_APP_PORT_11451}:11451
|
- "${PANEL_APP_PORT_11451}:11451"
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/config.yaml:/CLIProxyAPI/config.yaml
|
- ./data/config.yaml:/CLIProxyAPI/config.yaml
|
||||||
- ./data/auths:/root/.cli-proxy-api
|
- ./data/auths:/root/.cli-proxy-api
|
||||||
|
|||||||
Reference in New Issue
Block a user