appstore-1panel/apps/wikijs/versions/2.5.298/config.json

81 lines
1.7 KiB
JSON

{
"formFields": [
{
"type": "apps",
"labelZh": "数据库服务",
"labelEn": "Database Service",
"required": true,
"default": "mysql",
"values": [
{
"label": "MySQL",
"value": "mysql"
}
],
"envKey": "WIKI_PLATFORM",
"child": {
"type": "service",
"labelZh": "数据库服务",
"labelEn": "Database Service",
"required": true,
"default": "",
"envKey": "PANEL_DB_HOST"
},
"params": [
{
"type": "param",
"key": "mysql",
"value": "3306",
"envKey": "WIKI_DB_PORT"
},
{
"type": "param",
"key": "postgresql",
"value": "5432",
"envKey": "WIKI_DB_PORT"
}
]
},
{
"type": "text",
"labelZh": "数据库名",
"labelEn": "Database",
"required": true,
"default": "wiki",
"random": true,
"rule": "paramCommon",
"envKey": "PANEL_DB_NAME"
},
{
"type": "text",
"labelZh": "数据库用户",
"labelEn": "User",
"required": true,
"default": "wikijs",
"random": true,
"rule": "paramCommon",
"envKey": "PANEL_DB_USER"
},
{
"type": "password",
"labelZh": "数据库用户密码",
"labelEn": "Password",
"required": true,
"default": "wikijsrocks",
"random": true,
"rule": "paramComplexity",
"envKey": "PANEL_DB_USER_PASSWORD"
},
{
"type": "number",
"labelZh": "端口",
"labelEn": "Port",
"required": true,
"default": 3000,
"rule": "paramPort",
"envKey": "PANEL_APP_PORT_HTTP",
"edit": true
}
]
}