.example.env 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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_CLIENT=pg
  11. DB_HOST=localhost
  12. DB_PORT=5432
  13. DB_NAME=postgres
  14. DB_USER=
  15. DB_PASSWORD=
  16. DB_SSL=false
  17. DB_FILENAME=
  18. # Redis host and port
  19. REDIS_HOST=127.0.0.1
  20. REDIS_PORT=6379
  21. REDIS_PASSWORD=
  22. # Optional: The number for Redis database, between 0 and 15. Defaults to 0.
  23. # If you don't know what this is, then you probably don't need to change it.
  24. REDIS_DB=0
  25. # Disable registration
  26. DISALLOW_REGISTRATION=false
  27. # Disable anonymous link creation
  28. DISALLOW_ANONYMOUS_LINKS=false
  29. # The daily limit for each user
  30. USER_LIMIT_PER_DAY=50
  31. # This would be shown to the user on the settings page
  32. # It's only for display purposes and has no other use
  33. SERVER_IP_ADDRESS=
  34. # Create a cooldown for non-logged in users in minutes
  35. # Would be ignored if DISALLOW_ANONYMOUS_LINKS is set to true
  36. # Set 0 to disable
  37. NON_USER_COOLDOWN=0
  38. # Max number of visits for each link to have detailed stats
  39. DEFAULT_MAX_STATS_PER_LINK=5000
  40. # Use HTTPS for links with custom domain
  41. CUSTOM_DOMAIN_USE_HTTPS=false
  42. # A passphrase to encrypt JWT. Use a long and secure key.
  43. JWT_SECRET=securekey
  44. # Admin emails so they can access admin actions on settings page
  45. # Comma seperated
  46. ADMIN_EMAILS=
  47. # Optional - Google Cloud API to prevent from users from submitting malware URLs.
  48. # Get it from https://developers.google.com/safe-browsing/v4/get-started
  49. GOOGLE_SAFE_BROWSING_KEY=
  50. # Optional - Email is used to verify or change email address, reset password, and send reports.
  51. # If it's disabled, all the above functionality would be disabled as well.
  52. # MAIL_FROM example: "Kutt <support@kutt.it>". Leave it empty to use MAIL_USER.
  53. # More info on the configuration on http://nodemailer.com/.
  54. MAIL_ENABLED=false
  55. MAIL_HOST=
  56. MAIL_PORT=
  57. MAIL_SECURE=true
  58. MAIL_USER=
  59. MAIL_FROM=
  60. MAIL_PASSWORD=
  61. # The email address that will receive submitted reports.
  62. REPORT_EMAIL=
  63. # Support email to show on the app
  64. CONTACT_EMAIL=