2022-10-07 15:49:39 +08:00
|
|
|
{
|
|
|
|
"formFields": [
|
|
|
|
{
|
|
|
|
"type": "service",
|
2022-10-28 17:04:57 +08:00
|
|
|
"key": "mysql8.0",
|
2022-10-07 15:49:39 +08:00
|
|
|
"labelZh": "数据库服务",
|
|
|
|
"labelEn": "Database Service",
|
|
|
|
"required": true,
|
2022-10-09 23:35:24 +08:00
|
|
|
"default": "",
|
|
|
|
"envKey": "PANEL_DB_HOST"
|
2022-10-07 15:49:39 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"labelZh": "数据库名",
|
|
|
|
"labelEn": "Database",
|
|
|
|
"required": true,
|
2022-10-09 23:35:24 +08:00
|
|
|
"default": "random",
|
|
|
|
"envKey": "PANEL_DB_NAME"
|
2022-10-07 15:49:39 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"labelZh": "数据库用户",
|
|
|
|
"labelEn": "User",
|
|
|
|
"required": true,
|
2022-10-09 23:35:24 +08:00
|
|
|
"default": "random",
|
|
|
|
"envKey": "PANEL_DB_USER"
|
2022-10-07 15:49:39 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"labelZh": "数据库用户密码",
|
|
|
|
"labelEn": "Password",
|
|
|
|
"required": true,
|
2022-10-09 23:35:24 +08:00
|
|
|
"default": "random",
|
|
|
|
"envKey": "PANEL_DB_USER_PASSWORD"
|
2022-10-07 15:49:39 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "number",
|
|
|
|
"labelZh": "端口",
|
|
|
|
"labelEn": "Port",
|
|
|
|
"required": true,
|
|
|
|
"default": 8080,
|
2022-10-10 22:56:42 +08:00
|
|
|
"envKey": "PANEL_APP_PORT_HTTP"
|
2022-10-07 15:49:39 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|