refactor: SSH密钥移到根目录,删除config目录

迁移内容:
- config/hk_ecs.pem → hk_ecs.pem(根目录)
- 删除 config 目录(无其他内容)

路径更新:
- datasource/flask_server.py:默认路径改为 hk_ecs.pem
- strategies/rotation/config.yaml:SSH配置路径
- docker-compose.yml:挂载路径
- build-and-push.sh:示例命令
- README.md:项目结构说明

设计原则:敏感文件集中放在根目录
- .env:环境变量
- hk_ecs.pem:SSH密钥
This commit is contained in:
2026-05-12 22:31:43 +08:00
parent 50032d628f
commit 5c98b1cb6a
6 changed files with 5 additions and 5 deletions

View File

@@ -124,5 +124,5 @@ ssh_tunnel:
host: "8.218.167.69" # SSH 服务器地址(阿里云香港 ECS IP
port: 22 # SSH 端口
username: "root" # SSH 用户名
key_path: "config/hk_ecs.pem" # SSH 私钥路径(相对于项目根目录)
key_path: "hk_ecs.pem" # SSH 私钥路径(相对于项目根目录)
local_port: 1080 # 本地 SOCKS5 代理端口