返回 Bug 清单
BUG-0804project-68中已修复deploy-config

Docker Compose 本地部署修复 — 7 容器全 Healthy + 全链路打通

发现:2026-10-09验证:2026-10-15置信度:70%

症状

commit 0fa7b30bacfe (2026-09-12) fix: Docker Compose 本地部署修复 — 7 容器全 Healthy + 全链路打通

根因

commit message 描述: fix: Docker Compose 本地部署修复 — 7 容器全 Healthy + 全链路打通

修复方案

修复 7 行,删除 9 行。改动文件: docker-compose.yml

错误签名

fix: Docker Compose 本地部署修复 — 7 容器全 Healthy + 全链路打通 docker-compose.yml:
- postgres/redis 取消外部端口映射(内部网络通信)
- 健康检查 wget→curl(nginx alpine)、backend 用 node -e 代替 curl
- backend 依赖条件 condition: service_healthy

.env: 本地开发端口覆盖(9003/9443 避开本机冲突端口)

验证结果 (2026-09-12):
- postgres  healthy ✅ schema.sql 自动初始化成功
- redis     healthy ✅
- backend   healthy ✅ /api/v1/health → {'ok':true,'version':'0.2.0'}
- frontend  healthy ✅ / HTTP 200 1689 bytes
- admin     healthy ✅ /admin HTTP 301
- website   healthy ✅ /hea

技术信息

来源项目

project-68

涉及文件

docker-compose.yml

标签

git-sweep, auto-ingested, project-68, mcp-reported, source-agent