diff options
Diffstat (limited to 'README.rst')
| -rw-r--r-- | README.rst | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..8688b23 --- /dev/null +++ b/README.rst | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | =========== | ||
| 2 | TTUN Server | ||
| 3 | =========== | ||
| 4 | |||
| 5 | |Release| | ||
| 6 | |||
| 7 | .. |Release| image:: https://github.com/tomvanderlee/ttun-server/actions/workflows/docker-image.yml/badge.svg | ||
| 8 | :target: https://github.com/tomvanderlee/ttun-server/actions/workflows/docker-image.yml | ||
| 9 | |||
| 10 | The self-hostable proxy tunnel. | ||
| 11 | |||
| 12 | Running | ||
| 13 | ------- | ||
| 14 | |||
| 15 | Running:: | ||
| 16 | |||
| 17 | docker run -e TUNNEL_DOMAIN=<Your tunnel domain> -e SECURE=<True if using SSL> ghcr.io/tomvanderlee/ttun-server:latest | ||
| 18 | |||
| 19 | |||
| 20 | Environment variables: | ||
| 21 | |||
| 22 | +----------------+-----------------------------------------------------------------------------------------------------------------+--------------+ | ||
| 23 | | Variable | Description | Valid Value | | ||
| 24 | +================+=================================================================================================================+==============+ | ||
| 25 | | TUNNEL_DOMAIN | The domain your tunnel server is hosted on. Any individual tunnels will be hosted as a subdomain of this one. | FQDN | | ||
| 26 | +----------------+-----------------------------------------------------------------------------------------------------------------+--------------+ | ||
| 27 | | SECURE | Set this value to True if you are hosting the tunnel with SSL. If not leave this variable out | | | ||
| 28 | +----------------+-----------------------------------------------------------------------------------------------------------------+--------------+ | ||
| 29 | |||
| 30 | Developing | ||
| 31 | ---------- | ||
| 32 | |||
| 33 | 1. Create and activate a python 3.10 virtual environment | ||
| 34 | |||
| 35 | 2. Install requirements:: | ||
| 36 | |||
| 37 | pip install -r requirements.txt | ||
| 38 | |||
| 39 | 3. Run:: | ||
| 40 | |||
| 41 | uvicorn ttun_server:server --reload | ||
