修复:Docker 环境 Redis 默认数据库改为 DB1
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -14,7 +14,7 @@ spring:
|
|||||||
# [必须修改] 端口号
|
# [必须修改] 端口号
|
||||||
port: ${REDIS_PORT:6379}
|
port: ${REDIS_PORT:6379}
|
||||||
# [可选] 数据库 DB
|
# [可选] 数据库 DB
|
||||||
database: ${REDIS_DB:6}
|
database: ${REDIS_DB:1}
|
||||||
# [可选] 访问密码,若你的redis服务器没有设置密码,就不需要用密码去连接
|
# [可选] 访问密码,若你的redis服务器没有设置密码,就不需要用密码去连接
|
||||||
password: ${REDIS_PWD:root}
|
password: ${REDIS_PWD:root}
|
||||||
# [可选] 超时时间
|
# [可选] 超时时间
|
||||||
|
|||||||
Reference in New Issue
Block a user