Files
Mycontent/soul-api/deploy/README.md
2026-04-13 14:32:32 +08:00

10 lines
872 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 以下由「部署管理器」根据项目配置在保存时自动生成/更新
# Soul-测试版 · deploy
- **.env**Compose 变量(`COMPOSE_PROJECT``COMPOSE_BG_CONTAINER_BASE` → 容器名 `{base}-blue|-green|-gateway`、宿主机上传/日志目录、网关镜像等),与部署管理器远端流程一致。
- **docker-compose.bg.yml** / **nginx.bg.conf**:蓝绿 + 网关;容器端口 **8080**,健康检查 **/health**。
- **docker-compose.yml** 的 `build.args``GOPROXY``go mod download`)、`DOCKER_BUNDLE_PATHS` / `DOCKER_BUNDLE_REQUIRED_FILES` / `DOCKER_BUNDLE_FILES`(与 Dockerfile `ARG` 一致)。
- **Dockerfile**`deploy/Dockerfile`):由表单「构建命令」解析 `go build -o`;可选在项目配置里设置 `dockerGoProxy` 覆盖默认 `GOPROXY`
修改构建配置后请再次保存项目以同步本目录。