123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- spring:
- datasource:
- type: com.zaxxer.hikari.HikariDataSource # 数据源类型:HikariCP
- driverClassName: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://127.0.0.1:13306/fd_smart_site?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true
- username: root
- password: ENC(e8emcMZgaRX3rCnNasm+0RKyq/Il0y4i)
- 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: 6379
- timeout: 6000ms
- password:
- database: 0
- jedis:
- pool:
- max-active: 10 #连接池最大连接数(使用负值表示没有限制)
- max-idle: 10 # 连接池中的最大空闲连接
- min-idle: 5 # 连接池中的最小空闲连接
- max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
- lettuce:
- shutdown-timeout: 0ms
- rabbitmq:
- host: 127.0.0.1
- port: 5672
- username: admin
- password: admin1231
- virtual-host: 4dkankan
- connection-timeout: 0
- listener:
- simple:
- prefetch: 1
- max-concurrency: 2
- acknowledge-mode: manual #开启消费者手动确认
- 4dkk:
- fdService:
- #官网生产环境:https://www.4dkankan.com http://test.4dkankan.com
- basePath: http://test-jp.4dkankan.com
- port: 80
- #basePath: http://192.168.0.38/4dkankan_v2
- #port: 8080
- laserService:
- #深时(激光)地址 生产环境:https://laser.4dkankan.com/
- basePath: https://testlaser-jp.4dkankan.com/backend
- port: 80
- bimService:
- #bim 服务
- basePath: http://test-bim-jp.4dkankan.com
- port: 80
- logging:
- config: classpath:logback-spring.xml
- file:
- path: /home/smart-site/logs
- level:
- com.fdkankan: DEBUG
- 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
- queue:
- manage-collaborate-msg-notice: manage-collaborate-msg-notice
|