yml redis中设置密码

spring:
autoconfigure:
exclude: org.springframework.cloud.netflix.ribbon.RibbonAutoConfiguration #非常重要 sca 兼容sc2020 重要配置
jackson:
default-property-inclusion: non_null
redis:
host: ${REDIS_URL:redis}
password: xxx
 
posted @ 2022-05-30 14:26  全琪俊  阅读(868)  评论(0编辑  收藏  举报