Files
Fnos-Havline/havline/wizard/install
T

71 lines
1.9 KiB
Plaintext

[
{
"stepTitle": "端口设置",
"items": [
{
"type": "text",
"field": "wizard_service_port",
"label": "Havline 管理端口",
"initValue": "6893",
"rules": [
{ "required": true, "message": "请输入管理端口" },
{ "pattern": "^[0-9]+$", "message": "端口必须是数字" }
]
},
{
"type": "text",
"field": "wizard_nginx_http_port",
"label": "HTTP 反向代理端口",
"initValue": "18080",
"rules": [
{ "required": true, "message": "请输入 HTTP 端口" },
{ "pattern": "^[0-9]+$", "message": "端口必须是数字" }
]
},
{
"type": "text",
"field": "wizard_nginx_https_port",
"label": "HTTPS 反向代理端口",
"initValue": "9443",
"rules": [
{ "required": true, "message": "请输入 HTTPS 端口" },
{ "pattern": "^[0-9]+$", "message": "端口必须是数字" }
]
}
]
},
{
"stepTitle": "管理员初始化",
"items": [
{
"type": "password",
"field": "wizard_initial_admin_password",
"label": "初始管理员密码",
"rules": [
{ "required": true, "message": "请输入初始管理员密码" },
{ "min": 8, "message": "密码至少 8 位" }
]
},
{
"type": "tips",
"helpText": "首次启动时使用该密码创建 admin 管理员。登录后请在系统设置中修改密码。"
}
]
},
{
"stepTitle": "基础设置",
"items": [
{
"type": "select",
"field": "wizard_timezone",
"label": "时区",
"initValue": "Asia/Shanghai",
"options": [
{ "label": "Asia/Shanghai", "value": "Asia/Shanghai" },
{ "label": "UTC", "value": "UTC" }
]
}
]
}
]