.env.dist 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # --- Ricochet configuration start here
  2. # Ricochet server port and host
  3. # Change this if you need external access
  4. SERVER_PORT=4050
  5. SERVER_HOST=localhost
  6. # Configure the JSON store backend
  7. # Available backends: memory, nedb, mongodb
  8. # Use nedb or mongodb for persistent storage
  9. # Memory store is lost when the server is stopped
  10. JSON_STORE_BACKEND=memory
  11. # Uncomment if you use the nedb store backend
  12. #NEDB_DIRNAME=/path/to/data # Any path where Nedb databases will be stored
  13. # Uncomment if you use the mongodb JSON store backend
  14. #MONGODB_URI=
  15. #MONGODB_DATABASE=
  16. # Configure the file store backend
  17. # Available backend: memory, disk or s3
  18. # Memory store is lost when the server is stopped
  19. FILE_STORE_BACKEND=memory
  20. # Disk file storage configuration
  21. # Uncomment for 'disk' file storage
  22. #DISK_DESTINATION=/path/to/dir/
  23. # S3 storage configuration
  24. # Uncomment the following lines if you want to use 's3' backend storage
  25. #S3_ACCESS_KEY=
  26. #S3_SECRET_KEY=
  27. #S3_ENDPOINT=
  28. #S3_BUCKET=
  29. #S3_REGION=
  30. #S3_PROXY=
  31. #S3_CDN=
  32. #S3_SIGNED_URL=
  33. # Should be a unique long key here
  34. RICOCHET_SECRET=YourSuperSecretHere
  35. # Smtp server configuration
  36. # If you let the fake host, sent mails are displayed in the console.
  37. EMAIL_HOST=fake
  38. EMAIL_PORT=
  39. EMAIL_USER=
  40. EMAIL_PASSWORD=
  41. EMAIL_FROM=
  42. # --- Ricochet configuration ends here
  43. # Wire.io port configuration
  44. WIREIO_PORT=4051
  45. # Secret key generated by Ricochet.js when you've registered the site.
  46. RICOCHET_SITE_KEY=
  47. # To show better logs set to 1 (then use npm run ricochetjs:pino)
  48. USE_PINO=0