# Tomcat server: port: 8088 servlet: context-path: # Spring spring: application: # 应用名称 name: jeeplus-gateway boot: admin: client: url: http://localhost:8989 profiles: # 环境配置 active: dev main: allow-bean-definition-overriding: true cloud: nacos: discovery: # 服务注册地址 server-addr: 127.0.0.1:8848 # 命名空间 namespace: ${spring.profiles.active} ip: 127.0.0.1 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 #ribbon的超时时间 ribbon: # read-timeout: 60000 失效参数 # connect-timeout: 60000 失效参数 ReadTimeout: 600000 ConnectTimeout: 600000 hystrix: command: default: execution: isolation: thread: timeoutInMillisecond: 60000 # 熔断超时时长:60000ms management: endpoints: web: exposure: include: "*"