qin 1 ano atrás
pai
commit
904ac2c66f

+ 14 - 0
src/main/resources/uat/application.yml

@@ -34,6 +34,20 @@ spring:
       validation-query: SELECT 1
       test-while-idle: true
       driver-class-name: com.mysql.cj.jdbc.Driver
+  redis:
+    ################### redis 单机版  ##########################
+    host: ${REDIS_IP:172.17.17.46}
+    port: ${REDIS_PORT:6379}
+    database: ${REDIS_DB:3}
+    password: ${REDIS_PASSWORD:^n!&zJyvJj}
+    # 使用jedis连接池
+    jedis:
+      pool:
+        max-active: 8
+        max-wait: -1
+        max-idle: 8
+        min-idle: 0
+    timeout: 5000
 # mybatis config
 mybatis-plus:
   config-location: classpath:mybatis-config.xml

+ 14 - 0
src/main/resources/zky/application.yml

@@ -34,6 +34,20 @@ spring:
       validation-query: SELECT 1
       test-while-idle: true
       driver-class-name: com.mysql.cj.jdbc.Driver
+  redis:
+    ################### redis 单机版  ##########################
+    host: ${REDIS_IP:10.6.17.127}
+    port: ${REDIS_PORT:12003}
+    database: ${REDIS_DB:3}
+    password: ${REDIS_PASSWORD:MGc8$F36}
+    # 使用jedis连接池
+    jedis:
+      pool:
+        max-active: 8
+        max-wait: -1
+        max-idle: 8
+        min-idle: 0
+    timeout: 5000
 # mybatis config
 mybatis-plus:
   config-location: classpath:mybatis-config.xml