config.example.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. /* The daily limit for each user */
  13. USER_LIMIT_PER_DAY: 50,
  14. /* A passphrase to encrypt JWT. Use a long and secure key. */
  15. JWT_SECRET: 'securekey',
  16. /*
  17. Admin emails so they can access admin actions on settings page
  18. Array of strings
  19. */
  20. ADMIN_EMAILS: [],
  21. /*
  22. Invisible reCaptcha secret key
  23. Create one in https://www.google.com/recaptcha/intro/
  24. */
  25. RECAPTCHA_SECRET_KEY: '',
  26. /*
  27. Google Cloud API to prevent from users from submitting malware URLs.
  28. Get it from https://developers.google.com/safe-browsing/v4/get-started
  29. */
  30. GOOGLE_SAFE_BROWSING_KEY: '',
  31. /*
  32. Google Analytics tracking ID for universal analytics.
  33. Example: UA-XXXX-XX
  34. */
  35. GOOGLE_ANALYTICS: '',
  36. /*
  37. Your email host details to use to send verification emails.
  38. More info on http://nodemailer.com/
  39. */
  40. MAIL_HOST: '',
  41. MAIL_PORT: 587,
  42. MAIL_SECURE: false,
  43. MAIL_USER: '',
  44. MAIL_PASSWORD: '',
  45. /*
  46. The email address that will receive submitted reports.
  47. */
  48. REPORT_MAIL: '',
  49. };