mirror of
https://github.com/JeffLi1993/springboot-learning-example.git
synced 2026-03-14 22:23:54 +08:00
WebFlux 整合 Redis 实现缓存
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
## Redis 配置
|
||||
## Redis服务器地址
|
||||
spring.redis.host=127.0.0.1
|
||||
## Redis服务器连接端口
|
||||
spring.redis.port=6379
|
||||
## Redis服务器连接密码(默认为空)
|
||||
spring.redis.password=
|
||||
# 连接超时时间(毫秒)
|
||||
spring.redis.timeout=5000
|
||||
|
||||
## MongoDB
|
||||
spring.data.mongodb.host=localhost
|
||||
spring.data.mongodb.database=admin
|
||||
spring.data.mongodb.port=27017
|
||||
spring.data.mongodb.username=admin
|
||||
spring.data.mongodb.password=admin
|
||||
Reference in New Issue
Block a user