From f29d9d9e3462828e9e796c757d73e6312054f4f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=8C=E6=A3=AE?= Date: Tue, 27 Aug 2024 10:19:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=20Halo=20=E7=99=BB=E9=99=86=E6=9C=89=E6=95=88=E6=9C=9F?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 萌森 --- halo/2.18.0/data.yml | 13 ++++++++++--- halo/2.18.0/docker-compose.yml | 1 + 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/halo/2.18.0/data.yml b/halo/2.18.0/data.yml index d6e8d45d0..fccac4597 100644 --- a/halo/2.18.0/data.yml +++ b/halo/2.18.0/data.yml @@ -30,19 +30,26 @@ additionalProperties: - default: 8090 edit: true envKey: PANEL_APP_PORT_HTTP - labelEn: Port labelZh: 访问端口 + labelEn: Port required: true rule: paramPort type: number - - default: http://127.0.0.1:8090 + - default: "http://127.0.0.1:8090" edit: true envKey: HALO_EXTERNAL_URL - labelEn: External URL labelZh: 公网访问地址 + labelEn: External URL required: true rule: paramExtUrl type: text + - default: "14d" + edit: true + envKey: HALO_REMEMBER_ME_TOKEN_VALIDITY + labelZh: 保持登录时间 + labelEn: Remember me token validity + required: true + type: text - default: "127.0.0.1" edit: true envKey: DB_HOSTNAME diff --git a/halo/2.18.0/docker-compose.yml b/halo/2.18.0/docker-compose.yml index 2dc8cc1a7..c38949106 100644 --- a/halo/2.18.0/docker-compose.yml +++ b/halo/2.18.0/docker-compose.yml @@ -21,3 +21,4 @@ services: - --spring.r2dbc.password=${DB_USER_PASSWORD} - --spring.sql.init.platform=${DB_TYPE} - --halo.external-url=${HALO_EXTERNAL_URL} + - --halo.security.remember-me.token-validity=${HALO_REMEMBER_ME_TOKEN_VALIDITY}