|
@@ -23,14 +23,24 @@ spring.jpa.properties.hibernate.hbm2ddl.auto=update
|
|
|
########################################################
|
|
|
### REDIS (RedisProperties) redis基本配置;
|
|
|
########################################################
|
|
|
-# Redis数据库索引(默认为0)
|
|
|
+## 本地 Redis数据库索引(默认为0)
|
|
|
+#spring.redis.database=0
|
|
|
+## Redis服务器地址
|
|
|
+#spring.redis.host=localhost
|
|
|
+## Redis服务器连接端口
|
|
|
+#spring.redis.port=6379
|
|
|
+## Redis服务器连接密码(默认为空)
|
|
|
+#spring.redis.password=
|
|
|
+
|
|
|
+# 远程 Redis数据库索引(默认为0)
|
|
|
spring.redis.database=0
|
|
|
# Redis服务器地址
|
|
|
-spring.redis.host=localhost
|
|
|
+spring.redis.host=192.168.1.86
|
|
|
# Redis服务器连接端口
|
|
|
spring.redis.port=6379
|
|
|
# Redis服务器连接密码(默认为空)
|
|
|
-spring.redis.password=
|
|
|
+spring.redis.password=otttest
|
|
|
+
|
|
|
# 连接池最大连接数(使用负值表示没有限制)
|
|
|
spring.redis.pool.max-active=8
|
|
|
# 连接池最大阻塞等待时间(使用负值表示没有限制)
|