mirror of
https://github.com/okxlin/appstore.git
synced 2026-02-21 10:27:41 +08:00
修改应用数据
This commit is contained in:
parent
57e6a21cc7
commit
db46ae2fb9
@ -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
38
apps/mixspace/v5/data.yml
Normal 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
|
||||
@ -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:
|
||||
Loading…
Reference in New Issue
Block a user