bootstrap.yml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # Tomcat
  2. server:
  3. port: 8989
  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-admin-service
  27. profiles:
  28. # 环境配置
  29. active: dev
  30. cloud:
  31. nacos:
  32. discovery:
  33. # 服务注册地址
  34. server-addr: 192.168.3.12:8848
  35. # 命名空间
  36. namespace: ${spring.profiles.active}
  37. config:
  38. # 配置中心地址
  39. server-addr: 192.168.3.12: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. #ribbon的超时时间
  48. ribbon:
  49. ConnectTimeout: 60000 # 连接超时时间(ms)
  50. ReadTimeout: 60000 # 通信超时时间(ms)
  51. hystrix:
  52. command:
  53. default:
  54. execution:
  55. isolation:
  56. thread:
  57. timeoutInMillisecond: 60000 # 熔断超时时长:60000ms