2023-02-08 16:22:16 +08:00
|
|
|
{
|
|
|
|
"formFields": [
|
|
|
|
{
|
|
|
|
"type": "service",
|
|
|
|
"key": "mysql",
|
|
|
|
"labelZh": "数据库服务",
|
|
|
|
"labelEn": "Database Service",
|
|
|
|
"required": true,
|
|
|
|
"default": "",
|
|
|
|
"envKey": "PANEL_DB_HOST"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"labelZh": "数据库名",
|
|
|
|
"labelEn": "Database",
|
|
|
|
"required": true,
|
2023-03-01 17:35:36 +08:00
|
|
|
"default": "de",
|
|
|
|
"random": true,
|
|
|
|
"rule": "paramCommon",
|
2023-02-08 16:22:16 +08:00
|
|
|
"envKey": "PANEL_DB_NAME"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"labelZh": "数据库用户",
|
|
|
|
"labelEn": "User",
|
|
|
|
"required": true,
|
2023-03-01 17:35:36 +08:00
|
|
|
"default": "de",
|
|
|
|
"random": true,
|
|
|
|
"rule": "paramCommon",
|
2023-02-08 16:22:16 +08:00
|
|
|
"envKey": "PANEL_DB_USER"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "password",
|
|
|
|
"labelZh": "数据库用户密码",
|
|
|
|
"labelEn": "Password",
|
|
|
|
"required": true,
|
2023-03-01 17:35:36 +08:00
|
|
|
"default": "de",
|
|
|
|
"random": true,
|
|
|
|
"rule": "paramComplexity",
|
2023-02-08 16:22:16 +08:00
|
|
|
"envKey": "PANEL_DB_USER_PASSWORD"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"labelZh": "管理员",
|
|
|
|
"labelEn": "Admin Password",
|
|
|
|
"required": true,
|
|
|
|
"default": "admin",
|
|
|
|
"envKey": "DE_ADMIN",
|
2023-03-13 16:09:38 +08:00
|
|
|
"disabled":true
|
2023-02-08 16:22:16 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "text",
|
|
|
|
"labelZh": "管理员密码",
|
|
|
|
"labelEn": "Admin Password",
|
|
|
|
"required": true,
|
|
|
|
"default": "dataease",
|
|
|
|
"envKey": "DE_ADMIN_PASSWORD",
|
2023-03-13 16:09:38 +08:00
|
|
|
"disabled":true
|
2023-02-08 16:22:16 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "number",
|
|
|
|
"labelZh": "端口",
|
|
|
|
"labelEn": "Port",
|
|
|
|
"required": true,
|
|
|
|
"default": 8080,
|
2023-03-01 17:35:36 +08:00
|
|
|
"rule": "paramPort",
|
2023-02-08 16:22:16 +08:00
|
|
|
"envKey": "PANEL_APP_PORT_HTTP"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|