bootstrap.yml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. # Tomcat
  2. server:
  3. port: 9528
  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-human
  25. boot:
  26. admin:
  27. client:
  28. url: http://localhost:8989
  29. profiles:
  30. # 环境配置
  31. active: pro
  32. cloud:
  33. nacos:
  34. discovery:
  35. # 服务注册地址
  36. server-addr: ${NACOS_ADDR:127.0.0.1:8848}
  37. # 命名空间
  38. namespace: ${spring.profiles.active}
  39. username: nacos
  40. password: jsxgpassword
  41. config:
  42. # 配置中心地址
  43. server-addr: ${NACOS_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. auth:
  54. plugin:
  55. nacos:
  56. token:
  57. secret:
  58. key: cCtJSWRxbW1xT3FmZkh1RTBpdTltYkM5ZlNSaTRyQ1RiSzJzV1pweEYycz0=
  59. sentinel:
  60. transport:
  61. dashboard: 127.0.0.1:8858
  62. thymeleaf:
  63. prefix: classpath:/templates/
  64. suffix: .html
  65. mode: HTML5
  66. encoding: UTF-8
  67. #ribbon的超时时间
  68. ribbon:
  69. ConnectTimeout: 60000 # 连接超时时间(ms)
  70. ReadTimeout: 60000 # 通信超时时间(ms)
  71. hystrix:
  72. command:
  73. default:
  74. execution:
  75. isolation:
  76. thread:
  77. timeoutInMillisecond: 60000 # 熔断超时时长:60000ms
  78. management:
  79. endpoints:
  80. web:
  81. exposure:
  82. include: "*"
  83. #oss配置
  84. config:
  85. accessory:
  86. type: minIO #local, aliyun, minIO
  87. baseDir: file
  88. local:
  89. location: d:\\accessory
  90. aliyun:
  91. aliyunUrl: http://oss.gangwaninfo.com
  92. aliyunDownloadUrl: http://cdn.gangwaninfo.com
  93. endpoint: http://oss-cn-hangzhou.aliyuncs.com
  94. accessKeyId: LTAI5tKa6kzGr5EyPWJB4EcD
  95. accessKeySecret: arHxB7ZPhizrBYf4844TtyaRctPMgW
  96. bucketName: xg-pg
  97. minIO:
  98. endpoint:
  99. accessKey:
  100. secretKey:
  101. bucketName: