Browse Source

更新正式配置

baihe 3 years ago
parent
commit
c0ec552007

+ 3 - 3
application-facade/src/main/resources/application-prod.yml

@@ -1,5 +1,5 @@
 server:
-  port: 30048
+  port: 40048
 spring:
   application:
     name: application-web
@@ -19,7 +19,7 @@ spring:
         self:
           url: jdbc:mysql://8.142.18.146:3306/btl_factory?useUnicode=true&characterEncoding=utf8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
           username: root
-          password: root
+          password: 'Jh@Jh2019!'
           driver-class-name: com.mysql.cj.jdbc.Driver # 3.2.0开始支持SPI可省略此配置
     hikari:
       maximum-pool-size: 5
@@ -30,7 +30,7 @@ cn:
     file:
       file-store-dir: download
       zip-out-dir: zip
-      download-prefix: https://s2t.jihengcc.cn/file/
+      download-prefix: https://www.zhoudu.ltd/file/
     auth:
       permit-url-list:
         - /swagger-ui.html

+ 7 - 10
application-facade/src/main/resources/application-prodWX.yml

@@ -1,11 +1,13 @@
 server:
   port: 40049
+  servlet:
+    context-path: /wx
 spring:
   application:
     name: application-wx
   redis:
-    host: 39.100.230.190
-    port: 8120
+    host: 8.142.18.146
+    port: 6379
     password: jh1q2w3e4r
     database: 15
     lettuce:
@@ -19,12 +21,7 @@ spring:
         self:
           url: jdbc:mysql://8.142.18.146:3306/btl_factory?useUnicode=true&characterEncoding=utf8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
           username: root
-          password: root
-          driver-class-name: com.mysql.cj.jdbc.Driver # 3.2.0开始支持SPI可省略此配置
-        file:
-          url: jdbc:mysql://39.100.230.190:8092/zhoudu_ceshi?useUnicode=true&characterEncoding=utf8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
-          username: root
-          password: Jh@Jh2019!
+          password: 'Jh@Jh2019!'
           driver-class-name: com.mysql.cj.jdbc.Driver # 3.2.0开始支持SPI可省略此配置
     hikari:
       maximum-pool-size: 5
@@ -35,7 +32,7 @@ cn:
     file:
       file-store-dir: download
       zip-out-dir: zip
-      download-prefix: https://s2t.jihengcc.cn/file/
+      download-prefix: https://www.zhoudu.ltd/file/
     auth:
       permit-url-list:
         - /swagger-ui.html
@@ -123,4 +120,4 @@ jetcache:
       password: ${SPRING.REDIS.PASSWORD:jh1q2w3e4r}
 wx:
   minprogram:
-    miniprogramState: trial
+    miniprogramState: trial

+ 9 - 10
application-file/src/main/resources/application-prod.yml

@@ -4,10 +4,10 @@ spring:
   application:
     name: application-file
   redis:
-    host: 39.100.230.190
-    port: 8120
+    host: 8.142.18.146
+    port: 6379
     password: jh1q2w3e4r
-    database: 13
+    database: 15
     lettuce:
       pool:
         maxTotal: 5
@@ -17,15 +17,14 @@ spring:
       strict: false #设置严格模式,默认false不启动. 启动后在未匹配到指定数据源时候会抛出异常,不启动则使用默认数据源.
       datasource:
         self:
-          url: jdbc:mysql://39.100.230.190:8092/longdy?useUnicode=true&characterEncoding=utf8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
+          url: jdbc:mysql://8.142.18.146:3306/btl_factory?useUnicode=true&characterEncoding=utf8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
           username: root
-          password: Jh@Jh2019!
-          driver-class-name: com.mysql.jdbc.Driver # 3.2.0开始支持SPI可省略此配置
+          password: 'Jh@Jh2019!'
+          driver-class-name: com.mysql.cj.jdbc.Driver # 3.2.0开始支持SPI可省略此配置
         file:
-          url: jdbc:mysql://39.100.230.190:8092/longdy?useUnicode=true&characterEncoding=utf8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
+          url: jdbc:mysql://8.142.18.146:3306/btl_file?useUnicode=true&characterEncoding=utf8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
           username: root
-          password: Jh@Jh2019!
-          driver-class-name: com.mysql.jdbc.Driver # 3.2.0开始支持SPI可省略此配置
+          password: 'Jh@Jh2019!'
     hikari:
       maximum-pool-size: 5
 
@@ -34,7 +33,7 @@ cn:
     file:
       file-store-dir: download
       zip-out-dir: zip
-      download-prefix: https:///s2t.jihengcc.cn/file/
+      download-prefix: https://www.zhoudu.ltd/file/
 
 jetcache:
   statIntervalMinutes: 15

+ 1 - 1
application-task/src/main/resources/application-prod.yml

@@ -3,7 +3,7 @@ spring:
     type: com.alibaba.druid.pool.DruidDataSource
     url: jdbc:mysql://8.142.18.146:3306/btl_factory?useUnicode=true&characterEncoding=utf8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
     username: root
-    password: root
+    password: 'Jh@Jh2019!'
     driver-class-name: com.mysql.cj.jdbc.Driver # 3.2.0开始支持SPI可省略此配置
     filters: stat
     maxActive: 10