Sign inSign up

rlagutinhub/docker_swarm-mode.haproxy-test

By rlagutinhub

Updated almost 9 years ago

The image is used to test the work swarm-mode.haproxy-balancer reverse proxy in Docker Swarm Mode.

Image
2

1.6K

rlagutinhub/docker_swarm-mode.haproxy-test repository overview

https://github.com/rlagutinhub/docker_swarm-mode.haproxy-test


Manual install
git clone https://github.com/rlagutinhub/docker_swarm-mode.haproxy-test.git
cd docker_swarm-mode.haproxy-test

Docker Image:

docker build -t rlagutinhub/docker_swarm-mode.haproxy-test:201711111920 .

Docker network:

docker network create -d  overlay  haproxy-balancer_prod

Docker service:

docker service create --detach=false \
 --name haproxy-test \
 -e PORTS="8080, 8081, 8443, 8444, 10001, 10002" \
 --network haproxy-balancer_prod \
 --constraint "node.role != manager" \
 rlagutinhub/docker_swarm-mode.haproxy-test:201711111920
ADD Publish Ports
docker service update --detach=false \
 haproxy-test \
 --publish-rm 80/tcp \
 --publish-add published=8080,target=8080,protocol=tcp \
 --publish-add published=8081,target=8081,protocol=tcp \
 --publish-add published=8443,target=8443,protocol=tcp \
 --publish-add published=8444,target=8444,protocol=tcp \
 --publish-add published=10001,target=10001,protocol=tcp \
 --publish-add published=10002,target=10002,protocol=tcp
RM Publish Ports
docker service update --detach=false \
 haproxy-test \
 --publish-rm 8080/tcp \
 --publish-rm 8081/tcp \
 --publish-rm 8443/tcp \
 --publish-rm 8444/tcp \
 --publish-rm 10001/tcp \
 --publish-rm 10002/tcp

Tag summary

Content type

Image

Digest

Size

267.2 MB

Last updated

almost 9 years ago

docker pull rlagutinhub/docker_swarm-mode.haproxy-test:201711111920