1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- # Tomcat
- server:
- port: 9257
- 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-wps
- boot:
- admin:
- client:
- url: http://localhost:8989
- profiles:
- # 环境配置
- active: dev
- cloud:
- nacos:
- discovery:
- # 服务注册地址
- server-addr: 127.0.0.1:8848
- # 命名空间
- namespace: ${spring.profiles.active}
- username: nacos
- password: nacos
- config:
- # 配置中心地址
- server-addr: 127.0.0.1:8848
- # 配置文件格式
- file-extension: yml
- # 共享配置
- shared-configs:
- - application.${spring.cloud.nacos.config.file-extension}
- # 命名空间
- namespace: ${spring.profiles.active}
- username: ${spring.cloud.nacos.discovery.username}
- password: ${spring.cloud.nacos.discovery.password}
- 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: "*"
|