config.example.js 1.4 KB

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