mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-11 09:56:56 +08:00
52 lines
1.1 KiB
JSON
52 lines
1.1 KiB
JSON
{
|
|
"formFields": [
|
|
{
|
|
"type": "service",
|
|
"key": "mysql",
|
|
"labelZh": "数据库服务",
|
|
"labelEn": "Database Service",
|
|
"required": true,
|
|
"default": "",
|
|
"envKey": "PANEL_DB_HOST"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"labelZh": "数据库名",
|
|
"labelEn": "Database",
|
|
"required": true,
|
|
"default": "word",
|
|
"random": true,
|
|
"rule": "paramCommon",
|
|
"envKey": "PANEL_DB_NAME"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"labelZh": "数据库用户",
|
|
"labelEn": "User",
|
|
"required": true,
|
|
"default": "word",
|
|
"random": true,
|
|
"rule": "paramCommon",
|
|
"envKey": "PANEL_DB_USER"
|
|
},
|
|
{
|
|
"type": "password",
|
|
"labelZh": "数据库用户密码",
|
|
"labelEn": "Password",
|
|
"required": true,
|
|
"default": "word",
|
|
"random": true,
|
|
"rule": "paramComplexity",
|
|
"envKey": "PANEL_DB_USER_PASSWORD"
|
|
},
|
|
{
|
|
"type": "number",
|
|
"labelZh": "应用端口",
|
|
"labelEn": "Port",
|
|
"required": true,
|
|
"default": 8080,
|
|
"rule": "paramPort",
|
|
"envKey": "PANEL_APP_PORT_HTTP"
|
|
}
|
|
]
|
|
} |