bootstrap.yml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. # Tomcat
  2. server:
  3. port: 9227
  4. servlet:
  5. context-path:
  6. #mybatis-plus配置
  7. #mybatis-plus:
  8. # mapper-locations:
  9. # - classpath*:com/jeeplus/modules/**/*Mapper.xml
  10. # - classpath:/META-INF/admin-mybatis-mappings/*.xml
  11. # - classpath:/META-INF/modeler-mybatis-mappings/*.xml
  12. # #实体扫描,多个package用逗号或者分号分隔
  13. # typeAliasesPackage: com.jeeplus.modules.**.entity
  14. # configuration-properties:
  15. # prefix:
  16. # boolValue: TRUE
  17. # blobType: BLOB
  18. # Spring
  19. spring:
  20. application:
  21. # 应用名称
  22. name: jeeplus-test
  23. boot:
  24. admin:
  25. client:
  26. url: http://localhost:8989
  27. profiles:
  28. # 环境配置
  29. active: dev
  30. cloud:
  31. nacos:
  32. discovery:
  33. # 服务注册地址
  34. server-addr: 127.0.0.1:8848
  35. # 命名空间
  36. namespace: ${spring.profiles.active}
  37. config:
  38. # 配置中心地址
  39. server-addr: 127.0.0.1:8848
  40. # 配置文件格式
  41. file-extension: yml
  42. # 共享配置
  43. shared-configs:
  44. - application.${spring.cloud.nacos.config.file-extension}
  45. # 命名空间
  46. namespace: ${spring.profiles.active}
  47. sentinel:
  48. transport:
  49. dashboard: 127.0.0.1:8858
  50. thymeleaf:
  51. prefix: classpath:/templates/
  52. suffix: .html
  53. mode: HTML5
  54. encoding: UTF-8
  55. #ribbon的超时时间
  56. ribbon:
  57. ConnectTimeout: 60000 # 连接超时时间(ms)
  58. ReadTimeout: 60000 # 通信超时时间(ms)
  59. hystrix:
  60. command:
  61. default:
  62. execution:
  63. isolation:
  64. thread:
  65. timeoutInMillisecond: 60000 # 熔断超时时长:60000ms
  66. management:
  67. endpoints:
  68. web:
  69. exposure:
  70. include: "*"