bootstrap.yml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. # Tomcat
  2. server:
  3. port: 9527
  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. main:
  21. allow-bean-definition-overriding: true
  22. application:
  23. # 应用名称
  24. name: jeeplus-finance
  25. boot:
  26. admin:
  27. client:
  28. url: http://localhost:8989
  29. profiles:
  30. # 环境配置
  31. active: dev
  32. cloud:
  33. nacos:
  34. discovery:
  35. # 服务注册地址
  36. server-addr: 127.0.0.1:8848
  37. # 命名空间
  38. namespace: ${spring.profiles.active}
  39. username: nacos
  40. password: nacos
  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. username: ${spring.cloud.nacos.discovery.username}
  52. password: ${spring.cloud.nacos.discovery.password}
  53. sentinel:
  54. transport:
  55. dashboard: 127.0.0.1:8858
  56. thymeleaf:
  57. prefix: classpath:/templates/
  58. suffix: .html
  59. mode: HTML5
  60. encoding: UTF-8
  61. #ribbon的超时时间
  62. ribbon:
  63. ConnectTimeout: 60000 # 连接超时时间(ms)
  64. ReadTimeout: 60000 # 通信超时时间(ms)
  65. hystrix:
  66. command:
  67. default:
  68. execution:
  69. isolation:
  70. thread:
  71. timeoutInMillisecond: 60000 # 熔断超时时长:60000ms
  72. management:
  73. endpoints:
  74. web:
  75. exposure:
  76. include: "*"
  77. #oss配置
  78. config:
  79. accessory:
  80. type: minIO #local, aliyun, minIO
  81. baseDir: file
  82. local:
  83. location: d:\\accessory
  84. aliyun:
  85. aliyunUrl: http://oss.gangwaninfo.com
  86. aliyunDownloadUrl: http://cdn.gangwaninfo.com
  87. endpoint: http://oss-cn-hangzhou.aliyuncs.com
  88. accessKeyId: LTAI5tQDWoM9c1WyJNPs86rX
  89. accessKeySecret: 84dDIx4edT1n78KUOqqSmDZ35pchJv
  90. bucketName: xgxm-test
  91. minIO:
  92. endpoint:
  93. accessKey:
  94. secretKey:
  95. bucketName:
  96. #阿里云文件夹路径
  97. aliyun_directory: attachment-file/assess
  98. #签章阿里云文件bucketName
  99. qzBucketName: xg-qz