docker service create \
--name haproxy \
--network haproxy \
--publish 80:80 \
--publish 443:443 \
--env HTTPS_nginx=nginx.local,127.0.0.1:80 \
--env HTTPS_REDIRECT_www=www.nginx.local;nginx.local;301;https \
--mount type=volume,source=HAPROXY_CERTS,destination=/usr/local/etc/haproxy/certs \
grachev/swarm-haproxy
Content type
Image
Digest
Size
9.8 MB
Last updated
about 8 years ago
docker pull grachev/swarm-haproxy