dockerfix

This commit is contained in:
2026-04-09 09:31:34 +00:00
parent 880f5caf2d
commit 5212cab8b6
5 changed files with 28 additions and 8 deletions

View File

@@ -193,9 +193,11 @@ npm install
npm run dev
```
默认会监听 `8451` 端口,并自动把 `/api``/media` 代理到 `http://localhost:8000`
### 3. 打开页面
- 前端http://localhost:5173
- 前端http://localhost:8451
- 后端http://localhost:8000
- 健康检查http://localhost:8000/api/health
@@ -209,7 +211,7 @@ docker compose up --build
启动后访问:
- 前端http://localhost:8080
- 前端http://localhost:8451
- 后端 APIhttp://localhost:8000
- 健康检查http://localhost:8000/api/health