.example.env 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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=postgresql
  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. # Create a cooldown for non-logged in users in minutes
  32. # Would be ignored if DISALLOW_ANONYMOUS_LINKS is set to true
  33. # Set 0 to disable
  34. NON_USER_COOLDOWN=0
  35. # Max number of visits for each link to have detailed stats
  36. DEFAULT_MAX_STATS_PER_LINK=5000
  37. # Use HTTPS for links with custom domain
  38. CUSTOM_DOMAIN_USE_HTTPS=false
  39. # A passphrase to encrypt JWT. Use a long and secure key.
  40. JWT_SECRET=securekey
  41. # Admin emails so they can access admin actions on settings page
  42. # Comma seperated
  43. ADMIN_EMAILS=
  44. # Invisible reCaptcha secret key
  45. # Create one in https://www.google.com/recaptcha/intro/
  46. RECAPTCHA_SITE_KEY=
  47. RECAPTCHA_SECRET_KEY=
  48. # Google Cloud API to prevent from users from submitting malware URLs.
  49. # Get it from https://developers.google.com/safe-browsing/v4/get-started
  50. GOOGLE_SAFE_BROWSING_KEY=
  51. # Your email host details to use to send verification emails.
  52. # More info on http://nodemailer.com/
  53. # Mail from example "Kutt <support@kutt.it>". Leave empty to use MAIL_USER
  54. MAIL_HOST=
  55. MAIL_PORT=
  56. MAIL_SECURE=true
  57. MAIL_USER=
  58. MAIL_FROM=
  59. MAIL_PASSWORD=
  60. # The email address that will receive submitted reports.
  61. REPORT_EMAIL=
  62. # Support email to show on the app
  63. CONTACT_EMAIL=