chore(compose): change frontend port to 7888

这个提交包含在:
anygen-build-bot
2026-02-12 10:35:49 +00:00
父节点 6585ff6d68
当前提交 21a5c0f269
修改 2 个文件,包含 2 行新增2 行删除

查看文件

@@ -23,7 +23,7 @@ services:
# Next.js 服务端反代用(可选),仅在你把 NEXT_PUBLIC_API_BASE 设为 /api 时需要 # Next.js 服务端反代用(可选),仅在你把 NEXT_PUBLIC_API_BASE 设为 /api 时需要
- BACKEND_INTERNAL_URL=http://backend:8080 - BACKEND_INTERNAL_URL=http://backend:8080
ports: ports:
- "3000:3000" - "7888:3000"
depends_on: depends_on:
- backend - backend
restart: unless-stopped restart: unless-stopped

查看文件

@@ -11,7 +11,7 @@ docker compose up -d --build
- 后端健康检查http://localhost:8080/api/health - 后端健康检查http://localhost:8080/api/health
- 后端(注册):`POST http://localhost:8080/api/v1/auth/register` - 后端(注册):`POST http://localhost:8080/api/v1/auth/register`
- 后端(登录):`POST http://localhost:8080/api/v1/auth/login` - 后端(登录):`POST http://localhost:8080/api/v1/auth/login`
- 前端http://localhost:3000 - 前端http://localhost:7888
## 数据持久化 ## 数据持久化