application.yaml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. server:
  2. port: 8080
  3. servlet:
  4. context_path: /
  5. compression:
  6. enabled: true
  7. mime-types: application/json,application/xml,text/html,text/xml,text/plain
  8. error:
  9. whitelabel:
  10. enabled: false
  11. spring:
  12. profiles:
  13. active: dev
  14. datasource:
  15. url: jdbc:mysql://mysql.izouma.com/zhuoka_test?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false&serverTimezone=GMT%2b8
  16. username: microball
  17. password: 2wsx@WSX#EDC
  18. # url: jdbc:mysql://localhost/zhuoka?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false&serverTimezone=GMT%2b8
  19. # username: root
  20. # password: william
  21. hikari:
  22. minimum-idle: 5
  23. maximum-pool-size: 30
  24. auto-commit: true
  25. idle-timeout: 30000
  26. max-lifetime: 1800000
  27. connection-timeout: 30000
  28. connection-test-query: SELECT 1
  29. jpa:
  30. database: MySQL
  31. database_platform: org.hibernate.dialect.MySQL5InnoDBDialect
  32. hibernate:
  33. ddl_auto: update
  34. properties:
  35. hibernate:
  36. enable_lazy_load_no_trans: true
  37. redis:
  38. host: 127.0.0.1
  39. port: 6379
  40. lettuce:
  41. pool:
  42. max_active: 8
  43. max_idle: 8
  44. min_idle: 0
  45. servlet:
  46. multipart:
  47. max_file_size: 100MB
  48. max_request_size: 100MB
  49. freemarker:
  50. settings:
  51. number_format: 0
  52. cache:
  53. type: caffeine
  54. jwt:
  55. secret: XvAD0kboD76Dpebm
  56. header: Authorization
  57. expiration: 2592000 #30days
  58. wx:
  59. mp:
  60. app_id: wxf3120271892d4f18
  61. app_secret: 0f8057f216e7938ecc1ce8a8d55f46d3
  62. ma:
  63. app_id: wxf3120271892d4f18
  64. app_secret: 0f8057f216e7938ecc1ce8a8d55f46d3
  65. msg_token: msgToken
  66. msg_aes_key: aesKey
  67. msg_format: JSON
  68. pay:
  69. appId: wx2d18419d1c19da82
  70. mchId: 1616287190
  71. mchKey: PtAI0ylyqvEVuWwYcKIBaenPwHEh4pkL
  72. subAppId: #wxf3120271892d4f18
  73. subMchId: #1617297545
  74. # appId: wxf3120271892d4f18
  75. # mchId: 1609404754
  76. # mchKey: mPtQOlBBWIBLXe3Z1RY0sABzWCAjeWfl
  77. # subAppId: #服务商模式下的子商户公众账号ID
  78. # subMchId: #服务商模式下的子商户号
  79. keyPath: classpath:/cert/apiclient_cert.p12
  80. notifyUrl: http://zhuoka.izouma.com/wx/payNotify
  81. refundNotifyUrl: http://zhuoka.izouma.com/wx/refundNotify
  82. storage:
  83. provider: aliyun
  84. local_path: /var/www/upload/
  85. aliyun:
  86. access-key-id: PXzJyah5rZfWHIIH
  87. access-key-secret: e1MS6j0wypXJrw8CM0hObZu8qKbfah
  88. oss-end-point: oss-cn-hangzhou.aliyuncs.com
  89. oss-bucket-name: ticket-exchange
  90. oss-domain: https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com
  91. general:
  92. host: http://zhuoka.izouma.com
  93. ---
  94. spring:
  95. profiles: test
  96. ---
  97. spring:
  98. profiles: prod
  99. datasource:
  100. url: jdbc:mysql://mysql.izouma.com/zhuoka?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false&serverTimezone=GMT%2b8