application.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. server:
  2. port: 1157
  3. spring:
  4. application:
  5. name: ${HOSTNAME:@hertzbeat@}${PID}
  6. profiles:
  7. active: prod
  8. mvc:
  9. static-path-pattern: /console/**
  10. resources:
  11. static-locations:
  12. - classpath:/dist/
  13. - classpath:../dist/
  14. jackson:
  15. default-property-inclusion: NON_EMPTY
  16. sureness:
  17. auths:
  18. - digest
  19. - basic
  20. - jwt
  21. ---
  22. spring:
  23. config:
  24. activate:
  25. on-profile: prod
  26. datasource:
  27. driver-class-name: com.mysql.cj.jdbc.Driver
  28. username: admin
  29. password: admin
  30. url: jdbc:mysql://localhost:3306/hertzbeat?useUnicode=true&characterEncoding=utf-8&useSSL=false
  31. platform: mysql
  32. hikari:
  33. max-lifetime: 120000
  34. jpa:
  35. database: mysql
  36. mail:
  37. host: smtp.exmail.qq.com
  38. username: example@qq.com
  39. password: example
  40. port: 465
  41. default-encoding: UTF-8
  42. properties:
  43. mail:
  44. smtp:
  45. socketFactoryClass: javax.net.ssl.SSLSocketFactory
  46. ssl:
  47. enable: true
  48. warehouse:
  49. store:
  50. td-engine:
  51. enabled: true
  52. driver-class-name: com.taosdata.jdbc.rs.RestfulDriver
  53. url: jdbc:TAOS-RS://localhost:6041/hertzbeat
  54. username: root
  55. password: taosdata