修复:Docker 环境 Redis 默认数据库改为 DB1

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-18 16:38:45 +08:00
parent a383ff3133
commit de542aa052

View File

@@ -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}
# [可选] 超时时间 # [可选] 超时时间