Skip to content

ksvirkou-hubspot/ngrok-tunnel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ngrok tunnel

HTTP tunnel service based on ngrok and docker.

Get the image

$ docker pull gtriggiano/ngrok-tunnel

...and use it

$ docker run -it  -e "TARGET_HOST=servicetotunnel" -e "TARGET_PORT=5000" -p 4040 gtriggiano/ngrok-tunnel

Env vars (options)

TARGET_HOST: mandatory

TARGET_PORT: mandatory

NGROK_REGION: one of [us, eu, ap, au], default us

Networking

The ngrok traffic inspection service and it's GUI are exposed on the port 4040 of the container.

Why?

When working on a project I often need to demo the functionality/design/whatever of the apps I'm working on, to some collegue.

I heavily use docker in my dev-to-production process to ensure the maximum portability of the software.

With ngrok-tunnel I can easily integrate an HTTP tunnel service in my docker-compose.yml(s), letting peoples connect via browser to my running-on-localhost apps from wherever they are!

About

HTTP tunnel service based on Ngrok

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 82.3%
  • Dockerfile 17.7%