application-jp-test.yaml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. spring:
  2. datasource:
  3. type: com.zaxxer.hikari.HikariDataSource # 数据源类型:HikariCP
  4. driverClassName: com.mysql.cj.jdbc.Driver
  5. url: jdbc:mysql://127.0.0.1:13306/fd_smart_site?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true
  6. username: root
  7. password: ENC(e8emcMZgaRX3rCnNasm+0RKyq/Il0y4i)
  8. hikari:
  9. connection-timeout: 30000 # 等待连接池分配连接的最大时长(毫秒),超过这个时长还没可用的连接则发生SQLException, 默认:30秒
  10. minimum-idle: 5 # 最小连接数
  11. maximum-pool-size: 20 # 最大连接数
  12. auto-commit: true # 事务自动提交
  13. idle-timeout: 600000 # 连接超时的最大时长(毫秒),超时则被释放(retired),默认:10分钟
  14. pool-name: DateSourceHikariCP # 连接池名字
  15. max-lifetime: 1800000 # 连接的生命时长(毫秒),超时而且没被使用则被释放(retired),默认:30分钟 1800000ms
  16. connection-test-query: SELECT 1 # 连接测试语句
  17. redis:
  18. host: 127.0.0.1
  19. port: 6379
  20. timeout: 6000ms
  21. password:
  22. database: 0
  23. jedis:
  24. pool:
  25. max-active: 10 #连接池最大连接数(使用负值表示没有限制)
  26. max-idle: 10 # 连接池中的最大空闲连接
  27. min-idle: 5 # 连接池中的最小空闲连接
  28. max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
  29. lettuce:
  30. shutdown-timeout: 0ms
  31. rabbitmq:
  32. host: 127.0.0.1
  33. port: 5672
  34. username: admin
  35. password: admin1231
  36. virtual-host: 4dkankan
  37. connection-timeout: 0
  38. listener:
  39. simple:
  40. prefetch: 1
  41. max-concurrency: 2
  42. acknowledge-mode: manual #开启消费者手动确认
  43. 4dkk:
  44. fdService:
  45. #官网生产环境:https://www.4dkankan.com http://test.4dkankan.com
  46. basePath: http://test-jp.4dkankan.com
  47. port: 80
  48. #basePath: http://192.168.0.38/4dkankan_v2
  49. #port: 8080
  50. laserService:
  51. #深时(激光)地址 生产环境:https://laser.4dkankan.com/
  52. basePath: https://testlaser-jp.4dkankan.com/backend
  53. port: 80
  54. bimService:
  55. #bim 服务
  56. basePath: http://test-bim-jp.4dkankan.com
  57. port: 80
  58. logging:
  59. config: classpath:logback-spring.xml
  60. file:
  61. path: /home/smart-site/logs
  62. level:
  63. com.fdkankan: DEBUG
  64. filestorage:
  65. active: oss
  66. oss:
  67. endpoint: http://oss-ap-northeast-1.aliyuncs.com
  68. internal-endpoint: http://oss-ap-northeast-1.aliyuncs.com
  69. access-key: ENC(U8UeO6r+PVmJ1Vj33SZxlyo7G53Bza8BBgKfoS+MqM1xrtYWW1Fv2g==)
  70. access-key-secret: ENC(/VkyDP4a7U7KBUKT3mJ1KME2JUtsxEtucMmM7wavfLq9WztylWgSWQ==)
  71. bucket: geosign-4dkk
  72. bucket-custom-domain:
  73. geosign-4dkk: https://oss.4dkankan.jp
  74. queue:
  75. manage-collaborate-msg-notice: manage-collaborate-msg-notice