.example.env 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. # App port to run on
  2. PORT=3000
  3. # The name of the site where Kutt is hosted
  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. # Redis host and port
  17. REDIS_HOST=127.0.0.1
  18. REDIS_PORT=6379
  19. REDIS_PASSWORD=
  20. # Optional: The number for Redis database, between 0 and 15. Defaults to 0.
  21. # If you don't know what this is, then you probably don't need to change it.
  22. REDIS_DB=0
  23. # Disable registration
  24. DISALLOW_REGISTRATION=false
  25. # Disable anonymous link creation
  26. DISALLOW_ANONYMOUS_LINKS=false
  27. # The daily limit for each user
  28. USER_LIMIT_PER_DAY=50
  29. # Create a cooldown for non-logged in users in minutes
  30. # Would be ignored if DISALLOW_ANONYMOUS_LINKS is set to true
  31. # Set 0 to disable
  32. NON_USER_COOLDOWN=0
  33. # Max number of visits for each link to have detailed stats
  34. DEFAULT_MAX_STATS_PER_LINK=5000
  35. # Use HTTPS for links with custom domain
  36. CUSTOM_DOMAIN_USE_HTTPS=false
  37. # A passphrase to encrypt JWT. Use a long and secure key.
  38. JWT_SECRET=securekey
  39. # Admin emails so they can access admin actions on settings page
  40. # Comma seperated
  41. ADMIN_EMAILS=
  42. # Invisible reCaptcha secret key
  43. # Create one in https://www.google.com/recaptcha/intro/
  44. RECAPTCHA_SITE_KEY=
  45. RECAPTCHA_SECRET_KEY=
  46. # Google Cloud API to prevent from users from submitting malware URLs.
  47. # Get it from https://developers.google.com/safe-browsing/v4/get-started
  48. GOOGLE_SAFE_BROWSING_KEY=
  49. # Google Analytics tracking ID for universal analytics.
  50. # Example: UA-XXXX-XX
  51. GOOGLE_ANALYTICS=
  52. GOOGLE_ANALYTICS_UNIVERSAL=
  53. # Google Analytics tracking ID for universal analytics
  54. # This one is used for links
  55. # GOOGLE_ANALYTICS_UNIVERSAL=
  56. # Your email host details to use to send verification emails.
  57. # More info on http://nodemailer.com/
  58. # Mail from example "Kutt <support@kutt.it>". Leave empty to use MAIL_USER
  59. MAIL_HOST=
  60. MAIL_PORT=
  61. MAIL_SECURE=true
  62. MAIL_USER=
  63. MAIL_FROM=
  64. MAIL_PASSWORD=
  65. # The email address that will receive submitted reports.
  66. REPORT_EMAIL=
  67. # Support email to show on the app
  68. CONTACT_EMAIL=