Giter VIP home page Giter VIP logo

inlets-compose's Introduction

inlets-compose

Docker Compose Config for Inlets (behind Traefik as reverse proxy)

Create .env file (cp .env.sample .env) and replace example.com with your domain and super_secret_token with your token, you can generate one with head -c 16 /dev/urandom | shasum | cut -d' ' -f1

Then to expose local port run, say 8000:

inlets client --upstream=http://127.0.0.1:8000 --remote=wss://[example.com] --token=[token]

inlets-compose's People

Contributors

kumekay avatar

Stargazers

Yashodhan avatar

Watchers

 avatar James Cloos avatar

inlets-compose's Issues

The token generate command error

OS:Debian Buster/10

In Shell:

$ pwd
/home/userx
$ head -c 16 /dev/urandom | shasum | cut -d\" \" -f1
cut: '"': No such file or directory

Try:

$ head -c 16 /dev/urandom | shasum | cut -d"=" -f2
c8aa0836f7a4030ee4b493a56854fd02792f9d51

Consider implementing traefik-based multiple ports feature

This is an introduction to inlets.

My understanding of this article is that an inlets service (a container) can correspond to multiple clients, and multiple clients can be distinguished according to different subdomains.

This also confirms my judgment.

I guess it may need to be implemented based on the label in the compose file.
Please consider updating your code, it will be very beneficial to those who use it.

Thanks for your contribution, your code was very helpful to me.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.