summaryrefslogtreecommitdiff
path: root/deploy/env.example
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/env.example')
-rw-r--r--deploy/env.example27
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