bootstrap.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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: pro
  18. cloud:
  19. nacos:
  20. discovery:
  21. # 服务注册地址
  22. server-addr: 127.0.0.1:8848
  23. # 命名空间
  24. namespace: ${spring.profiles.active}
  25. # username: nacos
  26. # password: nacos
  27. config:
  28. # 配置中心地址
  29. server-addr: 127.0.0.1:8848
  30. # 配置文件格式
  31. file-extension: yml
  32. # 共享配置
  33. shared-configs:
  34. - application.${spring.cloud.nacos.config.file-extension}
  35. # 命名空间
  36. namespace: ${spring.profiles.active}
  37. # username: ${spring.cloud.nacos.discovery.username}
  38. # password: ${spring.cloud.nacos.discovery.password}
  39. sentinel:
  40. transport:
  41. dashboard: 127.0.0.1:8858
  42. #ribbon的超时时间
  43. ribbon:
  44. ConnectTimeout: 60000 # 连接超时时间(ms)
  45. ReadTimeout: 60000 # 通信超时时间(ms)
  46. hystrix:
  47. command:
  48. default:
  49. execution:
  50. isolation:
  51. thread:
  52. timeoutInMillisecond: 60000 # 熔断超时时长:60000ms
  53. management:
  54. endpoints:
  55. web:
  56. exposure:
  57. include: "*"