Skip to content

Instantly share code, notes, and snippets.

@melardev
Created February 21, 2019 13:52
Show Gist options
  • Save melardev/8e5c6cc71122d06d9ac897e237421900 to your computer and use it in GitHub Desktop.
Save melardev/8e5c6cc71122d06d9ac897e237421900 to your computer and use it in GitHub Desktop.
Application yaml file Ribbon Tutorial melardev.com
spring:
application:
name: ribbon-service
server:
port: 8081
rest-server:
ribbon:
eureka: true # By default Ribbon will get the actively running microservices from Eureka, let's disable that strategy
# listOfServers: localhost:8080 #, localhost:9003, localhost:9004
serverListRefreshInterval: 5000
eureka:
client:
fetch-registry: true
service-url:
defaultZone: http://localhost:8761/eureka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment