123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- server:
- port: 8808
- servlet:
- context-path: /fusion
- tomcat:
- max-http-form-post-size: -1
- spring:
- profiles:
- active: ${activeProfile:local}
- servlet:
- multipart:
- max-file-size: 1000MB
- maxRequestSize: 1000MB
- datasource:
- type: com.zaxxer.hikari.HikariDataSource # 数据源类型:HikariCP
- driver-class-name: com.mysql.jdbc.Driver # mysql驱动
- url: jdbc:mysql://127.0.0.1:${MYSQLP}/laser?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=GMT%2B8
- username: root
- password: laser
- hikari:
- connection-timeout: 30000 # 等待连接池分配连接的最大时长(毫秒),超过这个时长还没可用的连接则发生SQLException, 默认:30秒
- minimum-idle: 5 # 最小连接数
- maximum-pool-size: 20 # 最大连接数
- auto-commit: true # 事务自动提交
- idle-timeout: 600000 # 连接超时的最大时长(毫秒),超时则被释放(retired),默认:10分钟
- pool-name: DateSourceHikariCP # 连接池名字
- max-lifetime: 1800000 # 连接的生命时长(毫秒),超时而且没被使用则被释放(retired),默认:30分钟 1800000ms
- connection-test-query: SELECT 1 # 连接测试语句
- redis:
- host: 127.0.0.1
- port: ${REDISP}
- timeout: 6000ms
- password:
- jedis:
- pool:
- max-active: 10 #连接池最大连接数(使用负值表示没有限制)
- max-idle: 10 # 连接池中的最大空闲连接
- min-idle: 5 # 连接池中的最小空闲连接
- max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
- lettuce:
- shutdown-timeout: 0ms
- 4dkk:
- laserService:
- basePath: http://localhost
- fdService:
- basePath: http://localhost
- takeLookService:
- basePath: http://localhost
- logging:
- config: classpath:logback-spring.xml
- path: ./log
- mybatis-plus:
- configuration:
- log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #开启sql日志
- upload:
- type: local
- query-path:
- oss:
- bucket:
- fdkk:
- installPath: ${PROFILE_PATH}
- geoquery:
- dataFilePath: ./GeoJSON.json
- saveWkbsFilePath: ./GeoJSON.wkbs
- forest:
- ## 日志总开关,打开/关闭Forest请求/响应日志(默认为 true)
- log-enabled: true
- ## 打开/关闭Forest请求日志(默认为 true)
- log-request: true
- ## 打开/关闭Forest响应状态日志(默认为 true)
- log-response-status: true
- ## 打开/关闭Forest响应内容日志(默认为 false)
- log-response-content: true
- ## 请求超时时间,单位为毫秒, 默认值为3000
- timeout: 10000
- ## 连接超时时间,单位为毫秒, 默认值为2000
- connect-timeout: 10000
|