Skip to content
/ proxy Public

Simple HTTP/WebSocket proxy used access lab environment

License

Notifications You must be signed in to change notification settings

flowqio/proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

proxy

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

how to install

go get -u github.com/flowqio/proxy

dep ensure

go build

./proxy

how is work

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.

Docker image

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

About

Simple HTTP/WebSocket proxy used access lab environment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages