docs(stack): restore docker-dev-sync as independent mode in docs

This commit is contained in:
augushong
2026-07-22 22:47:46 +08:00
parent 0a04181d12
commit 0adc497818
4 changed files with 11 additions and 8 deletions

View File

@@ -27,11 +27,12 @@
|------|----------|------|
| `default` | 仓库根目录 `php think run` | 默认基线,无 Docker 文件,宿主机直接跑 |
| `docker-serve` | `cd source/stack/docker-serve && docker compose up -d` | Docker 部署模式基于基础镜像nginx + php-fpm |
| `docker-dev` | `cd source/stack/docker-dev && docker compose up -d` | Docker 开发模式nginx + php-fpm + MySQL + Redis + phpMyAdmin + Xdebug,含 Windows I/O 优化 profile |
| `docker-dev` | `cd source/stack/docker-dev && docker compose up -d` | Docker 开发模式nginx + php-fpm + MySQL + Redis + phpMyAdmin + Xdebug |
| `docker-dev-sync` | `cd source/stack/docker-dev-sync && docker compose up -d` | Docker 开发模式 - Windows I/O 优化rsync 同步,避免 bind mount 慢速问题) |
| `full` | `cd source/stack/full && docker compose up -d` | 完整服务栈(规划中),从 PHP 镜像从头构建 |
| `author` | `cd source/stack/author` | 框架作者维护工具(基础镜像构建、发布脚本等) |
> 历史 `base-build` 模式已并入 `author``docker-dev-sync`Windows I/O 优化)已融入 `docker-dev` 的 compose profile不再单列目录
> 历史 `base-build` 模式已并入 `author`。
## 基础镜像说明