Explorar el Código

测试配置文件

wangtuohang@126.com hace 1 semana
padre
commit
9aa67451af
Se han modificado 1 ficheros con 6 adiciones y 6 borrados
  1. 6 6
      src/main/resources/application-test.yml

+ 6 - 6
src/main/resources/application-test.yml

@@ -5,9 +5,9 @@ spring:
     ##将docker脚本部署的redis服务映射为宿主机ip
     ##生产环境推荐使用阿里云高可用redis服务并设置密码
     #    host: 192.168.50.93
-    host: localhost
+    host: 192.168.0.214
     port: 6379
-    password:
+    password: xwkj2022@
     database: 0
     ssl: false
     ##redis 集群环境配置
@@ -20,10 +20,10 @@ spring:
       datasource:
         st: # 省厅数据库配置
           driver-class-name: org.postgresql.Driver
-          #          url: jdbc:postgresql://192.168.50.93:5432/postgres?currentSchema=jdrh
-          url: jdbc:postgresql://localhost:5433/postgres?currentSchema=jdrh
-          #          url: jdbc:postgresql://118.195.196.59:5432/xwkjdb?currentSchema=jdrh
-          username: postgres
+#          url: jdbc:postgresql://118.195.196.59:5433/xwkjdb?currentSchema=jdrh&socketTimeout=30000
+          url: jdbc:postgresql://192.168.0.214:5433/xwkjdb?currentSchema=jdrh
+#          url: jdbc:postgresql://192.168.0.214:5432/xwkjdb?currentSchema=jdrh
+          username: xwkj
           password: xwkj2022@
         jl: # 吉林数据库配置
           driver-class-name: org.postgresql.Driver