.example.env 1.9 KB

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