fix(deploy): Avoid pulling private 1Panel service images

- Remove stale haovp image references from local build services
- Document how to resolve 1Panel image pull failures
This commit is contained in:
Toys-A
2026-08-05 20:31:53 +08:00
parent 0cb6a49aa5
commit c91b9059dd
2 changed files with 16 additions and 10 deletions
+16
View File
@@ -334,6 +334,22 @@ docker run --rm --network haovp-1panel_haovp-network -v "$PWD/backup:/backup" mi
后端镜像会在 Docker 构建阶段执行 Maven 构建,前端镜像会执行 npm 构建。国内服务器建议提前配置 Docker、Maven、npm 镜像源,或在 CI 中构建镜像后推送到私有镜像仓库。
### 拉取 `haovp/video-*` 镜像失败
如果 1Panel 报错类似:
```text
pull access denied for haovp/video-auth
```
说明当前编排文件里仍然带有旧版本地构建镜像名。1Panel 会先按 `image:` 拉取远程镜像,而 `haovp/video-*` 并不是公开镜像仓库。
解决方式:
1. 使用新版 `backend/docker-compose.1panel.yml`。
2. 确认 `video-auth`、`video-user`、`video-content`、`frontend-web` 等本地构建服务只有 `build:`,没有 `image: haovp/...`。
3. 在 1Panel 中重新加载编排文件后再启动。
### 后端连接 RocketMQ 失败
1Panel 版已使用单机配置: