Files
open-im-server-deploy/config/redis.yml
kim.dev.6789 e50142a3b9 复制项目
2026-01-14 22:16:44 +08:00

17 lines
467 B
YAML

address: [localhost:16379]
username:
password: openIM123
# redis Mode, including "standalone","cluster","sentinel"
redisMode: "standalone"
db: 0
maxRetry: 10
poolSize: 100
onlineKeyPrefix: "openim:cms-test"
onlineKeyPrefixHashTag: false
# Sentinel configuration (only used when redisMode is "sentinel")
sentinelMode:
masterName: "redis-master"
sentinelsAddrs: ["127.0.0.1:26379", "127.0.0.1:26380", "127.0.0.1:26381"]
routeByLatency: true
routeRandomly: true