application.yml 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. ################################################################################################################
  2. ## spring-cloud相关配置
  3. #eureka:
  4. # client: #客户端注册进eureka服务列表内
  5. # service-url:
  6. # defaultZone: http://eureka-service:8761/eureka
  7. ##启用监控
  8. #management:
  9. # endpoints:
  10. # web:
  11. # exposure:
  12. # include:
  13. # - "*" # 开放所有端点health,info,metrics,通过actuator/+端点名就可以获取相应的信息。默认打开health和info
  14. # endpoint:
  15. # health:
  16. # #未开启actuator/health时,我们获取到的信息是{"status":"UP"},status的值还有可能是 DOWN。开启后打印详细信息
  17. # show-details: always
  18. ###############################################################################################################
  19. server:
  20. port: 8080
  21. # ssl:
  22. # key-store: classpath:keystore.key
  23. # key-store-password: 20090421
  24. # key-store-type: PKCS12
  25. # key-alias: cn.sagacloud
  26. spring:
  27. application:
  28. name: scheduler
  29. mvc:
  30. favicon:
  31. enabled: true
  32. jmx:
  33. default-domain: scheduler
  34. datasource:
  35. name: scheduler_str
  36. type: com.alibaba.druid.pool.DruidDataSource
  37. driver-class-name: com.mysql.cj.jdbc.Driver
  38. url: jdbc:mysql://rm-2ze20ntn5y9ljsx147o.mysql.rds.aliyuncs.com:3306/scheduler_str?allowMultiQueries=true&serverTimezone=UTC&useUnicode=true&useSSL=false&characterEncoding=UTF-8
  39. username: root
  40. password: zVmW58LaAtjIKbb
  41. jackson:
  42. date-format: yyyy-MM-dd HH:mm:ss
  43. time-zone: Asia/Shanghai
  44. default-property-inclusion: non_null
  45. # 首字母大写
  46. property-naming-strategy: com.fasterxml.jackson.databind.PropertyNamingStrategy.PascalCaseStrategy
  47. # 以下划线分隔全小写的单词
  48. #property-naming-strategy: com.fasterxml.jackson.databind.PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy
  49. mapper:
  50. # 属性按字母顺序输出
  51. sort_properties_alphabetically: true
  52. # activemq:
  53. # #broker-url: tcp://172.17.134.225:61616
  54. # broker-url: tcp://activemq:61616
  55. # in-memory: true
  56. # pool.enabled: false
  57. # user: admin
  58. # password: admin
  59. #activemq:
  60. # broker-url: failover:(tcp://192.168.64.15:61616)
  61. #in-memory: true
  62. #pool:
  63. # enabled: false
  64. #user: admin
  65. #password: admin
  66. #non-blocking-redelivery: true
  67. #jms:
  68. # pub-sub-domain: true
  69. #topic: datacenter.broadcast
  70. mybatis:
  71. typeAliasesPackage: cn.sagacloud.server.datacenter.entities
  72. # configuration:
  73. # log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl