Sign inSign up

joppsdev/ngrok

By joppsdev

Updated over 4 years ago

Ngrok image

Image
0

301

joppsdev/ngrok repository overview

Command for starting the container with version 1.0.0:

  • docker run -d --net [NETWORK-NAME] --name ngrok -e "TARGET_HOST=[CONTAINER-NAME]" -e "TARGET_PORT=[CONTAINER-PORT]" -p 4040:4040 joppsdev/ngrok:1.0.0

Command for starting the container with version 2.0.0:

  • docker run -d --net [NETWORK-NAME] --name ngrok -e "NGROK_AUTHTOKEN=[AUTHTOKEN]" -p 4040:4040 joppsdev/ngrok:2.0.0 http [CONTAINER-NAME]:[CONTAINER-PORT]

AUTHTOKEN -> token generated in your NGROK account

NETWORK-NAME -> name of the network where you want the ngrok container to be

CONTAINER-NAME -> name of the container which you want to make public (needs to be the name from inside the network provided above)

CONTAINER-PORT-> port of the container which you want to make public (needs to be the port from inside the network provided above)

Tag summary

Content type

Image

Digest

Size

55.9 MB

Last updated

over 4 years ago

docker pull joppsdev/ngrok