Sign inSign up

3846masa/ngrokd

By 3846masa

Updated almost 10 years ago

Make your private ngrok with Docker. Support CloudFlare Universal SSL.

Image
0

1.3K

3846masa/ngrokd repository overview

ngrokd

Product Page

DockerHub

Client Usage

Get client ngrok

Pull 3846masa/ngrok and make release-client (Recommended).

Or download from GitHub Releases.

Settings

Make file $HOME/.ngrok, write settings and rewrite server_addr.

server_addr: example.com:4443
trust_host_root_certs: false

Server Usage

Env
ENVDescriptionRequired
VHOST_NAMEBased domain. (e.g. *.example.com -> example.com)Required
CF_API_KEYCloudFlare API key (See below)Optional
CF_API_EMAILCloudFlare API email (See below)Optional
VIRTUAL_HOSTnginx-proxy config. (e.g. *.example.com)Optional
VIRTUAL_PORTnginx-proxy config. (Recommend: 80)Optional
HTTPS_METHODnginx-proxy config. (Recommend: noredirect)Optional
Using Docker CLI
Simple
$ docker run -e VHOST_NAME=example.com 3846masa/ngrokd
Advanced
$ docker run 3846masa/ngrokd ngrokd -domain=example.com -log-level=WARNING [...opts]
Using Docker Compose

Edit docker-compose.yml and Run docker-compose up -d.

DNS Settings

Set *.example.com (A/CNAME) Record to your server.

CloudFlare API

When client send -subdomain option, this image can setup CloudFlare Universal SSL automatically.

Using CloudFlare Universal SSL, you should do the following settings.

Crypto
  • When you use Flexible SSL, you can access via SSL only.
  • If you will access HTTP, please use Full SSL.
API Key

LICENSE

(c) 3846masa MIT

Author

3846masa 3846masa

Tag summary

Content type

Image

Digest

Size

72.3 MB

Last updated

almost 10 years ago

docker pull 3846masa/ngrokd