application-prod.yml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. spring:
  2. #数据源连接--start
  3. datasource:
  4. url: jdbc:mysql://rm-wz928s8btl7kxil44.mysql.rds.aliyuncs.com:3306/caimei?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true
  5. username: coder
  6. password: diKtPYZ%wToI&9#L
  7. # Hikari will use the above plus the following to setup connection pooling
  8. type: com.zaxxer.hikari.HikariDataSource
  9. hikari:
  10. minimum-idle: 5
  11. maximum-pool-size: 15
  12. auto-commit: true
  13. idle-timeout: 30000
  14. pool-name: DatebookHikariCP
  15. max-lifetime: 1800000
  16. connection-timeout: 30000
  17. connection-test-query: SELECT 1
  18. #数据源连接--end
  19. redis:
  20. host: 172.31.165.23
  21. port: 6379
  22. #password: 6#xsI%b4o@5c3RoE
  23. #Redis数据库索引(默认为0)
  24. database: 0
  25. #连接池最大连接数(使用负值表示没有限制)
  26. jedis:
  27. pool:
  28. max-active: 50
  29. #连接池最大阻塞等待时间(使用负值表示没有限制)
  30. max-wait: 3000
  31. #连接池中的最大空闲连接
  32. max-idle: 20
  33. #连接池中的最小空闲连接
  34. min-idle: 2
  35. #连接超时时间(毫秒)
  36. timeout: 5000
  37. #上传文件大小
  38. servlet:
  39. multipart:
  40. max-file-size: 10MB
  41. max-request-size: 100MB
  42. #日志配置
  43. logging:
  44. file:
  45. path: /mnt/newdatadrive/data/runtime/jar-instance/spi/logs
  46. level:
  47. root: info
  48. # swagger文档显示配置
  49. swagger:
  50. enabled: false
  51. #自定义配置
  52. wx:
  53. AppId: wxca7172d7a20bdf7a
  54. AppSecret: d7f853a64b73d01ef93f3829852a790e
  55. crmAppId: wxea43a0f9ebce9e66
  56. crmAppSecret: 1c3cd60908e72dd280840bee9e15f7f6
  57. # 新旧www服务域名
  58. caimei:
  59. oldapi: https://www.caimei365.com
  60. #支付异步回调地址
  61. notifyUrl: https://spi.caimei365.com/PayOrder/paymentCallback
  62. #支付链接重定向地址
  63. redirectLink: https://spi.caimei365.com/PayOrder/jumpPage