|
@@ -0,0 +1,92 @@
|
|
|
+server:
|
|
|
+ port: 8787
|
|
|
+ servlet:
|
|
|
+ context-path: /bim
|
|
|
+
|
|
|
+spring:
|
|
|
+ resources:
|
|
|
+ chain:
|
|
|
+ strategy:
|
|
|
+ content:
|
|
|
+ enabled: true
|
|
|
+ paths: /**
|
|
|
+ servlet:
|
|
|
+ multipart:
|
|
|
+ enabled: true
|
|
|
+ max-request-size: 1024MB
|
|
|
+ max-file-size: 1024MB
|
|
|
+ # redis 配置
|
|
|
+ redis:
|
|
|
+ host: 127.0.0.1
|
|
|
+ port: 6379
|
|
|
+ timeout: 6000ms
|
|
|
+ # 数据库索引
|
|
|
+ database: 3
|
|
|
+ password: '4dage7y4s0h'
|
|
|
+ # cluster:
|
|
|
+ # max-redirects: 3 # 获取失败 最大重定向次数
|
|
|
+ # nodes:
|
|
|
+ # - 120.25.146.52:6379
|
|
|
+ jedis:
|
|
|
+ pool:
|
|
|
+ max-active: 10 #连接池最大连接数(使用负值表示没有限制)
|
|
|
+ max-idle: 10 # 连接池中的最大空闲连接
|
|
|
+ min-idle: 5 # 连接池中的最小空闲连接
|
|
|
+ max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
|
+ lettuce:
|
|
|
+ shutdown-timeout: 0ms
|
|
|
+ # 数据源配置
|
|
|
+ datasource:
|
|
|
+ type: com.zaxxer.hikari.HikariDataSource
|
|
|
+ driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
+ url: jdbc:mysql://localhost:13306/fdkk_bim?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
|
|
|
+ username: root
|
|
|
+ password: Geosign@20211115%
|
|
|
+ hikari:
|
|
|
+ minimum-idle: 5
|
|
|
+ idle-timeout: 600000
|
|
|
+ maximum-pool-size: 10
|
|
|
+ auto-commit: true
|
|
|
+ pool-name: MyHikariCP
|
|
|
+ max-lifetime: 1800000
|
|
|
+ connection-timeout: 30000
|
|
|
+ connection-test-query: SELECT 1
|
|
|
+
|
|
|
+tlog:
|
|
|
+ enable-invoke-time-print: true
|
|
|
+# 阿里云基本配置
|
|
|
+forest:
|
|
|
+ max-connections: 1000 # 连接池最大连接数
|
|
|
+ connect-timeout: 3000 # 连接超时时间,单位为毫秒
|
|
|
+ read-timeout: 3000 # 数据读取超时时间,单位为毫秒
|
|
|
+logging:
|
|
|
+ config: classpath:logback-spring.xml
|
|
|
+ maxHistory: 1
|
|
|
+ fdkk:
|
|
|
+ level: INFO
|
|
|
+ file:
|
|
|
+ path: /mnt/fdkk_bim/logs
|
|
|
+bimface:
|
|
|
+ appKey: 'uOaJWvZKlvGfQkqL6jlntMRC0RifHC8P'
|
|
|
+ appSecret: 'Fe8vmVqKdtfBT9E7v2vNYw7taIX9fClU'
|
|
|
+bim:
|
|
|
+ uploadPath: /mnt/fdkk_bim/uploadPath
|
|
|
+ defaultFolder: bim
|
|
|
+ webSite : https://uat-bim.4dkankan.com
|
|
|
+ chromeDriver: /usr/local/bin/chromedriver
|
|
|
+ chromeBin: /usr/local/bin/google-chrome
|
|
|
+ mixIntegral : 200
|
|
|
+
|
|
|
+# type: oss 阿里云 oss
|
|
|
+# type: aws 亚马逊
|
|
|
+# type: local 本地化
|
|
|
+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
|