Angel.SR3을 사용하기 전에 검색 및 설정 서버를 시작할 수 있으며 설정 서버는 http://localhost:8761에 있습니다. Brixton 릴리스로 마이그레이션 한 후 동일한 구성 서버 속성이 더 이상 작동하지 않습니다. 는 config 서버 application.yml :spring cloud Brixton.RELEASE 설정 서버
server:
port: 8099
spring:
cloud:
config:
server:
native:
search-locations: classpath:/config
bootstrap.yml
spring:
application:
name: config
eureka:
instance:
non-secure-port: ${server.port:8099}
metadata-map:
instanceId: ${spring.application.name}:${random.value}
client:
service-url:
defaultZone: http://${eureka.host:localhost}:${eureka.port:8761}/eureka/
발견 서버 application.yml
server:
port: 8761
eureka:
instance:
hostname: localhost
client:
register-with-eureka: false
fetch-registry: false
어느 하나는 척 릴리스에 대한 실행 가능한 데모를 가지고? 그것이 내가이 자리에 Camden
이 도움이된다면
발견 서버 구성 application.yml – richard