feat: update trae-proxy 1.0.0

This commit is contained in:
arch3rPro
2025-12-05 13:16:07 +08:00
parent 3a7e810cde
commit fe501f91c2
3 changed files with 57 additions and 0 deletions

View 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

View 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

View 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