refactor(sub2api): 重构配置管理和版本结构

移除硬编码的配置文件,改为使用环境变量
添加 0.1.106 稳定版本目录结构
更新 README 文档说明自动生成密码功能
This commit is contained in:
arch3rPro
2026-04-03 01:28:09 +08:00
parent 4259135298
commit 468cceabd9
9 changed files with 119 additions and 63 deletions

View File

@@ -9,7 +9,6 @@ services:
- "${PANEL_APP_PORT_HTTP}:8080"
volumes:
- ./data:/app/data
- ./config.yaml:/app/config.yaml:ro
environment:
- TZ=${TZ}
- POSTGRES_CONN_STRING=postgres://sub2api:${POSTGRES_PASSWORD}@postgres:5432/sub2api?sslmode=disable
@@ -54,4 +53,4 @@ networks:
volumes:
postgres_data:
redis_data:
redis_data: