diff --git a/apps/trae-proxy/1.0.0/config.yaml b/apps/trae-proxy/1.0.0/config.yaml new file mode 100644 index 0000000..cfaef4e --- /dev/null +++ b/apps/trae-proxy/1.0.0/config.yaml @@ -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 \ No newline at end of file diff --git a/apps/trae-proxy/1.0.0/data.yml b/apps/trae-proxy/1.0.0/data.yml new file mode 100644 index 0000000..fcee726 --- /dev/null +++ b/apps/trae-proxy/1.0.0/data.yml @@ -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 diff --git a/apps/trae-proxy/1.0.0/docker-compose.yml b/apps/trae-proxy/1.0.0/docker-compose.yml new file mode 100644 index 0000000..98ab0df --- /dev/null +++ b/apps/trae-proxy/1.0.0/docker-compose.yml @@ -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 \ No newline at end of file