wangtuohang@126.com 2 ماه پیش
والد
کامیت
6937fd226f
2فایلهای تغییر یافته به همراه6 افزوده شده و 13 حذف شده
  1. 1 1
      pom.xml
  2. 5 12
      src/main/resources/application-prod.yml

+ 1 - 1
pom.xml

@@ -10,7 +10,7 @@
     <version>4.1.0.RELEASE</version>
 
     <properties>
-        <bladex.project.id>blade-api</bladex.project.id>
+        <bladex.project.id>yysd</bladex.project.id>
         <bladex.project.version>4.1.0.RELEASE</bladex.project.version>
 
         <java.version>17</java.version>

+ 5 - 12
src/main/resources/application-prod.yml

@@ -2,23 +2,16 @@
 spring:
   data:
     redis:
-      ##redis 单机环境配置
-      ##将docker脚本部署的redis服务映射为宿主机ip
-      ##生产环境推荐使用阿里云高可用redis服务并设置密码
-      host: 127.0.0.1
+      host: 10.106.38.16
       port: 6379
-      password:
+      password: xwkj2022@
       database: 0
       ssl:
         enabled: false
-      ##redis 集群环境配置
-      #cluster:
-      #  nodes: 127.0.0.1:7001,127.0.0.1:7002,127.0.0.1:7003
-      #  commandTimeout: 5000
   datasource:
-    url: jdbc:mysql://localhost:3306/bladex_boot?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
-    username: root
-    password: root
+    url: jdbc:postgresql://10.106.55.31:5432/postgres?currentSchema=yysd
+    username: postgres
+    password: xwkj2022@
 
 #第三方登陆
 social: