appstore-1panel/apps/halo/versions/2.2.0/config.json

107 lines
2.4 KiB
JSON

{
"formFields": [
{
"type": "apps",
"labelZh": "数据库服务",
"labelEn": "Database Service",
"required": true,
"default": "mysql",
"values": [{
"label": "MySQL",
"value": "mysql"
}],
"envKey": "HALO_PLATFORM",
"child": {
"type": "service",
"labelZh": "数据库服务",
"labelEn": "Database Service",
"required": true,
"default": "",
"envKey": "PANEL_DB_HOST"
},
"params": [
{
"type": "param",
"key": "mysql",
"value": "3306",
"envKey": "HALO_DB_PORT"
},
{
"type": "param",
"key": "postgresql",
"value": "5432",
"envKey": "HALO_DB_PORT"
}
]
},
{
"type": "text",
"labelZh": "数据库名",
"labelEn": "Database",
"required": true,
"default": "halo",
"random": true,
"rule": "paramCommon",
"envKey": "PANEL_DB_NAME"
},
{
"type": "text",
"labelZh": "数据库用户",
"labelEn": "User",
"required": true,
"default": "halo",
"random": true,
"rule": "paramCommon",
"envKey": "PANEL_DB_USER"
},
{
"type": "password",
"labelZh": "数据库用户密码",
"labelEn": "Password",
"required": true,
"default": "halo",
"random": true,
"rule": "paramComplexity",
"envKey": "PANEL_DB_USER_PASSWORD"
},
{
"type": "text",
"labelZh": "超级管理员用户名",
"labelEn": "Admin Username",
"required": true,
"default": "admin",
"random": true,
"rule": "paramCommon",
"envKey": "HALO_ADMIN"
},
{
"type": "password",
"labelZh": "超级管理员密码",
"labelEn": "Admin Password",
"required": true,
"default": "halo",
"random": true,
"rule": "paramComplexity",
"envKey": "HALO_ADMIN_PASSWORD"
},
{
"type": "text",
"labelZh": "外部访问地址",
"labelEn": "External URL",
"required": true,
"default": "http://localhost:8080",
"rule": "paramExtUrl",
"envKey": "HALO_EXTERNAL_URL"
},
{
"type": "number",
"labelZh": "端口",
"labelEn": "Port",
"required": true,
"default": 8080,
"rule": "paramPort",
"envKey": "PANEL_APP_PORT_HTTP"
}
]
}