Skip to content

Instantly share code, notes, and snippets.

@lzimd
Created September 10, 2018 03:37
Show Gist options
  • Save lzimd/5aa282bf72e9d26bb69e2d04f30dd5dd to your computer and use it in GitHub Desktop.
Save lzimd/5aa282bf72e9d26bb69e2d04f30dd5dd to your computer and use it in GitHub Desktop.
spring cloud discovery
spring.cloud.zookeeper.discovery.enabled=true
spring.cloud.zookeeper.discovery.register=true
spring.cloud.zookeeper.discovery.preferIpAddress=true
spring.cloud.zookeeper.connectString=127.0.0.1:2181
spring.cloud.inetutils.ignoredInterfaces[0]=docker0
spring.cloud.inetutils.ignoredInterfaces[1]=veth.*
spring.cloud.inetutils.ignoredInterfaces[2]=VMware.*
spring.cloud.inetutils.ignoredInterfaces[3]=Npcap.*
spring:
cloud:
zookeeper:
connect-string: 127.0.0.1:2181
discovery:
enabled: true
register: true
preferIpAddress: true
inetutils:
ignoredInterfaces:
- docker0
- veth.*
- VMware.*
- Npcap.*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment