[Deprecated] ngrok-server
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 4 commits ahead, 1 commit behind deprecated.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Dockerfile
LICENSE
README.md
build.sh
run-client.sh
run-server.sh
run.sh

README.md

ngrok-server

Building the binaries

docker run -it -v /tmp/bin:/ngrok/bin \
    -e CA_CERT="`awk 1 ORS='\\n' <CA_CERT_FILE>`" \
    tutum/ngrok

Server and client binaries will be available in /tmp/bin on the host.

Running the server

docker run -d --net host \
    -e TLS_CERT="`awk 1 ORS='\\n' <TLS_CERT_FILE>`" \
    -e TLS_KEY="`awk 1 ORS='\\n' <TLS_KEY_FILE>`" \
    -e CA_CERT="`awk 1 ORS='\\n' <CA_CERT_FILE>`" \
    -e DOMAIN="your.domain" \
    tutum/ngrok

Environment Variables

TLS_CERT        TLS cert file for setting up tls connection
TLS_KEY         TLS key file for setting up tls connection
CA_CERT         CA cert file for compiling ngrok
DOMAIN          domain name that ngrok running on
TUNNEL_ADDR     address that ngrok server's control channel listens to, ":4443" by default
HTTP_ADDR       address that ngrok server's http tunnel listents to, ":80 by default"
HTTPS_ADDR      address that ngrok server's https tunnel listents to, ":80 by default"