4 Commits

Author SHA1 Message Date
huangzhenpc
f7a5cee262 feat: docker-compose.1panel.yml 支持本地构建
Some checks failed
CI / test (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
- 默认从本地代码构建镜像
- 保留官方镜像选项(注释)
- 支持二次开发场景
- 统一配置文件,无需维护多个版本
2026-01-04 16:48:34 +08:00
huangzhenpc
106d8d8e57 fix: sub2api 加入 1panel-network 网络
Some checks failed
CI / test (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
- 允许 sub2api 容器访问 1Panel Redis 容器
- 添加 1panel-network 为外部网络
- 保持通过容器名 1Panel-redis-S1KH 连接 Redis
2026-01-04 11:28:25 +08:00
huangzhenpc
b57334b82c fix: 修复 docker-compose.1panel.yml 网络配置
Some checks failed
CI / test (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
- 移除 network_mode: bridge
- 添加自定义网络 sub2api-network
- 修复容器间无法通过服务名通信的问题
2026-01-04 11:00:35 +08:00
huangzhenpc
e4db851b31 feat: 添加二次开发部署配置和文档
Some checks failed
CI / test (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
- 添加双 Git remote 配置指南 (GIT_GUIDE.md, GIT_WORKFLOW.md)
- 添加 1Panel 环境部署配置 (docker-compose.1panel.yml, .env.1panel)
- 添加自动化部署脚本 (deploy-complete.sh, deploy-dev.sh, deploy.sh)
- 添加部署说明文档 (README_DEPLOY.md)
- 配置端口 2080 映射
- 支持连接现有 1Panel Redis (1Panel-redis-S1KH)
2026-01-04 10:25:36 +08:00