Add turn server
This commit is contained in:
parent
42fe8e2067
commit
d38aeb2f44
6 changed files with 163 additions and 9 deletions
19
.env.example
19
.env.example
|
|
@ -49,3 +49,22 @@ LOG_REQUESTS=false
|
|||
# Get a key at: https://aistudio.google.com/apikey
|
||||
# ==============================================================================
|
||||
GEMINI_API_KEY=
|
||||
|
||||
# ==============================================================================
|
||||
# OPTIONAL - TURN Server (REQUIRED for cross-network multiplayer)
|
||||
# Without TURN, players behind restrictive NATs/firewalls cannot connect.
|
||||
#
|
||||
# Option A: Self-hosted coturn (see docker-compose.turn.yml)
|
||||
# 1. Edit turnserver.conf (set external-ip, realm, user password)
|
||||
# 2. docker compose -f docker-compose.turn.yml up -d
|
||||
# 3. Set values below to match turnserver.conf
|
||||
# VITE_TURN_URL=turn:your-server-ip:3478
|
||||
# VITE_TURN_USERNAME=kaboot
|
||||
# VITE_TURN_CREDENTIAL=your-password-from-turnserver-conf
|
||||
#
|
||||
# Option B: Metered.ca free tier (500GB/mo)
|
||||
# Get credentials at: https://www.metered.ca/tools/openrelay/
|
||||
# ==============================================================================
|
||||
VITE_TURN_URL=
|
||||
VITE_TURN_USERNAME=
|
||||
VITE_TURN_CREDENTIAL=
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue