Skip to content
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.

Latest commit

 

History

History
19 lines (15 loc) · 464 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 464 Bytes

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