0
点赞
收藏
分享

微信扫一扫

Go + cousul 治理微服务(cousul 安装)【二】


Go + cousul 治理微服务(cousul 安装)【二】_Go

consoul 是微服务服务于发现,其他的不多说了

Docker安装

docker pull consul:latest

启动

docker run -d -p 8500:8500 consul:latest

我们访问本地地址 端口8500 的就可以看到上图的效果了

下面我们需要做的是往 consul 注册服务

git commit  -m "consul 安装"

源码

​​https://github.com/liaoshengping/Go-Consul-Demo​​


举报

相关推荐

0 条评论