Skip to content

Instantly share code, notes, and snippets.

@daog1
Last active January 16, 2016 03:53
Show Gist options
  • Save daog1/58f823240be3307cdc6d to your computer and use it in GitHub Desktop.
Save daog1/58f823240be3307cdc6d to your computer and use it in GitHub Desktop.
spring cloud config server
server:
port: 8888
eureka:
client:
registerWithEureka: false
fetchRegistry: false
server:
waitTimeInMsWhenSyncEmpty: 0
spring:
cloud:
config:
server:
git:
uri: ${user.dir}/config-repo/
clone-on-start: True
logging:
levels:
org.springframework.boot.env.PropertySourcesLoader: TRACE
org.springframework.cloud.config.server: DEBUG
spring:
cloud:
config:
uri: http://localhost:${config.port:8888}
application:
name: foo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment