| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- # 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=3000
- # 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
|