feat (farm): redis 公共服务

This commit is contained in:
达富斌
2025-08-16 14:16:17 +08:00
parent 7b6b699607
commit cbf3703c47

View File

@@ -59,10 +59,10 @@ spring:
# Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优 # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优
data: data:
redis: redis:
host: 127.0.0.1 # 地址 host: 223.83.152.93 # 地址
port: 6379 # 端口 port: 65532 # 端口
database: 1 # 数据库索引 database: 5 # 数据库索引
# password: 123456 # 密码,建议生产环境开启 password: luxifa970219 # 密码,建议生产环境开启
mongodb: mongodb:
uri: mongodb://mongo_BiKBdR:mongo_KaShrX@223.83.129.121:27017/farming-platform-iot?authSource=farming-platform-iot uri: mongodb://mongo_BiKBdR:mongo_KaShrX@223.83.129.121:27017/farming-platform-iot?authSource=farming-platform-iot
auto-index-creation: true auto-index-creation: true