![](https://res.cloudinary.com/dhk2edkft/image/upload/v1551190170/nw7ovzfoayj097u8ipgd.jpg)
![](https://res.cloudinary.com/dhk2edkft/image/upload/v1551190175/fxsi2tcycbwlqorcvg7t.jpg)
![](http://pic.ipshop.xyz/wx/GLn5L6uwMGi.jpg)
![](https://res.cloudinary.com/dhk2edkft/image/upload/v1551190190/bnq6bxrlgezgzw9jl5l3.jpg)
consul agent -server -bootstrap -syslog \
-ui \
-data-dir=/opt/consul/data \
-dns-port=53
-recursor=10.211.55.3
-config-dir=/opt/consul/conf \
-pid-file=/opt/consul/run/consul.pid \
-client=10.211.55.4 \
-bind=10.211.55.4 \
-node=consul-server01 \
-disable-host-node-id &
![](http://pic.ipshop.xyz/wx/AGrzBumCzNZ.jpg)
![](https://res.cloudinary.com/dhk2edkft/image/upload/v1551190205/hvxyqjjtx4pqlwstqwrf.jpg)
![](https://res.cloudinary.com/dhk2edkft/image/upload/v1551190210/cfjc5nadwrs85uvo3p3k.jpg)
spring:
application:
name: @project.artifactId@
version: @project.version@
build: @buildNumber@
branch: @scmBranch@
cloud:
inetutils:
ignoredInterfaces:
- docker0
config:
server:
health.enabled: false
git:
uri: /opt/repos/config
searchPaths: 'common,{application}'
cloneOnStart: true
repos:
pay:
pattern: pay-*
cloneOnStart: true
uri: /opt/repos/example/config
searchPaths: 'common,{application}'
finance:
pattern: finance-*
cloneOnStart: true
uri: /opt/repos/finance/config
searchPaths: 'common,{application}'