consul配置

参考:https://blog.csdn.net/achenyuan/article/details/80389410

consul安装目录:/usr/local/bin/consul
consul配置目录:

1.quick-start: consul agent -dev -http-port 8888 -ui -client 0.0.0.0
-dev 开发模式
-http-port 暴露http端口
-ui 开启consulUI 默认开启
-client 0.0.0.0 允许公网访问

访问 ip:8888/可以看到consul主界面

猜你喜欢

转载自www.cnblogs.com/xiaohan970121/p/11609090.html