.example.env 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. # This would be shown to the user on the settings page
  30. # It's only for display purposes and has no other use
  31. SERVER_IP_ADDRESS=
  32. # Create a cooldown for non-logged in users in minutes
  33. # Would be ignored if DISALLOW_ANONYMOUS_LINKS is set to true
  34. # Set 0 to disable
  35. NON_USER_COOLDOWN=0
  36. # Max number of visits for each link to have detailed stats
  37. DEFAULT_MAX_STATS_PER_LINK=5000
  38. # Use HTTPS for links with custom domain
  39. CUSTOM_DOMAIN_USE_HTTPS=false
  40. # A passphrase to encrypt JWT. Use a long and secure key.
  41. JWT_SECRET=securekey
  42. # Admin emails so they can access admin actions on settings page
  43. # Comma seperated
  44. ADMIN_EMAILS=
  45. # Optional - Google Cloud API to prevent from users from submitting malware URLs.
  46. # Get it from https://developers.google.com/safe-browsing/v4/get-started
  47. GOOGLE_SAFE_BROWSING_KEY=
  48. # Optional - Email is used to verify or change email address, reset password, and send reports.
  49. # If it's disabled, all the above functionality would be disabled as well.
  50. # MAIL_FROM example: "Kutt <support@kutt.it>". Leave it empty to use MAIL_USER.
  51. # More info on the configuration on http://nodemailer.com/.
  52. MAIL_ENABLED=false
  53. MAIL_HOST=
  54. MAIL_PORT=
  55. MAIL_SECURE=true
  56. MAIL_USER=
  57. MAIL_FROM=
  58. MAIL_PASSWORD=
  59. # The email address that will receive submitted reports.
  60. REPORT_EMAIL=
  61. # Support email to show on the app
  62. CONTACT_EMAIL=