12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- # Tomcat
- server:
- port: 9227
- servlet:
- context-path:
- #mybatis-plus配置
- #mybatis-plus:
- # mapper-locations:
- # - classpath*:com/jeeplus/modules/**/*Mapper.xml
- # - classpath:/META-INF/admin-mybatis-mappings/*.xml
- # - classpath:/META-INF/modeler-mybatis-mappings/*.xml
- # #实体扫描,多个package用逗号或者分号分隔
- # typeAliasesPackage: com.jeeplus.modules.**.entity
- # configuration-properties:
- # prefix:
- # boolValue: TRUE
- # blobType: BLOB
- # Spring
- spring:
- application:
- # 应用名称
- name: jeeplus-test
- boot:
- admin:
- client:
- url: http://localhost:8989
- profiles:
- # 环境配置
- active: dev
- cloud:
- nacos:
- discovery:
- # 服务注册地址
- server-addr: 127.0.0.1:8848
- # 命名空间
- namespace: ${spring.profiles.active}
- config:
- # 配置中心地址
- server-addr: 127.0.0.1:8848
- # 配置文件格式
- file-extension: yml
- # 共享配置
- shared-configs:
- - application.${spring.cloud.nacos.config.file-extension}
- # 命名空间
- namespace: ${spring.profiles.active}
- sentinel:
- transport:
- dashboard: 127.0.0.1:8858
- thymeleaf:
- prefix: classpath:/templates/
- suffix: .html
- mode: HTML5
- encoding: UTF-8
- #ribbon的超时时间
- ribbon:
- ConnectTimeout: 60000 # 连接超时时间(ms)
- ReadTimeout: 60000 # 通信超时时间(ms)
- hystrix:
- command:
- default:
- execution:
- isolation:
- thread:
- timeoutInMillisecond: 60000 # 熔断超时时长:60000ms
- management:
- endpoints:
- web:
- exposure:
- include: "*"
|