mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-25 06:28:47 +08:00
127 lines
3.0 KiB
YAML
127 lines
3.0 KiB
YAML
|
additionalProperties:
|
||
|
formFields:
|
||
|
- child:
|
||
|
default: ""
|
||
|
envKey: PANEL_POSTGRES_SERVICE
|
||
|
required: true
|
||
|
type: service
|
||
|
default: postgresql
|
||
|
envKey: PANEL_POSTGRES_TYPE
|
||
|
labelZh: Postgres 服务 (前置检查)
|
||
|
labelEn: Postgres Service (Pre-check)
|
||
|
required: true
|
||
|
type: apps
|
||
|
values:
|
||
|
- label: PostgreSQL
|
||
|
value: postgresql
|
||
|
- child:
|
||
|
default: ""
|
||
|
envKey: PANEL_REDIS_SERVICE
|
||
|
required: true
|
||
|
type: service
|
||
|
default: redis
|
||
|
envKey: PANEL_REDIS_TYPE
|
||
|
labelZh: Redis 服务 (前置检查)
|
||
|
labelEn: Redis Service (Pre-check)
|
||
|
required: true
|
||
|
type: apps
|
||
|
values:
|
||
|
- label: Redis
|
||
|
value: redis
|
||
|
- default: "/home/mediacms"
|
||
|
edit: true
|
||
|
envKey: MEDIACMS_ROOT_PATH
|
||
|
labelZh: 数据持久化路径
|
||
|
labelEn: Data persistence path
|
||
|
required: true
|
||
|
type: text
|
||
|
- default: 8080
|
||
|
edit: true
|
||
|
envKey: PANEL_APP_PORT_HTTP
|
||
|
labelZh: WebUI 端口
|
||
|
labelEn: WebUI port
|
||
|
required: true
|
||
|
rule: paramPort
|
||
|
type: number
|
||
|
- default: ""
|
||
|
edit: true
|
||
|
envKey: ADMIN_USER
|
||
|
labelZh: 管理员 用户名
|
||
|
labelEn: Admin Username
|
||
|
required: true
|
||
|
type: text
|
||
|
- default: ""
|
||
|
edit: true
|
||
|
envKey: ADMIN_EMAIL
|
||
|
labelZh: 管理员邮箱
|
||
|
labelEn: Admin Email
|
||
|
required: true
|
||
|
type: text
|
||
|
- default: ""
|
||
|
edit: true
|
||
|
envKey: ADMIN_PASSWORD
|
||
|
labelZh: 管理员密码
|
||
|
labelEn: Admin Password
|
||
|
required: true
|
||
|
type: password
|
||
|
- default: "http://localhost"
|
||
|
edit: true
|
||
|
envKey: FRONTEND_HOST
|
||
|
labelZh: 公开地址
|
||
|
labelEn: Public address
|
||
|
required: true
|
||
|
type: text
|
||
|
- default: "MediaCMS"
|
||
|
edit: true
|
||
|
envKey: PORTAL_NAME
|
||
|
labelZh: 站点名称
|
||
|
labelEn: Site Name
|
||
|
required: true
|
||
|
type: text
|
||
|
- default: "redis://127.0.0.1:6379/1"
|
||
|
edit: true
|
||
|
envKey: REDIS_LOCATION
|
||
|
labelZh: Redis 地址
|
||
|
labelEn: Redis Location
|
||
|
required: true
|
||
|
type: text
|
||
|
- default: "127.0.0.1"
|
||
|
edit: true
|
||
|
envKey: POSTGRES_HOST
|
||
|
labelZh: 数据库 主机地址
|
||
|
labelEn: Database Host
|
||
|
required: true
|
||
|
type: text
|
||
|
- default: 5432
|
||
|
edit: true
|
||
|
envKey: DB_PORT
|
||
|
labelZh: 数据库 端口
|
||
|
labelEn: Database Port
|
||
|
required: true
|
||
|
rule: paramPort
|
||
|
type: number
|
||
|
- default: "mediacms"
|
||
|
edit: true
|
||
|
envKey: DB_NAME
|
||
|
labelZh: 数据库 名称
|
||
|
labelEn: Database Name
|
||
|
required: true
|
||
|
rule: paramCommon
|
||
|
type: text
|
||
|
- default: "mediacms"
|
||
|
edit: true
|
||
|
envKey: DB_USER
|
||
|
labelZh: 数据库 用户名
|
||
|
labelEn: Database Username
|
||
|
required: true
|
||
|
type: text
|
||
|
- default: ""
|
||
|
edit: true
|
||
|
envKey: DB_PASSWORD
|
||
|
labelZh: 数据库 密码
|
||
|
labelEn: Database Password
|
||
|
random: true
|
||
|
required: true
|
||
|
rule: paramComplexity
|
||
|
type: password
|