Jelajahi Sumber

日本配置

xiewj 10 bulan lalu
induk
melakukan
34d494ab56
2 mengubah file dengan 18 tambahan dan 13 penghapusan
  1. 14 13
      src/main/resources/application-jp-prod.yml
  2. 4 0
      startJar.sh

+ 14 - 13
src/main/resources/application-jp-prod.yml

@@ -17,12 +17,12 @@ spring:
       max-file-size: 1024MB
   # redis 配置
   redis:
-    host: r-wz9owsphxqwi4ztqlf.redis.rds.aliyuncs.com
+    host: 172.16.30.42   #官网正式环境
     port: 6379
     timeout: 6000ms
     # 数据库索引
     database: 3
-    password: 3oo19bgh0cae2406&
+    password: 4dage7y4s0h
     # cluster:
     #   max-redirects: 3  # 获取失败 最大重定向次数
     #   nodes:
@@ -39,9 +39,9 @@ spring:
   datasource:
     type: com.zaxxer.hikari.HikariDataSource
     driver-class-name: com.mysql.cj.jdbc.Driver
-    url: jdbc:mysql://rm-wz90w10465iiwwv09.mysql.rds.aliyuncs.com:3306/fdkk_bim?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true
+    url: jdbc:mysql://172.16.30.42:13306/fdkk_laser?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=Asia/Tokyo
     username: root
-    password: D2719bd0cae1a005
+    password: ENC(KsTGnu5DhCgxUM1V4/Bb9euFjVt/D4/l)
     hikari:
       minimum-idle: 5
       idle-timeout: 600000
@@ -80,12 +80,13 @@ bim:
 #    type: oss      阿里云 oss
 #    type: aws      亚马逊
 #    type: local    本地化
-upload:
-  type: oss
-fyun:
-  type: oss
-  key: LTAIUrvuHqj8pvry
-  secret: JLOVl0k8Ke0aaM8nLMMiUAZ3EiiqI4
-  bucket: 4dkankan
-  endPoint: http://oss-cn-shenzhen-internal.aliyuncs.com
-  host: https://4dkk.4dage.com/
+filestorage:
+  active: oss
+  oss:
+    endpoint: http://oss-ap-northeast-1.aliyuncs.com
+    internal-endpoint: http://oss-ap-northeast-1.aliyuncs.com
+    access-key: ENC(U8UeO6r+PVmJ1Vj33SZxlyo7G53Bza8BBgKfoS+MqM1xrtYWW1Fv2g==)
+    access-key-secret: ENC(/VkyDP4a7U7KBUKT3mJ1KME2JUtsxEtucMmM7wavfLq9WztylWgSWQ==)
+    bucket: geosign-4dkk
+    bucket-custom-domain:
+      geosign-4dkk: https://oss.4dkankan.jp

+ 4 - 0
startJar.sh

@@ -28,6 +28,10 @@ checkEnv(){
                         echo "jp-uat config"
                         APP_NAME=fdkk-bim-jp-uat.jar
                         APP_DEBUG=5522
+            elif  [[ $1 = 'jp-prod' ]] ; then
+                        echo "jp-prod config"
+                        APP_NAME=fdkk-bim-jp-prod.jar
+                        APP_DEBUG=5522
             else
                         echo "没有设置环境"
             fi