代码拉取完成,页面将自动刷新
info:
description: Spring Cloud Samples
url: https://github.com/spring-cloud-samples
eureka:
client:
serviceUrl:
defaultZone: http://localhost:8761/eureka/
---
spring:
profiles: cloud
cloud:
config:
uri: ${vcap.services.${PREFIX:}configserver.credentials.uri:http://user:password@${PREFIX:}configserver.${application.domain:cfapps.io}}
oauth2:
client:
tokenUri: ${vcap.services.${PREFIX:}sso.credentials.tokenUri:}
authorizationUri: ${vcap.services.${PREFIX:}sso.credentials.authorizationUri:}
clientId: ${vcap.services.${PREFIX:}sso.credentials.clientId:}
clientSecret: ${vcap.services.${PREFIX:}sso.credentials.clientSecret:}
resource:
tokenInfoUri: ${vcap.services.${OAUTH2_RESOURCE_SERVICEID:${oauth2.resource.serviceId:sso}}.credentials.tokenInfoUri:}
serviceId: ${PREFIX:}resource
application:
domain: ${APPLICATION_DOMAIN:cfapps.io}
endpoints:
restart: enabled
eureka:
password: password
instance:
hostname: ${vcap.application.uris[0]:localhost}
nonSecurePort: 80
client:
serviceUrl:
defaultZone: ${vcap.services.${PREFIX:}eureka.credentials.uri:http://user:${eureka.password:}@${PREFIX:}eureka.${application.domain:cfapps.io}}/eureka/
hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds: 60000
ribbon:
ConnectTimeout: 3000
ReadTimeout: 60000
---
spring:
profiles: docker
cloud:
config:
uri: http://${CONFIGSERVER_1_PORT_8888_TCP_ADDR:localhost}:8888
endpoints:
restart: enabled
eureka:
instance:
nonSecurePort: 80
preferIpAddress: true
client:
serviceUrl:
defaultZone: http://${EUREKA_1_PORT_8761_TCP_ADDR:localhost}:8761/eureka/
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。