application.yml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. server:
  2. port: 8080
  3. spring:
  4. application:
  5. name: message-center
  6. mvc:
  7. favicon:
  8. enabled: true
  9. jmx:
  10. default-domain: message-center
  11. datasource:
  12. name: message-center
  13. type: com.alibaba.druid.pool.DruidDataSource
  14. driver-class-name: com.mysql.cj.jdbc.Driver
  15. url: jdbc:mysql://rm-2ze20ntn5y9ljsx147o.mysql.rds.aliyuncs.com:3306/message?allowMultiQueries=true&serverTimezone=UTC&useUnicode=true&useSSL=false&characterEncoding=UTF-8
  16. username: root
  17. password: zVmW58LaAtjIKbb
  18. jackson:
  19. date-format: yyyy-MM-dd HH:mm:ss
  20. time-zone: Asia/Shanghai
  21. default-property-inclusion: non_null
  22. # 首字母大写
  23. #property-naming-strategy: com.fasterxml.jackson.databind.PropertyNamingStrategy.PascalCaseStrategy
  24. # 以下划线分隔全小写的单词
  25. #property-naming-strategy: com.fasterxml.jackson.databind.PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy
  26. mapper:
  27. # 属性按字母顺序输出
  28. sort_properties_alphabetically: true
  29. main:
  30. allow-bean-definition-overriding: true
  31. # activemq:
  32. # broker-url: tcp://192.168.64.14:61616
  33. # in-memory: true
  34. # pool.enabled: false
  35. # user: admin
  36. # password: admin
  37. #topic: datacenter.broadcast
  38. mybatis:
  39. typeAliasesPackage: cn.sagacloud.server.messagecenter.models
  40. # spring-cloud相关配置
  41. eureka:
  42. client: #客户端注册进eureka服务列表内
  43. service-url:
  44. defaultZone: http://frame:123456@develop.persagy.com/integrated-eureka/eureka/