application-dev.yml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. spring:
  2. application:
  3. name: eip-auth
  4. datasource:
  5. dynamic:
  6. datasource:
  7. master:
  8. username: root
  9. password: root
  10. driver-class-name: com.mysql.cj.jdbc.Driver
  11. url: jdbc:mysql://127.0.0.1:3306/hotent_test?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&zeroDateTimeBehavior=convertToNull&autoReconnect=true&failOverReadOnly=false&maxReconnects=10&allowMultiQueries=true
  12. # username: ROOT
  13. # password: ROOT
  14. # driver-class-name: oracle.jdbc.OracleDriver
  15. # url: jdbc:oracle:thin:@127.0.0.1:1521:helowin
  16. # druid:
  17. # public-key: MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAIobgl5Uq9fEW2V6dLXqWJKDUZGAA3CCVasj1Yxge3STiWZ1plhxBUQgNgyRYeEUrUHzYPozfm0kL/zLlHMzcnUCAwEAAQ==
  18. # wall:
  19. # #开启druid允许执行多条SQL
  20. # multiStatementAllow: true
  21. redis:
  22. database: 3
  23. host: 127.0.0.1
  24. port: 6379
  25. password:
  26. redisson:
  27. singleServerConfig:
  28. # 单个连接最大订阅数量
  29. subscriptionsPerConnection: 5
  30. # 连接池大小
  31. connectionPoolSize: 8
  32. # 最小空闲连接数
  33. connectionMinimumIdleSize: 4
  34. # 发布和订阅连接池大小
  35. subscriptionConnectionPoolSize: 8
  36. # 发布和订阅连接的最小空闲连接数
  37. subscriptionConnectionMinimumIdleSize: 1
  38. activemq:
  39. in-memory: true
  40. user:
  41. password:
  42. kafka:
  43. bootstrap-servers: 127.0.0.1:9092
  44. rocketmq:
  45. namesrvAddr: 192.168.1.31:9876
  46. server:
  47. port: 8090
  48. jms:
  49. enable: true
  50. bpmRuntime: true
  51. # 是否解决跨域问题 true时为跨域有限制,false为解决跨域问题
  52. cors:
  53. enable: true
  54. # 单服务部署时可以关闭redis,此时使用caffeine来缓存
  55. redis:
  56. enable: true
  57. caffeine:
  58. enabled: true # 是否使用二级缓存 前提redis 需要开启
  59. # 分布式事务
  60. seata:
  61. enabled: false
  62. eureka:
  63. client:
  64. service-url:
  65. defaultZone: http://127.0.0.1:8761/eureka/
  66. enabled: false
  67. xxl:
  68. job:
  69. enabled: false #如果使用xxl则不使用quartz
  70. admin:
  71. addresses: http://192.168.1.100:8120/xxl-job-admin
  72. executor:
  73. port: 9998
  74. # 配置日志
  75. logging:
  76. level:
  77. # log 级别
  78. root: debug