.env.example 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # Copy to .env for local dev (`npm run dev` loads it). .env is gitignored.
  2. # In production set these through the service manager instead.
  3. #
  4. # Replaces the old config.js / config-dev.js pair.
  5. # Port the node process listens on. Behind nginx this stays internal.
  6. PORT=3000
  7. # Where the app is mounted. Empty = domain root.
  8. # Set to /radio to serve at davidawindham.com/radio.
  9. BASE_PATH=
  10. # Reverse proxies in front of the app. Behind one nginx, use 1.
  11. # Leave empty when running directly.
  12. TRUST_PROXY=
  13. # Default chat room everyone lands in.
  14. MAIN_ROOM=Lobby
  15. # Icecast. Must be https:// -- an http:// stream is blocked as mixed content
  16. # on a TLS page.
  17. STREAM_URL=https://stream.davidawindham.com/stream
  18. STREAM_STATUS_URL=https://stream.davidawindham.com/status-json.xsl
  19. STREAM_MOUNT=/stream
  20. # Optional. Unset = single process, no Redis needed.
  21. # Set = socket.io Redis adapter, so multiple processes share rooms/presence.
  22. # REDIS_URL=redis://:password@127.0.0.1:6379
  23. # NOT authentication -- gates a modal and nothing else. See the /other route
  24. # in app.js. Real auth still needs doing before this goes on a public domain.
  25. ROOM_PASSWORD=stillgame
  26. # Emits a test broadcast every 60s.
  27. DEBUG=false
  28. # Last.fm sidebar. Proxied via /api/lastfm so the key never reaches the client.
  29. # Unset => the sidebar lists stay empty.
  30. LASTFM_API_KEY=
  31. LASTFM_USER=windhamdavid
  32. # Local dev only. index.html loads the shared site chrome from /embed/chrome.js,
  33. # which Apache serves from the WP docroot in production. Locally there's no
  34. # Apache in front of node, so point this at the main site to proxy it.
  35. # Leave UNSET in production.
  36. # DAW_ORIGIN=http://daw.stu