bootstrap.yml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. spring:
  2. application:
  3. name: pay-server
  4. cloud:
  5. config:
  6. name: pay-server
  7. discovery:
  8. service-id: config-server
  9. # 是否获取配置中心配置
  10. enabled: false
  11. datasource:
  12. url: jdbc:mysql://rm-wz995mu26a1479kz0so.mysql.rds.aliyuncs.com:3306/szwl
  13. username: root
  14. password: sunzee@020
  15. driver-class-name: com.mysql.jdbc.Driver
  16. rabbitmq:
  17. addresses: 112.74.63.148:5672,120.78.140.173:5672,47.112.127.131:5672
  18. username: zwlzwlzwl
  19. password: 123456
  20. virtual-host: /
  21. # publisher-confirms: true
  22. connection-timeout: 5s
  23. mandatory: true
  24. template.mandatory: true
  25. publisher-returns: true
  26. cache.channel.size: 1000
  27. concurrency: 500
  28. max-concurrency: 2000
  29. listener.simple.concurrency: 1000
  30. listener.simple.max-concurrency: 2000
  31. elasticSearch:
  32. host: 120.78.140.173
  33. #elasticSearch.host: 10.0.0.155
  34. port: 9200
  35. client.connectNum: 1000
  36. connectPerRoute: 50
  37. client.esUserName: elastic
  38. client.esPassword: sunzee@020
  39. server:
  40. port: 49013
  41. management:
  42. endpoints:
  43. web:
  44. exposure:
  45. include: refresh
  46. eureka:
  47. client:
  48. service-url:
  49. defaultZone: http://112.74.63.148:49001/eureka/
  50. register-with-eureka: true
  51. instance:
  52. prefer-ip-address: true
  53. # ip-address: 10.241.20.241
  54. mybatis-plus:
  55. mapper-locations: classpath:com/szwl/mapper/xml/*.xml
  56. logging:
  57. level:
  58. com.szwl: debug