All Projects → alexellis → inlets-heroku-tutorial

alexellis / inlets-heroku-tutorial

Licence: other
Run inlets on Heroku to tunnel local endpoints for free

Programming Languages

Dockerfile
14818 projects

Projects that are alternatives of or similar to inlets-heroku-tutorial

wikdict-gen
Generation of bilingual dictionaries from Wiktionary/dbnary data for the WikDict project
Stars: ✭ 32 (+52.38%)
Mutual labels:  free
analytics-js-without-segment
A toolset to use Segments open-source analytics library (analytics.js) WITHOUT using the paid Segment service (segment.com). To be used with your favorite analytics-tools like Google Analytics, Mixpanel, Hotjar, etc.
Stars: ✭ 47 (+123.81%)
Mutual labels:  free
MaterialToast
A fully and highly customizable material designed Toast for Android.
Stars: ✭ 31 (+47.62%)
Mutual labels:  free
simplecorp
SimpleCorp free Drupal theme
Stars: ✭ 24 (+14.29%)
Mutual labels:  free
fa5pro-downloader
A tool that allows you to download Font Awesome 5 Pro for free
Stars: ✭ 34 (+61.9%)
Mutual labels:  free
YouTube to m3u
Grab .m3u8 from YouTube live channels and makes .m3u IPTV Playlist from various languages and Events. Tamil / Malayalam / English / Hindi / French / Kids / Sports / Urudu etc.
Stars: ✭ 48 (+128.57%)
Mutual labels:  free
mySequelWeb
MySequel Web is an open source web based GUI tool to access your MySql database. It is similar to PHP My Admin of WAMP. Here you can access any MySQL database with proper connection strings. We do not save or store any of your connection strings or data. Every thing related to your connection strings are volatile. You can host this as a simple n…
Stars: ✭ 26 (+23.81%)
Mutual labels:  free
VPN
Personal vpn using v2ray and shadowsocks hosted on heroku
Stars: ✭ 154 (+633.33%)
Mutual labels:  free
crypto-convert
Instantly convert cryptocurrency and get price information
Stars: ✭ 26 (+23.81%)
Mutual labels:  free
Alis
Develop the video games of your dreams.
Stars: ✭ 17 (-19.05%)
Mutual labels:  free
thejsway
The JavaScript Way book
Stars: ✭ 7,660 (+36376.19%)
Mutual labels:  free
php-proxy
php proxy based on GoAgent protocal,Implemented by golang
Stars: ✭ 85 (+304.76%)
Mutual labels:  free
developer-free-saas
🕸️ A curated list Of Free Web-based Tools For Developers
Stars: ✭ 22 (+4.76%)
Mutual labels:  free
startbootstrap-business-frontpage
A Bootstrap HTML business homepage template created by Start Bootstrap
Stars: ✭ 177 (+742.86%)
Mutual labels:  free
aesto
Free Ghost theme with membership support. Minimal content focused design with multi author supported.
Stars: ✭ 31 (+47.62%)
Mutual labels:  free
zanime
Android app to watch anime vod online for free
Stars: ✭ 52 (+147.62%)
Mutual labels:  free
Resume-Maker
Resume Maker is tool where you can generate your resume for free. It has functionality like dynamic preview, color themes, responsive ,etc.
Stars: ✭ 40 (+90.48%)
Mutual labels:  free
netty-in-action-cn
Netty In Action 中文版
Stars: ✭ 1,389 (+6514.29%)
Mutual labels:  free
AuroraCMS
The Australian Open Source Content Management System
Stars: ✭ 13 (-38.1%)
Mutual labels:  free
yuuta
ⓦ A clean and free WordPress theme designed to serve as a visual diary
Stars: ✭ 20 (-4.76%)
Mutual labels:  free

inlets-heroku-tutorial

Run an inlets server on Heroku.

Conceptual diagram

inlets is a service tunnel and reverse proxy. It can be used to punch out local endpoints to another network, or the Internet.

See inlets/inlets on GitHub.

Deployment

In order to run inlets on Heroku, you can use the container image facility and then set an auth token using Heroku's environment variable store. There is no need to rebuild the whole container from scratch, just inherit the official image and override the CMD.

Push a container image

  • Log into your dahsboard, create an app and get the CLI:

https://dashboard.heroku.com

  • Login:
heroku container:login
  • Deploy:
heroku container:push web -a my-inlets
heroku container:release web -a my-inlets
heroku restart web -a my-inlets
  • Set auth token
export TOKEN=$(head -c 16 /dev/urandom | shasum | cut -f1 -d" ")
echo "Token is: ${TOKEN}"

export HEROKU_APP=my-inlets

heroku config:set TOKEN=${TOKEN} --app $HEROKU_APP
echo $TOKEN > token
  • Run a test server
mkdir -p /tmp/inlets
cd /tmp/inlets
uname > README.md
python -m SimpleHTTPServer
  • Connect the inlets client
export HEROKU_APP="my-inlets"

inlets client \
  --remote wss://${HEROKU_APP}.herokuapp.com \
  --token $(cat token) \
  --upstream http://127.0.0.1:8000
  • Now test the tunnel:
https://${HEROKU_APP}.herokuapp.com/
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].