Skip to content

Instantly share code, notes, and snippets.

@dnaprawa
Last active June 25, 2020 08:45
Show Gist options
  • Save dnaprawa/3ac87648126c91d262785a61b32c6fba to your computer and use it in GitHub Desktop.
Save dnaprawa/3ac87648126c91d262785a61b32c6fba to your computer and use it in GitHub Desktop.
# Publish Your App to the Internet using Ngrok
@dnaprawa
Copy link
Author

dnaprawa commented Jun 25, 2020

docker network create -d bridge ngrok-network
docker container run -d -p 8080:80 --network ngrok-network --name mynginx nginx:1.17.1
docker container  run -d -p 4040:4040  --network ngrok-network --name ngrok wernight/ngrok ngrok http mynginx:80

You can access Ngrok monitor now at http://localhost:4040/inspect/http

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment