Files
ulthon_admin/source/stack/stack.json
augushong efc335e78f
All checks were successful
build-and-deploy / 直传代码并部署到 Host15 (push) Successful in 1m13s
feat(stack): 新增 docker-dev 开发模式并自动清理文件
- 新增 docker-dev 部署模式,提供包含 nginx+php-fpm、MySQL、Redis、phpMyAdmin 和 Xdebug 的完整 Docker 开发环境
- 在 StackModeService 中重写 applyMode 方法,切换模式时自动删除目标模式中不存在的已管理文件
- 新增 .docker-dev.env 配置文件并纳入 managed_files 管理,切换模式时自动复制或删除
2026-04-30 22:38:22 +08:00

32 lines
760 B
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"default_mode": "default",
"managed_files": [
"Dockerfile",
"docker-compose.yaml",
".gitea/workflows/build-and-deploy.yml",
".docker-dev.env",
".dockerignore",
"docker/zzz-dev.ini",
"docker/zzz-xdebug.ini",
"docker/run.sh"
],
"modes": {
"default": {
"description": "代码库默认行为基线",
"author_only": false
},
"full": {
"description": "全量构建模式(兼容历史行为)",
"author_only": false
},
"base-build": {
"description": "基础镜像 + 应用构建模式",
"author_only": true
},
"docker-dev": {
"description": "Docker 开发模式nginx+php-fpm+MySQL+Redis+phpMyAdmin+Xdebug",
"author_only": false
}
}
}