This commit is contained in:
24kycj
2026-06-12 11:53:18 +08:00
parent 55a6029779
commit 23b958753d
6 changed files with 209 additions and 160 deletions
+4 -1
View File
@@ -17,9 +17,12 @@
```bat
docker\sync-config.ps1 :: 同步 local.js 与 backend local.php(改端口后必跑)
scripts\start.bat :: 启动
scripts\start.bat :: 启动(不销毁已有容器,适合日常开发)
scripts\start.bat stop :: 停止(保留数据库)
scripts\start.bat reset :: 停止并清空数据库卷
scripts\start.bat rebuild :: 重建 API 镜像并重启 API 容器
scripts\start.bat status :: 查看容器与 /health
scripts\start.bat logs :: 跟踪 API 日志
```
生产环境编辑 `frontend-web/config/local.js`(从 `config/local.js.example` 复制);全量更新 frontend 时不要覆盖该文件。本地开发由 `docker/sync-config.ps1` 生成 `local.js`