spetha:使用 etcd 和 specialone 生成的配置自动重新加载 HAproxy

时间:2021-06-10 11:23:56
【文件属性】:
文件名称:spetha:使用 etcd 和 specialone 生成的配置自动重新加载 HAproxy
文件大小:5KB
文件格式:ZIP
更新时间:2021-06-10 11:23:56
Go 斯佩莎 从分叉 + + 用法 # replace `` to yours ## run specialone for service discovery $ sudo docker run -d --net=host -v /var/run/docker.sock:/var/run/docker.sock -e SP_ETCD_HOST=:4001 elgniv/specialone ## run your webserver container (ex: luisbebop/docker-sinatra-hello-world) as SP_GROUP webserver $ sudo docker run -d -e SP_GROUP=webserver -P luisbebop/docker-sinatra-he
【文件预览】:
spetha-master
----.gitignore(23B)
----haproxy.cfg.tpl(538B)
----Dockerfile(84B)
----WAS_README.md(2KB)
----README.md(845B)
----hadiscover.go(2KB)
----etcd.go(1KB)
----haproxy.go(872B)

网友评论