Files
nl-sso-server/nladmin-system/nlsso-client/src/main/resources/application.yml
2022-11-28 11:35:22 +08:00

48 lines
1.5 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Sa-Token 配置
sa-token:
# SSO-相关配置
sso:
# 打开单点注销功能
is-http: true
is-slo: true
path-patterns: /**
project-name: 武汉新锐项目
# SSO-Server端-单点登录授权地址
auth-url: http://localhost:9000/sso/auth
# SSO-Server端-单点注销地址
slo-url: http://localhost:9000/sso/signout
# SSO-Server端 ticket校验地址
check-ticket-url: http://localhost:9000/sso/checkTicket
user: http://localhost:9000/sso/checkTicket
# 接口调用秘钥
secretkey: kQwIOrYvnXmSDkwEiFngrKidMcdrgKor
userinfo-url: http://localhost:9000/sso/userInfo
# 配置 Sa-Token 单独使用的Redis连接 此处需要和SSO-Server端连接同一个Redis
alone-redis:
# Redis数据库索引
database: 1
# Redis服务器地址
host: 47.96.133.178
# Redis服务器连接端口
port: 6479
# Redis服务器连接密码默认为空
password: 942464Yy
# 连接超时时间
timeout: 10s
lettuce:
pool:
# 连接池最大连接数
max-active: 200
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait: -1ms
# 连接池中的最大空闲连接
max-idle: 10
# 连接池中的最小空闲连接
min-idle: 0
token-name: EL-ADMIN-TOEKN