Showing
1 changed file
with
4 additions
and
7 deletions
| ... | ... | @@ -5,13 +5,10 @@ spring: |
| 5 | 5 | banner-mode: off |
| 6 | 6 | data: |
| 7 | 7 | redis: |
| 8 | - cluster: | |
| 9 | - nodes: # 集群节点列表 | |
| 10 | - - 10.9.1.252:16380 | |
| 11 | - - 10.9.1.252:16381 | |
| 12 | - - 10.9.1.252:16382 | |
| 13 | - max-redirects: 3 # 最大重定向次数 | |
| 14 | - password: "Qixiao@redis20240410.com" # 如果有密码 | |
| 8 | + host: 10.9.0.116 # Redis 单例地址 | |
| 9 | + port: 6379 # Redis 端口 | |
| 10 | + password: "123456" # 密码 | |
| 11 | + database: 0 # 数据库索引(默认0) | |
| 15 | 12 | |
| 16 | 13 | server: |
| 17 | 14 | port: 33221 | ... | ... |