Add Telebit Docker Compose setup

This commit is contained in:
Elias Renman
2026-06-25 15:00:08 +02:00
commit d02ad13f73
5 changed files with 105 additions and 0 deletions

22
.env.example Normal file
View File

@@ -0,0 +1,22 @@
# Build source for https://github.com/therootcompany/telebit.
TELEBIT_REF=master
# Host port published by Docker. Point external nginx upstreams here.
TELEBIT_PORT=8085
# Base domain assigned to devices, for example: device-a.devices.example.com.
DOMAIN=devices.example.com
# Public hostname clients use for the websocket tunnel.
TUNNEL_DOMAIN=tunnel.example.com
# Public hostname for the management API.
MGMT_DOMAIN=mgmt.devices.example.com
# Shared JWT secret for relay and management. Use at least 16 random chars.
SECRET=change-me-to-a-long-random-secret
# Internal postgres password.
POSTGRES_PASSWORD=change-me-postgres-password
VERBOSE=true