修改应用数据

This commit is contained in:
2319665062 2024-02-29 16:05:51 +00:00
parent 57e6a21cc7
commit db46ae2fb9
3 changed files with 40 additions and 25 deletions

View File

@ -1,25 +0,0 @@
additionalProperties:
formFields:
- default: 2333
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 应用端口
required: true
rule: paramPort
type: number
- default: mixspace
envKey: ALLOWED_ORIGINS
labelEn: Allowed_Origins
labelZh: 允许域名(填写要绑定的域名)
required: true
rule: paramExtUrl
type: text
- default: mixspace
envKey: JWT_SECRET
labelEn: Password
labelZh: JWT密钥
random: true
required: true
rule: paramCommon
type: password

38
apps/mixspace/v5/data.yml Normal file
View File

@ -0,0 +1,38 @@
additionalProperties:
formFields:
- default: 2333
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 应用端口
required: true
rule: paramPort
type: number
- default: example.com
envKey: ALLOWED_ORIGINS
labelEn: Allowed_Origins
labelZh: 允许域名前端绑定域名不需要https://,多个使用英文逗号分割)
required: true
rule: paramExtUrl
type: text
- default: Np2qgqtiUayA857GpuVI0Wtg
envKey: JWT_SECRET
labelEn: Password
labelZh: JWT密钥16到32位字符请一定修改至要求
random: true
required: true
rule: paramComplexity
type: password
- default:
envKey: ENCRYPT_KEY
labelEn: ENCRYPT_KEY
labelZh: 加密密钥(非特殊需求不建议填写)
required: false
rule: paramCommon
type: password
- default:
envKey: ENCRYPT_ENABLE
labelEn: ENCRYPT_ENABLE
labelZh: 是否开启加密true或false需要填写加密密钥
required: false
type: text

View File

@ -10,6 +10,8 @@ services:
- NODE_ENV=production
- ALLOWED_ORIGINS=${ALLOWED_ORIGINS}
- JWT_SECRET=${JWT_SECRET}
- ENCRYPT_KEY=${ENCRYPT_KEY}
- ENCRYPT_ENABLE=${ENCRYPT_ENABLE}
volumes:
- ./data/mx-space:/root/.mx-space
ports: