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

108 lines
2.5 KiB
JSON
Raw Normal View History

2023-03-01 15:06:50 +08:00
{
"formFields": [
{
"type": "apps",
2023-03-01 15:06:50 +08:00
"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"
}
]
2023-03-01 15:06:50 +08:00
},
{
"type": "text",
"labelZh": "数据库名",
"labelEn": "Database",
"required": true,
2023-03-01 17:35:36 +08:00
"default": "halo",
"random": true,
"rule": "paramCommon",
2023-03-08 19:26:23 +08:00
"envKey": "PANEL_DB_NAME",
2023-03-01 15:06:50 +08:00
},
{
"type": "text",
"labelZh": "数据库用户",
"labelEn": "User",
"required": true,
2023-03-01 17:35:36 +08:00
"default": "halo",
"random": true,
"rule": "paramCommon",
2023-03-08 19:26:23 +08:00
"envKey": "PANEL_DB_USER",
2023-03-01 15:06:50 +08:00
},
{
"type": "password",
"labelZh": "数据库用户密码",
"labelEn": "Password",
"required": true,
2023-03-01 17:35:36 +08:00
"default": "halo",
"random": true,
"rule": "paramComplexity",
2023-03-08 19:26:23 +08:00
"envKey": "PANEL_DB_USER_PASSWORD",
2023-03-01 15:06:50 +08:00
},
{
"type": "text",
"labelZh": "超级管理员用户名",
"labelEn": "Admin Username",
"required": true,
"default": "admin",
2023-03-01 17:35:36 +08:00
"random": true,
"rule": "paramCommon",
2023-03-08 19:26:23 +08:00
"envKey": "HALO_ADMIN",
2023-03-01 15:06:50 +08:00
},
{
"type": "password",
"labelZh": "超级管理员密码",
"labelEn": "Admin Password",
"required": true,
2023-03-01 17:35:36 +08:00
"default": "halo",
"random": true,
"rule": "paramComplexity",
2023-03-08 19:26:23 +08:00
"envKey": "HALO_ADMIN_PASSWORD",
2023-03-01 15:06:50 +08:00
},
{
"type": "text",
"labelZh": "外部访问地址",
"labelEn": "External URL",
"required": true,
"default": "http://localhost:8080",
2023-03-01 17:35:36 +08:00
"rule": "paramExtUrl",
2023-03-08 19:26:23 +08:00
"envKey": "HALO_EXTERNAL_URL",
"edit": true
2023-03-01 15:06:50 +08:00
},
{
"type": "number",
"labelZh": "端口",
"labelEn": "Port",
"required": true,
"default": 8080,
2023-03-01 17:35:36 +08:00
"rule": "paramPort",
2023-03-08 19:26:23 +08:00
"envKey": "PANEL_APP_PORT_HTTP",
"edit": true
2023-03-01 15:06:50 +08:00
}
]
}