.env.dist 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # Server port and host
  2. SERVER_PORT=3001
  3. SERVER_HOST=localhost
  4. # External URL to access server API
  5. SERVER_URL=http://localhost:3001
  6. # Secret key. Should be unique for each instance
  7. RICOCHET_SECRET=YourSuperSecretHere
  8. # Configure the JSON store backend
  9. # Available backends: memory, nedb, mongodb
  10. # Use nedb or mongodb for persistent storage
  11. JSON_STORE_BACKEND=memory
  12. # nedb JSON store backend configuration
  13. NEDB_DIRNAME=/path/to/data
  14. # mongodb JSON store backend configuration
  15. MONGODB_URI=
  16. MONGODB_DATABASE=
  17. # memory, disk or s3 storage are available
  18. FILE_STORE_BACKEND=memory
  19. # disk file store configuration
  20. DISK_DESTINATION=/path/to/dir/
  21. # S3 file store configuration
  22. S3_ACCESS_KEY=
  23. S3_SECRET_KEY=
  24. S3_ENDPOINT=
  25. S3_BUCKET=
  26. S3_REGION=
  27. # Do we proxy the file through this server
  28. S3_PROXY=
  29. # CDN configuration
  30. S3_CDN=
  31. # Signed url or public url
  32. S3_SIGNED_URL=
  33. # Only for testing purpose
  34. S3_BUCKET_TEST=
  35. # Smtp server configuration
  36. EMAIL_HOST=fake
  37. EMAIL_PORT=
  38. EMAIL_USER=
  39. EMAIL_PASSWORD=
  40. EMAIL_FROM=no-reply@example.com
  41. # Enable new site registration. 0 to disable.
  42. SITE_REGISTRATION_ENABLED=1
  43. # Use pino for logging ? Set to 1 to enable
  44. USE_PINO=0
  45. # email whitelist file path. If left empty, login will not be filtered.
  46. WHITELIST_PATH =