From db46ae2fb95589738bdadee59348337685bfe413 Mon Sep 17 00:00:00 2001 From: 2319665062 <2319665062@qq.com> Date: Thu, 29 Feb 2024 16:05:51 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BA=94=E7=94=A8=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/mixspace/5.0.0/data.yml | 25 ------------ apps/mixspace/v5/data.yml | 38 +++++++++++++++++++ .../mixspace/{5.0.0 => v5}/docker-compose.yml | 2 + 3 files changed, 40 insertions(+), 25 deletions(-) delete mode 100644 apps/mixspace/5.0.0/data.yml create mode 100644 apps/mixspace/v5/data.yml rename apps/mixspace/{5.0.0 => v5}/docker-compose.yml (93%) 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: