application.yaml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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/awesome_admin_v2?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false&serverTimezone=GMT%2b8
  16. username: microball
  17. password: 2wsx@WSX#EDC
  18. hikari:
  19. minimum-idle: 5
  20. maximum-pool-size: 30
  21. auto-commit: true
  22. idle-timeout: 30000
  23. max-lifetime: 1800000
  24. connection-timeout: 30000
  25. connection-test-query: SELECT 1
  26. jpa:
  27. database: MySQL
  28. database_platform: org.hibernate.dialect.MySQL5InnoDBDialect
  29. hibernate:
  30. ddl_auto: update
  31. properties:
  32. hibernate:
  33. enable_lazy_load_no_trans: true
  34. redis:
  35. host: 127.0.0.1
  36. port: 6379
  37. lettuce:
  38. pool:
  39. max_active: 8
  40. max_idle: 8
  41. min_idle: 0
  42. servlet:
  43. multipart:
  44. max_file_size: 100MB
  45. max_request_size: 100MB
  46. freemarker:
  47. settings:
  48. number_format: 0
  49. jwt:
  50. secret: XvAD0kboD76Dpebm
  51. header: Authorization
  52. expiration: 2592000 #30days
  53. wx:
  54. mp:
  55. app_id: wx2375cba2eec2c479
  56. app_secret: 28e4829124860d9ef9e2f32aeefd1111
  57. miniapp:
  58. app_id: wx6517cbf58115c508
  59. app_secret: 8af0e8ba28ffddfb7e574e6c7cb6aaf1
  60. msg_token: msgToken
  61. msg_aes_key: aesKey
  62. msg_format: JSON
  63. pay:
  64. appId: wx2375cba2eec2c479
  65. mchId: 1529090291
  66. mchKey: uDusnGcUqYyWqsBdmvuioxDhtgZErwtu
  67. subAppId: #服务商模式下的子商户公众账号ID
  68. subMchId: #服务商模式下的子商户号
  69. keyPath: classpath:/cert/apiclient_cert.p12
  70. notifyUrl: http://zmj.izouma.com/wx/payNotify
  71. refundNotifyUrl: http://zmj.izouma.com/wx/refundNotify
  72. storage:
  73. provider: aliyun
  74. local_path: /var/www/upload/
  75. aliyun:
  76. access-key-id: PXzJyah5rZfWHIIH
  77. access-key-secret: e1MS6j0wypXJrw8CM0hObZu8qKbfah
  78. oss-end-point: oss-cn-hangzhou.aliyuncs.com
  79. oss-bucket-name: ticket-exchange
  80. oss-domain: https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com
  81. general:
  82. host: http://art.izouma.com
  83. ---
  84. spring:
  85. profiles: test
  86. ---
  87. spring:
  88. profiles: prod