Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
48 lines (38 loc) · 1.67 KB
/
Copy path.env.example
File metadata and controls
48 lines (38 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Copy to .env for local dev (`npm run dev` loads it). .env is gitignored.
# In production set these through the service manager instead.
#
# Replaces the old config.js / config-dev.js pair.
# Port the node process listens on. Behind nginx this stays internal.
PORT=3002
# Where the app is mounted. Empty = domain root.
# Set to /radio to serve at davidawindham.com/radio.
BASE_PATH=
# Reverse proxies in front of the app. Behind one nginx, use 1.
# Leave empty when running directly.
TRUST_PROXY=
# Default chat room everyone lands in.
MAIN_ROOM=Lobby
# Icecast. Must be https:// -- an http:// stream is blocked as mixed content
# on a TLS page.
STREAM_URL=https://stream.davidawindham.com/stream
STREAM_STATUS_URL=https://stream.davidawindham.com/status-json.xsl
STREAM_MOUNT=/stream
# Optional. Unset = single process, no Redis needed.
# Set = socket.io Redis adapter, so multiple processes share rooms/presence.
# REDIS_URL=redis://:password@127.0.0.1:6379
# Emits a test broadcast every 60s.
DEBUG=false
# Last.fm sidebar. Proxied via /api/lastfm so the key never reaches the client.
# Unset => the sidebar lists stay empty.
LASTFM_API_KEY=
LASTFM_USER=windhamdavid
# Local dev only. index.html loads the shared site chrome from /embed/chrome.js,
# which Apache serves from the WP docroot in production. Locally there's no
# Apache in front of node, so point this at the main site to proxy it.
# Leave UNSET in production.
# DAW_ORIGIN=http://daw.stu
# the-ham.org live video (nginx-rtmp -> HLS), proxied via /api/live. Defaults
# point at the-ham.org; override only if the host/paths change.
# HAM_STAT_URL=https://the-ham.org/stat.xml
# HAM_HLS_BASE=https://the-ham.org/stream/hls/
# HAM_APP=live