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

Latest commit

 

History

History
48 lines (31 loc) · 832 Bytes

README.md

File metadata and controls

48 lines (31 loc) · 832 Bytes

localtunnel-server

Deploy localtunnel server with docker-compose.

Usage

Please install Docker and docker-compose first.

Make sure that port 3000/80/443 are free

Add A/CNAME record of your.domain and *.your.domain to your server.

echo 'DOMAIN=your.domain' > .env
docker-compose up -d
lt -h http(s)://your.domain --port <PORT>

Test in Local

Powered by xip.io

Remove --secure option in docker-compose.yml

echo 'DOMAIN=127.0.0.1.xip.io' > .env
docker-compose up -d
lt -h http://127.0.0.1.xip.io --port <PORT>

Optional

Enable HTTPS with Let's Encrypt:

./gen_ssl.sh -h

License

MIT