bootstrap.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # Tomcat
  2. server:
  3. port: 9229
  4. servlet:
  5. context-path: /xxl-job-admin
  6. # Spring
  7. spring:
  8. application:
  9. # 应用名称
  10. name: jeeplus-xxl-job-admin
  11. boot:
  12. admin:
  13. client:
  14. url: http://localhost:8989
  15. profiles:
  16. # 环境配置
  17. active: dev
  18. cloud:
  19. nacos:
  20. discovery:
  21. # 服务注册地址
  22. server-addr: 127.0.0.1:8848
  23. # 命名空间
  24. namespace: ${spring.profiles.active}
  25. config:
  26. # 配置中心地址
  27. server-addr: 127.0.0.1:8848
  28. # 配置文件格式
  29. file-extension: yml
  30. # 共享配置
  31. shared-configs:
  32. - application.${spring.cloud.nacos.config.file-extension}
  33. # 命名空间
  34. namespace: ${spring.profiles.active}
  35. sentinel:
  36. transport:
  37. dashboard: 127.0.0.1:8858
  38. #ribbon的超时时间
  39. ribbon:
  40. ConnectTimeout: 60000 # 连接超时时间(ms)
  41. ReadTimeout: 60000 # 通信超时时间(ms)
  42. hystrix:
  43. command:
  44. default:
  45. execution:
  46. isolation:
  47. thread:
  48. timeoutInMillisecond: 60000 # 熔断超时时长:60000ms
  49. management:
  50. endpoints:
  51. web:
  52. exposure:
  53. include: "*"