bootstrap.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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: ${NACOS_ADDR:127.0.0.1:8848}
  23. # 命名空间
  24. namespace: ${spring.profiles.active}
  25. username: nacos
  26. password: jsxgpassword
  27. config:
  28. # 配置中心地址
  29. server-addr: ${NACOS_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. auth:
  40. plugin:
  41. nacos:
  42. token:
  43. secret:
  44. key: cCtJSWRxbW1xT3FmZkh1RTBpdTltYkM5ZlNSaTRyQ1RiSzJzV1pweEYycz0=
  45. sentinel:
  46. transport:
  47. dashboard: 127.0.0.1:8858
  48. #ribbon的超时时间
  49. ribbon:
  50. ConnectTimeout: 60000 # 连接超时时间(ms)
  51. ReadTimeout: 60000 # 通信超时时间(ms)
  52. hystrix:
  53. command:
  54. default:
  55. execution:
  56. isolation:
  57. thread:
  58. timeoutInMillisecond: 60000 # 熔断超时时长:60000ms
  59. management:
  60. endpoints:
  61. web:
  62. exposure:
  63. include: "*"