diff --git a/apps/mixspace/5.0.0/data.yml b/apps/mixspace/5.0.0/data.yml deleted file mode 100644 index 7a0d3bf0..00000000 --- a/apps/mixspace/5.0.0/data.yml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/apps/mixspace/v5/data.yml b/apps/mixspace/v5/data.yml new file mode 100644 index 00000000..9cab784e --- /dev/null +++ b/apps/mixspace/v5/data.yml @@ -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 \ No newline at end of file diff --git a/apps/mixspace/5.0.0/docker-compose.yml b/apps/mixspace/v5/docker-compose.yml similarity index 93% rename from apps/mixspace/5.0.0/docker-compose.yml rename to apps/mixspace/v5/docker-compose.yml index 75f0a967..f7991b97 100644 --- a/apps/mixspace/5.0.0/docker-compose.yml +++ b/apps/mixspace/v5/docker-compose.yml @@ -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: