spring-cloud some info/point

some info

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

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


 

1. 单个刷新config使用如下链接

http://localhost:8083/actuator/refresh

2.docker stop all

docker stop $(docker ps -aq)

3.  加入consul client

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

4. 创建overlay网络

docker network create -d overlay clover_net 

5. 创建swarm

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

原文地址:https://www.cnblogs.com/qingzhou/p/10113881.html