mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-28 13:16:13 +08:00
修复:增加 Halo 登陆有效期配置
Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
parent
5c7e819715
commit
6c554707fb
@ -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
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user