spring-cloud some info/point

some infojavascript

spylt web hook origin address: http://857de242.ngrok.io/splyt

http://87ebe95c.ngrok.io -- port : 9000 


 

 

1. 單個刷新config使用以下連接java

http://localhost:8083/actuator/refreshnode

 

2.docker stop allweb

docker stop $(docker ps -aq)docker

 

3.  加入consul client網絡

consul agent -client=0.0.0.0 -data-dir=/Users/pangjingbo/ -node=clover_consul_client  -ui -join 10.0.2.175ui

 

4. 建立overlay網絡spa

docker network create -d overlay clover_net code

 

5. 建立swarmserver

docker swarm init --advertise-addr 10.0.2.212

 

"cluster-store" : "consul:10.0.2.175:8500",
"cluster-advertise" : "10.0.2.212:2375"

 

6.local join

consul agent -client=0.0.0.0 -bind=10.0.3.157 -data-dir=/Users/pangjingbo/Application/consul_data  -node=clover_test -ui -join 54.254.175.161

 

consul agent -server -client=0.0.0.0 -bind=10.0.3.157 -data-dir=/Users/pangjingbo/Application/consul_data -ui  -node=clover_server

相關文章
相關標籤/搜索