fix: SSH密钥路径从根目录迁移到config目录

修改内容:
1. datasource/flask_server.py
   - 默认路径从 'hk_ecs.pem' 改为 'config/hk_ecs.pem'

2. docker-compose.yml
   - 挂载路径从 './hk_ecs.pem:/app/hk_ecs.pem'
   - 改为 './config/hk_ecs.pem:/app/config/hk_ecs.pem'

3. build-and-push.sh
   - 示例命令中的路径同步更新

4. README.md
   - 项目结构说明中更新密钥位置

验证:
- rotation.yaml 已使用 config/hk_ecs.pem(无需修改)
- flask_server 默认路径正确指向 config/hk_ecs.pem
- 密钥文件存在于 config/hk_ecs.pem
This commit is contained in:
2026-05-12 22:02:35 +08:00
parent 9fe779bced
commit 70515ab169
4 changed files with 7 additions and 7 deletions

View File

@@ -124,7 +124,7 @@ portfolio = executor.execute(signals, data)
├── docker-compose.yml # Docker部署
├── Dockerfile # 应用镜像
├── Dockerfile_base # 基础镜像
├── hk_ecs.pem # SSH密钥
├── config/hk_ecs.pem # SSH密钥(港美股数据隧道)
├── README.md # 本文件
└── requirements.txt # 依赖
```