.env.example 1.0 KB

1234567891011121314151617181920212223242526
  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 ENV switch in public/javascripts/app.js, which hardcoded the
  5. # host and port into the client bundle and had to be edited by hand per deploy.
  6. # Port the node process listens on. Behind Apache this stays internal.
  7. PORT=8181
  8. # Where the app is mounted. Empty = domain root.
  9. # Set to /chess to serve at davidwindham.com/chess.
  10. BASE_PATH=/chess
  11. # Reverse proxies in front of the app. Behind one Apache, use 1.
  12. # Leave empty when running node directly.
  13. TRUST_PROXY=1
  14. # Where GET /logs reads from, and where winston writes game counts.
  15. # Defaults to ./logs/games.log (gitignored).
  16. # LOG_FILE=
  17. # Local dev only. The layout loads the shared site chrome from /embed/chrome.js,
  18. # which Apache serves from the WP docroot in production. Set this only when you
  19. # hit node directly on :8181 with no Apache in front, so it can proxy /embed.
  20. # Leave UNSET in production.
  21. # DAW_ORIGIN=http://daw.stu