proxy http and https requests to the appropriate container/service
1.1K
Simplistic reverse proxy to route HTTPS(443) and HTTP(80) connection to actual dockers
Usage of ./docker-sni-proxy:
-docker-network string
Specify the public network for docker
-host string
Specify the interface to listen to. (default "0.0.0.0")
-http-port int
Specify the port to listen to. (default 80)
-mode string
Specify the mode : stack, service (default "stack")
-tls-port int
Specify the port to listen to. (default 443)
MODE=service or MODE=stack modedocker-sni-proxy networkMODE=stack modeMODE=stack modeDOCKER_NETWORK=<public-network-name>docker-sni-proxy within your services with MODE=service (see docker-compose.test.yml)docker-sni-proxy will call docker-sni-proxy in a dedicated stack with MODE=stack<public-network-name>DOCKER_NETWORK=<public-network-name> (see docker-compose.yml)docker-sni-proxy will call STACK_SERVICEdocker-network=public for the proxy, labels: proxy=true for containers/serviceslabels: proxy-http-port=<port>labels: proxy-tls-port=<port>service. default remains stackContent type
Image
Digest
Size
4.3 MB
Last updated
about 8 years ago
docker pull davinci1976/docker-sni-proxy