bootstrap.yml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. # Tomcat
  2. server:
  3. port: 9239
  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. servlet:
  21. multipart:
  22. max-file-size: 100MB
  23. max-request-size: 100MB
  24. application:
  25. # 应用名称
  26. name: jeeplus-file
  27. boot:
  28. admin:
  29. client:
  30. url: http://localhost:8989
  31. profiles:
  32. # 环境配置
  33. active: dev
  34. cloud:
  35. nacos:
  36. discovery:
  37. # 服务注册地址
  38. server-addr: 127.0.0.1:8848
  39. # 命名空间
  40. namespace: ${spring.profiles.active}
  41. config:
  42. # 配置中心地址
  43. server-addr: 127.0.0.1:8848
  44. # 配置文件格式
  45. file-extension: yml
  46. # 共享配置
  47. shared-configs:
  48. - application.${spring.cloud.nacos.config.file-extension}
  49. # 命名空间
  50. namespace: ${spring.profiles.active}
  51. sentinel:
  52. transport:
  53. dashboard: 127.0.0.1:8858
  54. #ribbon的超时时间
  55. ribbon:
  56. ConnectTimeout: 60000 # 连接超时时间(ms)
  57. ReadTimeout: 60000 # 通信超时时间(ms)
  58. hystrix:
  59. command:
  60. default:
  61. execution:
  62. isolation:
  63. thread:
  64. timeoutInMillisecond: 60000 # 熔断超时时长:60000ms
  65. management:
  66. endpoints:
  67. web:
  68. exposure:
  69. include: "*"