appstore-1panel/apps/flarum/1.8.0/data.yml
2023-07-13 15:34:02 +08:00

72 lines
1.9 KiB
YAML
Executable File

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: http://localhost:40020
edit: true
envKey: FLARUM_EXTERNAL_URL
labelEn: External URL
labelZh: 外部访问地址
required: true
type: text