2023-08-02 16:57:27 +08:00
|
|
|
|
additionalProperties:
|
|
|
|
|
formFields:
|
2024-07-31 13:53:19 +08:00
|
|
|
|
- child:
|
|
|
|
|
default: ""
|
|
|
|
|
envKey: PANEL_DB_HOST
|
|
|
|
|
required: true
|
|
|
|
|
type: service
|
|
|
|
|
default: mysql
|
|
|
|
|
envKey: PANEL_DB_TYPE
|
2023-08-02 16:57:27 +08:00
|
|
|
|
labelEn: Database Service
|
|
|
|
|
labelZh: 数据库服务
|
|
|
|
|
required: true
|
2024-07-31 13:53:19 +08:00
|
|
|
|
type: apps
|
|
|
|
|
values:
|
|
|
|
|
- label: MySQL
|
|
|
|
|
value: mysql
|
|
|
|
|
- label: MariaDB
|
|
|
|
|
value: mariadb
|
2023-08-02 16:57:27 +08:00
|
|
|
|
- default: emlog
|
|
|
|
|
envKey: PANEL_DB_NAME
|
|
|
|
|
labelEn: Database
|
|
|
|
|
labelZh: 数据库名
|
|
|
|
|
random: true
|
|
|
|
|
required: true
|
|
|
|
|
rule: paramCommon
|
|
|
|
|
type: text
|
|
|
|
|
- default: emlog
|
|
|
|
|
envKey: PANEL_DB_USER
|
|
|
|
|
labelEn: Database User
|
|
|
|
|
labelZh: 数据库用户
|
|
|
|
|
random: true
|
|
|
|
|
required: true
|
|
|
|
|
rule: paramCommon
|
|
|
|
|
type: text
|
|
|
|
|
- default: emlog
|
|
|
|
|
envKey: PANEL_DB_USER_PASSWORD
|
|
|
|
|
labelEn: Database User Password
|
|
|
|
|
labelZh: 数据库用户密码
|
|
|
|
|
random: true
|
|
|
|
|
required: true
|
|
|
|
|
rule: paramComplexity
|
|
|
|
|
type: password
|
2023-11-07 15:07:54 +08:00
|
|
|
|
- default: 8080
|
2023-11-08 20:22:01 +08:00
|
|
|
|
edit: true
|
2023-08-02 16:57:27 +08:00
|
|
|
|
envKey: PANEL_APP_PORT_HTTP
|
|
|
|
|
labelEn: Port
|
2023-11-07 15:07:54 +08:00
|
|
|
|
labelZh: 端口,建议填写 8080,然后在【网站】管理中安装 OpenResty,创建网站关联emlog应用,暴露80、443端口
|
2023-08-02 16:57:27 +08:00
|
|
|
|
required: true
|
|
|
|
|
rule: paramPort
|
|
|
|
|
type: number
|
|
|
|
|
- default: localhost
|
|
|
|
|
edit: true
|
|
|
|
|
envKey: EMLOG_EXTERNAL_URL
|
|
|
|
|
labelEn: site domain
|
2023-11-07 15:07:54 +08:00
|
|
|
|
labelZh: 域名,建议填写 localhost, 然后在【网站】管理中安装 OpenResty,创建网站关联emlog应用绑定域名
|
2023-08-02 16:57:27 +08:00
|
|
|
|
required: true
|
|
|
|
|
rule: paramExtUrl
|
|
|
|
|
type: text
|