application.yml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. logging:
  2. level:
  3. root: INFO
  4. com:
  5. zaxxer:
  6. hikari: DEBUG
  7. abi:
  8. bees:
  9. promotion: INFO
  10. org:
  11. springframework:
  12. cloud:
  13. kubernetes: DEBUG
  14. server:
  15. port: 8080
  16. max-http-header-size: 8192
  17. spring:
  18. servlet:
  19. multipart:
  20. max-file-size: 10MB
  21. max-request-size: 40MB
  22. datasource:
  23. driver-class-name: org.mariadb.jdbc.Driver
  24. ###################在家办公#####################
  25. # password: qmsqrdev@2021
  26. # username: qmsqrdev
  27. # url: jdbc:mysql://rm-uf6t3m8yo40d5b905go.mysql.rds.aliyuncs.com:3306/qms_qr_platform_dev?characterEncoding=utf8&serverTimezone=Asia/Shanghai
  28. # rabbitmq:
  29. # password: guest
  30. # username: guest
  31. # virtual-host: /
  32. # addresses: 127.0.0.1:5672
  33. # redis:
  34. # password: Abi@12345
  35. # database: 0
  36. # host: r-uf6kxuqc1iw6f8rwrjpd.redis.rds.aliyuncs.com
  37. # cloud:
  38. # kubernetes:
  39. # enabled: false
  40. # discovery:
  41. # enabled: false
  42. #
  43. #sms-center-service:
  44. # url: xxx
  45. #basic-service:
  46. # url: xxx
  47. ##############################################
  48. management:
  49. endpoint:
  50. restart:
  51. enabled: true
  52. health:
  53. show-details: ALWAYS
  54. metrics:
  55. enabled: true
  56. prometheus:
  57. enabled: true
  58. endpoints:
  59. web:
  60. exposure:
  61. include: '*'
  62. metrics:
  63. export:
  64. prometheus:
  65. enabled: true
  66. mybatis-plus:
  67. mapper-locations: classpath:dao/mapper/*Mapper.xml
  68. global-config:
  69. db-config:
  70. id-type: auto
  71. logic-delete-value: 1
  72. logic-not-delete-value: 0
  73. xxl:
  74. job:
  75. admin:
  76. addresses: ${XXL_JOB_ADMIN_ADDRESSES}
  77. executor:
  78. appname: xxl-job-executor-task-cirle
  79. ip:
  80. port: ${XXL_JOB_EXECUTOR_PORT}
  81. logpath: D:/xxlJob/
  82. logretentiondays: 30
  83. address:
  84. accessToken:
  85. #tableStore参数配置
  86. #tableStore:
  87. # endPoint: https://ABIALI-BEES-DEV.cn-shanghai.ots.aliyuncs.com
  88. # accessKeyId: LTAI5tJsggmweHRJXmojeY65
  89. # accessKeySecret: EZWyrgZKV0iejOEq8JPEF8b82mdXxJ
  90. # instanceName: ABIALI-BEES-DEV
  91. # 系统url
  92. system:
  93. url: http://system_url/
  94. # 发送email
  95. smtp:
  96. host: smtp.office365.com
  97. port: 587
  98. auth: true
  99. mail:
  100. send:
  101. user: APAC.budtech.sales@Budweiserapac.com
  102. username: APAC.budtech.sales@Budweiserapac.com
  103. authcode: 3edc4rfvT!@#
  104. # 短信
  105. qms:
  106. sms:
  107. requestId: 1213dsdsds15sd15tgh
  108. source: codepacket-service
  109. templateCode: SMS_206560232
  110. signName: 百威QMS
  111. encode:
  112. key: EC/Z+S7c3EFJa2dtvLyekg==