-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (34 loc) · 1.01 KB
/
docker-compose.yml
File metadata and controls
40 lines (34 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
services:
breakoutanalysis:
build:
context: .
container_name: breakoutanalysis
restart: unless-stopped
env_file:
- .env
environment:
TZ: Etc/UTC
ANALYSIS_BASE_DIR: /app/analysis
LOCAL_MARKDOWN_ENABLED: "true"
LOCAL_MARKDOWN_DIR: /app/local_reports
LLM_CURRENT_MODEL: ${LLM_CURRENT_MODEL:-gemini-2.5-pro}
ANALYSIS_OUTPUT_LANGUAGE: ${ANALYSIS_OUTPUT_LANGUAGE:-zh-CN}
ALPACA_USE_PAPER: "true"
ALPACA_DATA_FEED: iex
NEWS_SUMMARIZE_ARTICLES: "false"
volumes:
- ./analysis:/app/analysis
- ./local_reports:/app/local_reports
- ./assets:/app/assets
healthcheck:
test: ["CMD", "python", "-c", "from src.utils.config_loader import load_config; assert load_config('config/config.json').get('llms')"]
interval: 60s
timeout: 15s
retries: 3
start_period: 30s
# 改进错误处理 - 44
# 重构代码 - 161
# 添加日志记录 - 310
# 优化性能 - 424
# 重构代码 - 466
# 改进错误处理 - 597