summaryrefslogtreecommitdiffstats
path: root/README.rst
diff options
context:
space:
mode:
authorGravatar Tom van der Lee <tom@vanderlee.io>2021-12-30 10:16:41 +0100
committerGravatar Tom van der Lee <tom@vanderlee.io>2022-01-09 13:00:48 +0100
commit46af86f8ace136dd1d1d94590d3423e6b12e3f7b (patch)
treef190663cd8202c7bc7034adbf9dabd7da293082c /README.rst
downloadserver-1.0.0.tar.gz
server-1.0.0.tar.bz2
server-1.0.0.zip
Prepare for githubv1.0.0
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst41
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===========
2TTUN 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
10The self-hostable proxy tunnel.
11
12Running
13-------
14
15Running::
16
17 docker run -e TUNNEL_DOMAIN=<Your tunnel domain> -e SECURE=<True if using SSL> ghcr.io/tomvanderlee/ttun-server:latest
18
19
20Environment 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
30Developing
31----------
32
331. Create and activate a python 3.10 virtual environment
34
352. Install requirements::
36
37 pip install -r requirements.txt
38
393. Run::
40
41 uvicorn ttun_server:server --reload