• This repository has been archived on 24/Mar/2020
  • Stars
    star
    112
  • Rank 312,240 (Top 7 %)
  • Language
    Shell
  • Created over 8 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Deploy ngrok server and build client use docker

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