application-prod.yml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. server:
  2. port: 9560
  3. servlet:
  4. context-path: /ldb-airport-netty-server
  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-netty-server
  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: 10
  58. max-file-size: 10MB
  59. mybatis:
  60. mapper-locations: classpath:mapper/*.xml
  61. type-aliases-package: com.yixin.review.model.entity
  62. configuration:
  63. cache-enabled: true
  64. map-underscore-to-camel-case: true
  65. pagehelper:
  66. helper-dialect: mysql
  67. page-size-zero: true
  68. params: count=countSql
  69. reasonable: true
  70. support-methods-arguments: true
  71. ##``````````````````````````````````` tkMapper 配置``````````````````````````````````````````````````````````````###
  72. mapper. mappers: com.yx.face.boot.component.tk.TKMapper
  73. ##``````````````````````````````````` 微信小程序配置``````````````````````````````````````````````````````````````###
  74. wx:
  75. miniapp:
  76. configs:
  77. - appid: wx1d8658b9d9597284
  78. secret: 1a39f8be0b2d84a3176cb3c74a6dd222
  79. token: #微信小程序消息服务器配置的token
  80. aesKey: #微信小程序消息服务器配置的EncodingAESKey
  81. msgDataFormat: JSON
  82. weixin.appid: wx1d8658b9d9597284
  83. ##``````````````````````````````````` 在线文档 配置``````````````````````````````````````````````````````````````###
  84. swagger:
  85. enable: true
  86. knife4j:
  87. enable: true
  88. basic:
  89. enable: true
  90. ## Basic认证用户名
  91. username: fyzd
  92. ## Basic认证密码
  93. password: fyzd
  94. ##``````````````````````````````````` 上传文件 配置``````````````````````````````````````````````````````````````###
  95. file.upload.path: file/
  96. file.upload.path.relative: /file/**
  97. web.address: https://ldb-airport.hz-hanghui.com:9100/ldb-airport-netty-server/
  98. ##``````````````````````````````````` 人脸服务 配置``````````````````````````````````````````````````````````````###
  99. face.service.tb: http://10.61.107.140:1820
  100. #定时任务 每5分钟
  101. cron.face.clear.user: 0 1/5 * * * ?