bootstrap.yml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. username: nacos
  42. password: nacos
  43. config:
  44. # 配置中心地址
  45. server-addr: 127.0.0.1:8848
  46. # 配置文件格式
  47. file-extension: yml
  48. # 共享配置
  49. shared-configs:
  50. - application.${spring.cloud.nacos.config.file-extension}
  51. # 命名空间
  52. namespace: ${spring.profiles.active}
  53. username: ${spring.cloud.nacos.discovery.username}
  54. password: ${spring.cloud.nacos.discovery.password}
  55. sentinel:
  56. transport:
  57. dashboard: 127.0.0.1:8858
  58. #ribbon的超时时间
  59. ribbon:
  60. ConnectTimeout: 60000 # 连接超时时间(ms)
  61. ReadTimeout: 60000 # 通信超时时间(ms)
  62. hystrix:
  63. command:
  64. default:
  65. execution:
  66. isolation:
  67. thread:
  68. timeoutInMillisecond: 60000 # 熔断超时时长:60000ms
  69. management:
  70. endpoints:
  71. web:
  72. exposure:
  73. include: "*"