Skip to content

Instantly share code, notes, and snippets.

@migueldoctor
Last active May 8, 2019 15:47
Show Gist options
  • Save migueldoctor/11535f827e9caa1b3c39709ba6b59f7b to your computer and use it in GitHub Desktop.
Save migueldoctor/11535f827e9caa1b3c39709ba6b59f7b to your computer and use it in GitHub Desktop.
Configuration file for Eureka Server sample
#Application Name
spring:
application:
name: eureka-server
server:
port: 8761
eureka:
client:
#telling the server not to register himself in the service registry
registerWithEureka: false
fetchRegistry: false
serviceUrl:
defaultZone: http://localhost:8761/eureka
server:
waitTimeInMsWhenSyncEmpty: 0 #wait time for subsequent sync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment