finish api and docs validation fixes
This commit is contained in:
@@ -83,13 +83,13 @@ docker compose -f docker_compose.yaml up -d --build --force-recreate
|
||||
```yaml
|
||||
ports:
|
||||
- "4001:3000"
|
||||
- "4002:3002"
|
||||
- "4000:3002"
|
||||
```
|
||||
|
||||
修改后访问地址变为:
|
||||
|
||||
- 前端页面:`http://目标机器IP:4001`
|
||||
- API:`http://目标机器IP:4002`
|
||||
- API:`http://目标机器IP:4000`
|
||||
|
||||
如果修改了前端宿主机端口,也建议同步修改 `.env.local`:
|
||||
|
||||
@@ -184,7 +184,7 @@ APP_URL="http://192.168.31.5:3000"
|
||||
```yaml
|
||||
ports:
|
||||
- "4001:3000"
|
||||
- "4002:3002"
|
||||
- "4000:3002"
|
||||
```
|
||||
|
||||
容器内端口右侧保持不变。
|
||||
|
||||
Reference in New Issue
Block a user