application.yml 819 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. server:
  2. port: 8084
  3. spring:
  4. application:
  5. name: svr-admin-server
  6. mail:
  7. host: smtp.qq.com
  8. port: 465
  9. username: 1501877145@qq.com
  10. protocol: smtp
  11. password: uihqhvqtrnkwhdhf #QQ的授权码
  12. properties:
  13. mail:
  14. smtp:
  15. auth: true
  16. socketFactory:
  17. class: javax.net.ssl.SSLSocketFactory
  18. starttls: true
  19. required: true
  20. boot:
  21. admin:
  22. url: http://localhost:${server.port}
  23. notify:
  24. mail:
  25. to: 494679975@qq.com
  26. from: 1501877145@qq.com
  27. routes:
  28. endpoints: env,metrics,dump,jolokia,info,configprops,trace,logfile,refresh,flyway,liquibase,heapdump,loggers,auditevents,hystrix.stream.
  29. jackson:
  30. serialization:
  31. indent_output: true
  32. management:
  33. security:
  34. enabled: false