From de542aa05240650dc0c8e68c02701728e8dc89e3 Mon Sep 17 00:00:00 2001 From: 16337 <1633794139@qq.com> Date: Wed, 18 Mar 2026 16:38:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9ADocker=20=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=20Redis=20=E9=BB=98=E8=AE=A4=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BA=93=E6=94=B9=E4=B8=BA=20DB1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) --- src/main/resources/application-docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/application-docker.yml b/src/main/resources/application-docker.yml index fb16a68b0..a500154cc 100644 --- a/src/main/resources/application-docker.yml +++ b/src/main/resources/application-docker.yml @@ -14,7 +14,7 @@ spring: # [必须修改] 端口号 port: ${REDIS_PORT:6379} # [可选] 数据库 DB - database: ${REDIS_DB:6} + database: ${REDIS_DB:1} # [可选] 访问密码,若你的redis服务器没有设置密码,就不需要用密码去连接 password: ${REDIS_PWD:root} # [可选] 超时时间