mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
feat: 应用商店升级到 v2 版本 (#91)
This commit is contained in:
Executable
+78
@@ -0,0 +1,78 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- child:
|
||||
default: ""
|
||||
envKey: PANEL_DB_HOST
|
||||
labelEn: Database Service
|
||||
labelZh: 数据库服务
|
||||
required: true
|
||||
type: service
|
||||
default: mysql
|
||||
labelEn: Database Service
|
||||
labelZh: 数据库服务
|
||||
params:
|
||||
- envKey: FLARUM_DB_PORT
|
||||
key: mysql
|
||||
type: param
|
||||
value: "3306"
|
||||
- envKey: FLARUM_DB_PORT
|
||||
key: postgresql
|
||||
type: param
|
||||
value: "5432"
|
||||
required: true
|
||||
type: apps
|
||||
values:
|
||||
- label: MySQL
|
||||
value: mysql
|
||||
- default: flarum
|
||||
envKey: PANEL_DB_NAME
|
||||
labelEn: Database
|
||||
labelZh: 数据库名
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: flarum
|
||||
envKey: PANEL_DB_USER
|
||||
labelEn: User
|
||||
labelZh: 数据库用户
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: flarum
|
||||
envKey: PANEL_DB_USER_PASSWORD
|
||||
labelEn: Password
|
||||
labelZh: 数据库用户密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: flarum_
|
||||
envKey: PANEL_DB_PREFIX
|
||||
labelEn: Database prefix
|
||||
labelZh: 数据库前缀
|
||||
required: true
|
||||
type: text
|
||||
- default: 40020
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ./data
|
||||
edit: true
|
||||
envKey: DATA_PATH
|
||||
labelEn: Data storage folder
|
||||
labelZh: 数据存放文件夹
|
||||
required: true
|
||||
type: text
|
||||
- default: http://localhost:40020
|
||||
edit: true
|
||||
envKey: FLARUM_EXTERNAL_URL
|
||||
labelEn: External URL
|
||||
labelZh: 外部访问地址
|
||||
required: true
|
||||
type: text
|
||||
Executable
+20
@@ -0,0 +1,20 @@
|
||||
name: flarum
|
||||
tags:
|
||||
- 建站
|
||||
title: 新一代的论坛软件,使在线讨论变得有趣
|
||||
type: 建站
|
||||
description: 新一代的论坛软件,使在线讨论变得有趣
|
||||
additionalProperties:
|
||||
key: flarum
|
||||
name: flarum
|
||||
tags:
|
||||
- WebSite
|
||||
shortDescZh: 新一代的论坛软件,使在线讨论变得有趣
|
||||
shortDescEn: The next-generation forum software that makes online discussion fun
|
||||
type: website
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
recommend: 0
|
||||
website: https://flarum.org/
|
||||
github: https://github.com/flarum/flarum
|
||||
document: https://docs.flarum.org/
|
||||
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
@@ -1,104 +0,0 @@
|
||||
{
|
||||
"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": "外部访问地址",
|
||||
"labelEn": "External URL",
|
||||
"required": true,
|
||||
"default": "http://localhost:40020",
|
||||
"envKey": "FLARUM_EXTERNAL_URL",
|
||||
"edit": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user