Merge pull request #1 from lanzhihong6/main

Merge
This commit is contained in:
Cassianvale
2025-03-04 16:26:04 +08:00
committed by GitHub
2 changed files with 4 additions and 3 deletions

View File

@@ -2,9 +2,7 @@ name: Docker Build and Push
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
branches: [ main ] # 只在 main 分支推送时触发
jobs:
build:

View File

@@ -17,8 +17,11 @@ docker run -d \
-e API_KEY=替换为你的key \
-e API_URL=替换为你的api地址 \
-e API_MODEL=替换为你的模型 \
-e API_TIMEOUT=60 \
lanzhihong/stock-scanner:latest
API_TIMEOUT=60 202503040712版本开始 (AI分析发生错误查看日志是否有timed out类似错误需要增加你的API超时时间)
注意⚠️: 环境变量名变更,更新版本后需要调整!!!
针对API_URL处理兼容更多的api地址