信息加密

This commit is contained in:
ydoily 2025-02-27 19:42:44 +08:00
parent c357752d38
commit c472579dcb

View File

@ -0,0 +1,31 @@
spring:
main:
web-application-type: reactive
r2dbc:
url: r2dbc:mysql://${DB_HOST}:${DB_PORT}/chat-netty
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
pool:
initial-size: 10
max-size: 20
max-idle-time: 30m
validation-query: "SELECT 1" # 连接验证
max-create-connection-time: 10s
max-life-time: 10m
data:
redis:
host: ${DB_HOST}
port: 6379
database: 0
password: ${DB_PASSWORD}.
connect-timeout: 10000
lettuce:
pool:
max-active: 8
max-idle: 8
min-idle: 0
max-wait: -1ms
security:
jwt:
key: 603c7932-cb64-44d4-b505-6d10120e3bd5
expire: 7