diff options
| author | skylar <me@casper> | 2026-11-01 05:43:24 -0800 |
|---|---|---|
| committer | skylar <me@casper> | 2026-11-01 05:43:24 -0800 |
| commit | e69ad01e700e80fa959dfee08cd556ca0d777ffd (patch) | |
| tree | 645fc9db2142e87a5ef302733a77ba2fec848d88 /deploy/env.example | |
Yesod: self-hosted WebXR rooms
Start a room in a world and hang out in VR from the headset's browser:
A-Frame + Networked-A-Frame over EasyRTC, with a coturn relay that can hide
everyone's IP address. Ships with the Campfire, Temple, Cabin, Balcony and
Test room worlds.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'deploy/env.example')
| -rw-r--r-- | deploy/env.example | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/deploy/env.example b/deploy/env.example new file mode 100644 index 0000000..eec947f --- /dev/null +++ b/deploy/env.example @@ -0,0 +1,27 @@ +# The app's settings: copy to /etc/yesod/env (mode 640, root:yesod). Every +# line is optional except the two TURN lines, which turn on the relay that +# "Hide my IP address" needs. + +# Where the app listens. nginx proxies to it. +#HOST=127.0.0.1 +#PORT=8095 + +# The relay (coturn). TURN_SECRET must match static-auth-secret in +# /etc/turnserver.conf; make one with: openssl rand -hex 32 +TURN_SECRET= +TURN_URLS=turn:example.org:3478?transport=udp,turn:example.org:3478?transport=tcp +STUN_URLS=stun:example.org:3478 + +# What the lobby calls the site. +#SITE_NAME=Yesod + +# Where the worlds' sky is drawn from, in degrees (north and east positive). +# The default is Greenwich. +#SKY_LATITUDE=51.4769 +#SKY_LONGITUDE=-0.0005 + +# Limits (see README.md). Keep coturn's quotas in step if you raise them. +#MAX_PEOPLE=8 +#MAX_ROOMS=10 +#MAX_CONNECTIONS=60 +#MAX_CONNECTIONS_PER_IP=6 |