mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 23:42:48 +08:00
- 新增 `php think admin:stack:mode` 命令,支持 list/use/current/rollback 操作 - 新增 StackModeService 服务,负责模式切换、备份与回滚逻辑 - 在 source/stack/ 目录下添加 default、full、base-build 三种模式的配置文件 - 更新 UlthonAdminService 以注册新的命令行工具
23 lines
493 B
JSON
23 lines
493 B
JSON
{
|
|
"default_mode": "default",
|
|
"managed_files": [
|
|
"Dockerfile",
|
|
"docker-compose.yaml",
|
|
".gitea/workflows/build-and-deploy.yml"
|
|
],
|
|
"modes": {
|
|
"default": {
|
|
"description": "代码库默认行为基线",
|
|
"author_only": false
|
|
},
|
|
"full": {
|
|
"description": "全量构建模式(兼容历史行为)",
|
|
"author_only": false
|
|
},
|
|
"base-build": {
|
|
"description": "基础镜像 + 应用构建模式",
|
|
"author_only": true
|
|
}
|
|
}
|
|
}
|