Deploy ngrok server and build client use docker
Switch branches/tags
Nothing to show
Clone or download
hteen
hteen 编译客户端
Linux 平台 32 位系统:GOOS=linux GOARCH=386
Linux 平台 64 位系统:GOOS=linux GOARCH=amd64

Windows 平台 32 位系统:GOOS=windows GOARCH=386
Windows 平台 64 位系统:GOOS=windows GOARCH=amd64

MAC 平台 32 位系统:GOOS=darwin GOARCH=386
MAC 平台 64 位系统:GOOS=darwin GOARCH=amd64

ARM 平台:GOOS=linux GOARCH=arm
Latest commit 1d66923 Dec 2, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile fix bug Oct 16, 2016
README.md edit readme Oct 16, 2016
build.sh 编译客户端 Dec 1, 2016
docker-compose.yml fix bug Oct 16, 2016
server.sh fix bug Oct 16, 2016

README.md

DOCKER NGROK IMAGE

BUILD IMAGE

git clone https://github.com/hteen/docker-ngrok.git
cd docker-ngrok
docker build -t hteen/ngrok .

RUN

  • you must mount your folder (E.g /data/ngrok) to container /myfiles
  • if it is the first run, it will generate the binaries file and CA in your floder /data/ngrok
docker run -idt --name ngrok-server \
-v /data/ngrok:/myfiles \
-e DOMAIN='tunnel.hteen.cn' hteen/ngrok /bin/sh /server.sh