Skip to content

Commit c62eb73

Browse files
committed
fix:cloud 单体启动时,redis 配置文件不正确的问题
1 parent e2457ae commit c62eb73

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

yudao-server/src/main/resources/application-dev.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,10 @@ spring:
5454
password: 123456
5555

5656
# Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优
57-
data:
58-
redis:
59-
host: 400-infra.server.iocoder.cn # 地址
60-
port: 6379 # 端口
61-
database: 1 # 数据库索引
57+
redis:
58+
host: 400-infra.server.iocoder.cn # 地址
59+
port: 6379 # 端口
60+
database: 1 # 数据库索引
6261
# password: 123456 # 密码,建议生产环境开启
6362

6463
--- #################### 定时任务相关配置 ####################

yudao-server/src/main/resources/application-local.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,10 @@ spring:
7878
# validation-query: SELECT SERVER_STATUS() # TDengine 数据源的有效性检查 SQL
7979

8080
# Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优
81-
data:
82-
redis:
83-
host: 127.0.0.1 # 地址
84-
port: 6379 # 端口
85-
database: 0 # 数据库索引
81+
redis:
82+
host: 127.0.0.1 # 地址
83+
port: 6379 # 端口
84+
database: 0 # 数据库索引
8685
# password: dev # 密码,建议生产环境开启
8786

8887
--- #################### 定时任务相关配置 ####################

0 commit comments

Comments
 (0)