The self-hostable proxy tunnel.
Running:
docker run -e TUNNEL_DOMAIN=<Your tunnel domain> -e SECURE=<True if using SSL> ghcr.io/tomvanderlee/ttun-server:latest
Environment variables:
Variable | Description | Valid Value |
---|---|---|
TUNNEL_DOMAIN | The domain your tunnel server is hosted on. Any individual tunnels will be hosted as a subdomain of this one. | FQDN |
SECURE | Set this value to True if you are hosting the tunnel with SSL. If not leave this variable out | |
REDIS_URL | [OPTIONAL] Adding a redis url allows to scale this application and loadbalance the connection between multiple instances |
Create and activate a python 3.10 virtual environment
Install requirements:
pip install -r requirements.txt
Run:
uvicorn ttun_server:server --reload