fix: isolate backend compose project
This commit is contained in:
1 parent
ac0d3856f0
commit
78d06d0ba0
3 files changed
+43
-5
No files matched your search
@@ -42,14 +42,12 @@ docker compose --env-file compose/.env \
|
||||
compose/.env \
|
||||
/srv/ai-soulmate/sources/ai-soulmate-server
|
||||
|
||||
docker compose --env-file compose/.env \
|
||||
-f compose/docker-compose.backend.yml \
|
||||
up -d
|
||||
./scripts/start-backend.sh compose/.env
|
||||
|
||||
./scripts/verify-backend.sh compose/.env
|
||||
```
|
||||
|
||||
构建脚本拒绝错误分支、受跟踪源码改动以及与源码提交不一致的镜像标签。后端验证会检查 HTTP 健康状态,以及容器到 PostgreSQL、Redis 和 MinIO Bucket 的实际连接。
|
||||
构建脚本拒绝错误分支、受跟踪源码改动以及与源码提交不一致的镜像标签。启动和验证脚本显式使用独立的 Compose 项目名,防止基础设施被误判为后端的孤立容器。后端验证会检查 HTTP 健康状态,以及容器到 PostgreSQL、Redis 和 MinIO Bucket 的实际连接。
|
||||
|
||||
## 当前网络边界
|
||||
|
||||
|
||||
Reference in new issue
Block a user