.example.env 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. # App port to run on
  2. PORT=3000
  3. # The domain that this website is on
  4. DEFAULT_DOMAIN="localhost:3000"
  5. # Postgres database credential details
  6. DB_HOST=localhost
  7. DB_NAME=postgres
  8. DB_USER=
  9. DB_PASSWORD=
  10. # ONLY NEEDED FOR MIGRATION !!1!
  11. # Neo4j database credential details
  12. NEO4J_DB_URI="bolt://localhost"
  13. NEO4J_DB_USERNAME=neo4j
  14. NEO4J_DB_PASSWORD=BjEphmupAf1D5pDD
  15. # Redis host and port
  16. REDIS_HOST="127.0.0.1"
  17. REDIS_PORT=6379
  18. REDIS_PASSWORD=
  19. # The daily limit for each user
  20. USER_LIMIT_PER_DAY=50
  21. # Create a cooldown for non-logged in users in minutes
  22. # Set 0 to disable
  23. NON_USER_COOLDOWN=0
  24. # Max number of visits for each link to have detailed stats
  25. DEFAULT_MAX_STATS_PER_LINK=5000
  26. # Use HTTPS for links with custom domain
  27. CUSTOM_DOMAIN_USE_HTTPS=false
  28. # A passphrase to encrypt JWT. Use a long and secure key.
  29. JWT_SECRET=securekey
  30. # Admin emails so they can access admin actions on settings page
  31. # Comma seperated
  32. ADMIN_EMAILS=
  33. # Invisible reCaptcha secret key
  34. # Create one in https://www.google.com/recaptcha/intro/
  35. RECAPTCHA_SITE_KEY=
  36. RECAPTCHA_SECRET_KEY=
  37. # Google Cloud API to prevent from users from submitting malware URLs.
  38. # Get it from https://developers.google.com/safe-browsing/v4/get-started
  39. GOOGLE_SAFE_BROWSING_KEY=
  40. # Google Analytics tracking ID for universal analytics.
  41. # Example: UA-XXXX-XX
  42. GOOGLE_ANALYTICS=
  43. GOOGLE_ANALYTICS_UNIVERSAL=
  44. # Google Analytics tracking ID for universal analytics
  45. # This one is used for links
  46. # GOOGLE_ANALYRICS_UNIVERSAL=
  47. # Your email host details to use to send verification emails.
  48. # More info on http://nodemailer.com/
  49. # Mail from example "Kutt <support@kutt.it>". Leave empty to use MAIL_USER
  50. MAIL_HOST=
  51. MAIL_PORT=
  52. MAIL_SECURE=true
  53. MAIL_USER=
  54. MAIL_FROM=
  55. MAIL_PASSWORD=
  56. # The email address that will receive submitted reports.
  57. REPORT_MAIL=
  58. # Support email to show on the app
  59. CONTACT_EMAIL=