application-prod.yml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. server:
  2. port: 9200
  3. servlet:
  4. context-path: /ldb-airport
  5. session:
  6. persistent: false
  7. tomcat:
  8. accept-count: 150
  9. uri-encoding: UTF-8
  10. threads:
  11. max: 20
  12. spring:
  13. application:
  14. name: /ldb-airport-master
  15. jackson:
  16. date-format: yyyy-MM-dd HH:mm:ss
  17. default-property-inclusion: non_null
  18. time-zone: GMT+8
  19. datasource:
  20. driver-class-name: com.mysql.cj.jdbc.Driver
  21. url: jdbc:mysql://192.168.99.12:3306/ldb_airport?characterEncoding=utf8&autoReconnect=true&allowMultiQueries=true&useSSL=false&serverTimezone=Asia/Shanghai
  22. username: root
  23. password: nqj##361
  24. hikari:
  25. maximum-pool-size: 10
  26. minimum-idle: 5
  27. connection-timeout: 30000
  28. idle-timeout: 600000
  29. max-lifetime: 1800000
  30. messages:
  31. basename: message/messages_zh_CN
  32. encoding: UTF-8
  33. servlet:
  34. multipart:
  35. enabled: true
  36. max-file-size: 50MB
  37. max-request-size: 50MB
  38. redis:
  39. database: 5
  40. host: 127.0.0.1
  41. lettuce:
  42. pool:
  43. max-active: 8 #最大连接数据库连接数,设 0 为没有限制
  44. max-idle: 8 #最大等待连接中的数量,设 0 为没有限制
  45. max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
  46. min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
  47. shutdown-timeout: 100ms
  48. password: ''
  49. port: 6380
  50. logging:
  51. file:
  52. name: ./logs/${spring.application.name}.log
  53. level:
  54. com.yixin.review: info
  55. logback:
  56. rollingpolicy:
  57. max-history: 1
  58. max-file-size: 10MB
  59. clean-history-on-start: true
  60. mybatis:
  61. mapper-locations: classpath:mapper/*.xml
  62. type-aliases-package: com.yixin.review.model.entity
  63. configuration:
  64. cache-enabled: true
  65. map-underscore-to-camel-case: true
  66. pagehelper:
  67. helper-dialect: mysql
  68. page-size-zero: true
  69. params: count=countSql
  70. reasonable: true
  71. support-methods-arguments: true
  72. ##``````````````````````````````````` tkMapper 配置``````````````````````````````````````````````````````````````###
  73. mapper. mappers: com.yx.face.boot.component.tk.TKMapper
  74. ##``````````````````````````````````` 微信小程序配置``````````````````````````````````````````````````````````````###
  75. wx:
  76. miniapp:
  77. configs:
  78. - appid: wx1d8658b9d9597284
  79. secret: 1a39f8be0b2d84a3176cb3c74a6dd222
  80. token: #微信小程序消息服务器配置的token
  81. aesKey: #微信小程序消息服务器配置的EncodingAESKey
  82. msgDataFormat: JSON
  83. weixin.appid: wx1d8658b9d9597284
  84. ##``````````````````````````````````` 在线文档 配置``````````````````````````````````````````````````````````````###
  85. swagger:
  86. enable: true
  87. knife4j:
  88. enable: true
  89. basic:
  90. enable: true
  91. ## Basic认证用户名
  92. username: ldbAirport
  93. ## Basic认证密码
  94. password: ldbAirport
  95. ##-----------------------------------------微信
  96. wx.phone.url: http://192.168.99.11:9012/winxin-fyzd/weiXin/getPhone
  97. ##``````````````````````````````````` 上传文件 配置``````````````````````````````````````````````````````````````###
  98. file.upload.path: file/
  99. file.upload.path.relative: /file/**
  100. web.address: https://ldb-airport.hz-hanghui.com:9100/ldb-airport/
  101. ##``````````````````````````````````` 人脸服务 配置``````````````````````````````````````````````````````````````###
  102. face.service.tb: http://192.168.99.11:1820
  103. #定时任务 每5分钟
  104. cron.face.clear.user: 0 1/5 * * * ?