Skip to content
Deploy localtunnel server with docker-compose
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
SSLs
.gitignore
README.md
docker-compose.yml
gen_ssl.sh

README.md

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

You can’t perform that action at this time.