From bb602dccda5c7fd42fc4a4915dfc57cceeb42a29 Mon Sep 17 00:00:00 2001 From: augushong Date: Wed, 22 Jul 2026 01:02:57 +0800 Subject: [PATCH] =?UTF-8?q?chore(stack):=20=E7=B2=BE=E7=AE=80=20stack.json?= =?UTF-8?q?=20=E4=B8=BA=E7=BA=AF=E5=85=83=E6=95=B0=E6=8D=AE=EF=BC=88schema?= =?UTF-8?q?=20v2=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/stack/stack.json | 39 ++++++++++++--------------------------- 1 file changed, 12 insertions(+), 27 deletions(-) diff --git a/source/stack/stack.json b/source/stack/stack.json index 62b75b8..7ff5053 100644 --- a/source/stack/stack.json +++ b/source/stack/stack.json @@ -1,40 +1,25 @@ { - "default_mode": "default", - "managed_files": [ - "Dockerfile", - "docker-compose.yaml", - ".gitea/workflows/build-and-deploy.yml", - ".docker-dev.env", - ".dockerignore", - "source/docker/zzz-dev.ini", - "source/docker/zzz-xdebug.ini", - "source/docker/run.sh", - "source/docker/sync.sh" - ], + "schema_version": 2, "modes": { "default": { "description": "代码库默认行为基线(php think run)", - "author_only": false + "category": "user" }, "docker-serve": { "description": "Docker 部署模式(基于基础镜像,nginx+php-fpm)", - "author_only": false - }, - "full": { - "description": "全量构建模式(兼容历史行为)", - "author_only": false - }, - "base-build": { - "description": "基础镜像 + 应用构建模式", - "author_only": true + "category": "user" }, "docker-dev": { - "description": "Docker 开发模式(nginx+php-fpm+MySQL+Redis+phpMyAdmin+Xdebug)", - "author_only": false + "description": "Docker 开发模式(nginx+php-fpm+MySQL+Redis+phpMyAdmin+Xdebug,含 Windows I/O 优化 profile rsync sync)", + "category": "user" }, - "docker-dev-sync": { - "description": "Docker 开发模式 - Windows I/O 优化(rsync 同步,避免 bind mount 慢速问题)", - "author_only": false + "full": { + "description": "完整服务栈构建模式(规划含 MySQL/Redis 等完整中间件,当前与 docker-serve 接近,后续完善)", + "category": "user" + }, + "author": { + "description": "基础镜像 + 应用构建模式(框架作者工具)", + "category": "author" } } }