appstore-1panel/apps/wikijs/versions/2.5.298/config.json
Ryan Wang 6cf37c4e28
feat: add wiki.js to appstore list (#1)
Co-authored-by: zhengkunwang223 <31820853+zhengkunwang223@users.noreply.github.com>
2023-03-20 14:09:58 +08:00

85 lines
1.8 KiB
JSON

{
"formFields": [
{
"type": "apps",
"labelZh": "数据库服务",
"labelEn": "Database Service",
"required": true,
"default": "postgresql",
"values": [
{
"label": "PostgreSQL",
"value": "postgresql"
},
{
"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
}
]
}