appstore-1panel/apps/flarum/versions/1.7.1/config.json
okxlin a5d814b5ea
feat: 添加 'qBittorrent,jellyfin,ALS,alist,watchtower' 到应用商店 (#24)
* '添加qBittorrent,jellyfin,ALS,alist,watchtower'

* 添加flarum到应用商店

* 添加flarum到list

* 更新flarum的一些说明

* 更新flarum logo

* 添加重启参数

* 规范化
2023-05-04 15:12:17 +08:00

105 lines
2.3 KiB
JSON

{
"formFields": [
{
"type": "apps",
"labelZh": "数据库服务",
"labelEn": "Database Service",
"required": true,
"default": "mysql",
"values": [{
"label": "MySQL",
"value": "mysql"
}],
"child": {
"type": "service",
"labelZh": "数据库服务",
"labelEn": "Database Service",
"required": true,
"default": "",
"envKey": "PANEL_DB_HOST"
},
"params": [
{
"type": "param",
"key": "mysql",
"value": "3306",
"envKey": "FLARUM_DB_PORT"
},
{
"type": "param",
"key": "postgresql",
"value": "5432",
"envKey": "FLARUM_DB_PORT"
}
]
},
{
"type": "text",
"labelZh": "数据库名",
"labelEn": "Database",
"required": true,
"default": "flarum",
"random": true,
"rule": "paramCommon",
"envKey": "PANEL_DB_NAME"
},
{
"type": "text",
"labelZh": "数据库用户",
"labelEn": "User",
"required": true,
"default": "flarum",
"random": true,
"rule": "paramCommon",
"envKey": "PANEL_DB_USER"
},
{
"type": "password",
"labelZh": "数据库用户密码",
"labelEn": "Password",
"required": true,
"default": "flarum",
"random": true,
"rule": "paramComplexity",
"envKey": "PANEL_DB_USER_PASSWORD"
},
{
"type": "text",
"labelZh": "数据库前缀",
"labelEn": "Database prefix",
"required": true,
"default": "flarum_",
"envKey": "PANEL_DB_PREFIX"
},
{
"type": "number",
"labelZh": "端口",
"labelEn": "Port",
"required": true,
"default": 40020,
"rule": "paramPort",
"envKey": "PANEL_APP_PORT_HTTP",
"edit": true
},
{
"type": "text",
"labelZh": "数据存放文件夹",
"labelEn": "Data storage folder",
"required": true,
"default": "./data",
"envKey": "DATA_PATH",
"edit": true
},
{
"type": "text",
"labelZh": "本机IP",
"labelEn": "Local IP",
"required": true,
"default": "127.0.0.1",
"envKey": "Dockerized_HOST",
"edit": true
}
]
}