123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- # Tomcat
- server:
- port: 8989
- 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:
- servlet:
- multipart:
- max-file-size: 100MB
- max-request-size: 100MB
- application:
- # 应用名称
- name: jeeplus-admin-service
- profiles:
- # 环境配置
- active: dev
- cloud:
- nacos:
- discovery:
- # 服务注册地址
- server-addr: 192.168.3.12:8848
- # 命名空间
- namespace: ${spring.profiles.active}
- config:
- # 配置中心地址
- server-addr: 192.168.3.12:8848
- # 配置文件格式
- file-extension: yml
- # 共享配置
- shared-configs:
- - application.${spring.cloud.nacos.config.file-extension}
- # 命名空间
- namespace: ${spring.profiles.active}
- #ribbon的超时时间
- ribbon:
- ConnectTimeout: 60000 # 连接超时时间(ms)
- ReadTimeout: 60000 # 通信超时时间(ms)
- hystrix:
- command:
- default:
- execution:
- isolation:
- thread:
- timeoutInMillisecond: 60000 # 熔断超时时长:60000ms
|