server: port: 8192 eureka: instance: hostname: eureka-server preferIpAddress: true client: registerWithEureka: false #是否将自己注册到Eureka-Server中,默认的为true fetchRegistry: false #是否从Eureka-Server中获取服务注册信息,默认为true serviceUrl: defaultZone: http://${EUREKA_URL:localhost}:${server.port}/eureka/ server: enable-self-preservation: false #是否开启自我保护模式 eviction‐interval‐timer‐in‐ms: 10000 #服务注册表清理间隔(单位毫秒,默认是60*1000) management: endpoints: web: exposure: include: '*' endpoint: health: show-details: always metrics: tags: application: eureka