Simple HTTP/WebSocket proxy used access lab environment
This project use default golang http libaray, so have some performance issue, in the future should be changed.
flowqio/proxy use dep as default golang package manage tool.
proxy need access docker.sock (default docker access endpoint)
proxy is flowq compoent , deployed every env host through k8s as DaemonSet
go get -u github.com/flowqio/proxy
dep ensure
go build
./proxy
The endpoint follow spec rule :
http|https://{{ container id [:16]}}-{{ export port }}-{{env cluster}}.env.flowq.io
When proxy accept brower/client request , it will check local docker and proxy all data.
cd images docker build -t .
or :
docker pull flowq/proxy docker run -d -P -v /var/run/docker.sock:/var/run/docker.sock flowq/proxy