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

Deploy localtunnel server with docker-compose

Notifications You must be signed in to change notification settings

x-orpheus/localtunnel-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages