config.example.js 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. module.exports = {
  2. PORT: 3000,
  3. /* The domain that this website is on */
  4. DEFAULT_DOMAIN: 'kutt.it',
  5. /* Neo4j database credential details */
  6. DB_URI: 'bolt://localhost',
  7. DB_USERNAME: '',
  8. DB_PASSWORD: '',
  9. /* Redis host and port */
  10. REDIS_HOST: '127.0.0.1',
  11. REDIS_PORT: 6379,
  12. REDIS_PASSWORD: '',
  13. /* The daily limit for each user */
  14. USER_LIMIT_PER_DAY: 50,
  15. /* A passphrase to encrypt JWT. Use a long and secure key. */
  16. JWT_SECRET: 'securekey',
  17. /*
  18. Admin emails so they can access admin actions on settings page
  19. Array of strings
  20. */
  21. ADMIN_EMAILS: [],
  22. /*
  23. Invisible reCaptcha secret key
  24. Create one in https://www.google.com/recaptcha/intro/
  25. */
  26. RECAPTCHA_SECRET_KEY: '',
  27. /*
  28. Google Cloud API to prevent from users from submitting malware URLs.
  29. Get it from https://developers.google.com/safe-browsing/v4/get-started
  30. */
  31. GOOGLE_SAFE_BROWSING_KEY: '',
  32. /*
  33. Google Analytics tracking ID for universal analytics.
  34. Example: UA-XXXX-XX
  35. */
  36. GOOGLE_ANALYTICS: '',
  37. /*
  38. Your email host details to use to send verification emails.
  39. More info on http://nodemailer.com/
  40. */
  41. MAIL_HOST: '',
  42. MAIL_PORT: 587,
  43. MAIL_SECURE: false,
  44. MAIL_USER: '',
  45. MAIL_FROM: '', // Example: "Kutt <support@kutt.it>". Leave empty to use MAIL_USER
  46. MAIL_PASSWORD: '',
  47. /*
  48. The email address that will receive submitted reports.
  49. */
  50. REPORT_MAIL: '',
  51. };