Sign inSign up

itwye/x-consul-template

By itwye

•Updated over 8 years ago

When the service has changed, the consul-template triggers to update the upstream pool.

Image
0

1.8K

itwye/x-consul-template repository overview

⁠x-consul-template

当consul服务有变动时,consul-template调用xtengine upstream api直接更新nginx upstream pool,而不需nginx -s reload.

⁠usage
docker run -d \ 

--add-host consul-client.xtengine.com:$consul-client-ip \

--add-host manage.xtengine.com:$xtengine-ip \

itwye/x-consul-template

Tag summary

Content type

Image

Digest

Size

18.6 MB

Last updated

over 8 years ago

docker pull itwye/x-consul-template