mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-04-15 00:17:12 +08:00
feat: update trae-proxy 1.0.0
This commit is contained in:
28
apps/trae-proxy/1.0.0/config.yaml
Normal file
28
apps/trae-proxy/1.0.0/config.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
# Trae-Proxy 配置文件
|
||||
# 代理域名配置
|
||||
domain: api.openai.com
|
||||
|
||||
# 后端API配置列表
|
||||
apis:
|
||||
- name: "deepseek-r1"
|
||||
endpoint: "https://api.deepseek.com"
|
||||
custom_model_id: "deepseek-reasoner"
|
||||
target_model_id: "deepseek-reasoner"
|
||||
stream_mode: null
|
||||
active: true
|
||||
- name: "kimi-k2"
|
||||
endpoint: "https://api.moonshot.cn"
|
||||
custom_model_id: "kimi-k2-0711-preview"
|
||||
target_model_id: "kimi-k2-0711-preview"
|
||||
stream_mode: null
|
||||
active: true
|
||||
- name: "qwen3-coder-plus"
|
||||
endpoint: "https://dashscope.aliyuncs.com/compatible-mode"
|
||||
custom_model_id: "qwen3-coder-plus"
|
||||
target_model_id: "qwen3-coder-plus"
|
||||
stream_mode: null
|
||||
active: true
|
||||
# 代理服务器配置
|
||||
server:
|
||||
port: 443
|
||||
debug: true
|
||||
11
apps/trae-proxy/1.0.0/data.yml
Normal file
11
apps/trae-proxy/1.0.0/data.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "443"
|
||||
envKey: PANEL_APP_PORT_HTTPS
|
||||
label:
|
||||
en: Proxy-Port
|
||||
zh: 代理端口
|
||||
required: true
|
||||
type: number
|
||||
edit: true
|
||||
rule: paramPort
|
||||
18
apps/trae-proxy/1.0.0/docker-compose.yml
Normal file
18
apps/trae-proxy/1.0.0/docker-compose.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
services:
|
||||
trae-proxy:
|
||||
image: vuldocker/trae-proxy:1.0.0
|
||||
container_name: ${CONTAINER_NAME}
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTPS}:443"
|
||||
volumes:
|
||||
- ./ca:/app/ca
|
||||
- ./config.yaml:/app/config.yaml
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- 1panel-network
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user