Public | Automated Build

Last pushed: a year ago
Short Description
ngrok-server http://www.tutum.co
Full Description

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"
Docker Pull Command
Owner
mingzeke
Source Repository

Comments (0)