diff --git a/apps/halo/2.18.0/data.yml b/apps/halo/2.18.0/data.yml index d6e8d45d..fccac459 100644 --- a/apps/halo/2.18.0/data.yml +++ b/apps/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/apps/halo/2.18.0/docker-compose.yml b/apps/halo/2.18.0/docker-compose.yml index 2dc8cc1a..c3894910 100644 --- a/apps/halo/2.18.0/docker-compose.yml +++ b/apps/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}