.example.env 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. # 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=pass
  21. # Redis host and port
  22. REDIS_HOST=127.0.0.1
  23. REDIS_PORT=6379
  24. REDIS_PASSWORD=
  25. # Optional: The number for Redis database, between 0 and 15. Defaults to 0.
  26. # If you don't know what this is, then you probably don't need to change it.
  27. REDIS_DB=0
  28. # Disable registration
  29. DISALLOW_REGISTRATION=false
  30. # Disable anonymous link creation
  31. DISALLOW_ANONYMOUS_LINKS=false
  32. # The daily limit for each user
  33. USER_LIMIT_PER_DAY=50
  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. # Invisible reCaptcha secret key
  48. # Create one in https://www.google.com/recaptcha/intro/
  49. RECAPTCHA_SITE_KEY=
  50. RECAPTCHA_SECRET_KEY=
  51. # Google Cloud API to prevent from users from submitting malware URLs.
  52. # Get it from https://developers.google.com/safe-browsing/v4/get-started
  53. GOOGLE_SAFE_BROWSING_KEY=
  54. # Google Analytics tracking ID for universal analytics.
  55. # Example: UA-XXXX-XX
  56. GOOGLE_ANALYTICS=
  57. GOOGLE_ANALYTICS_UNIVERSAL=
  58. # Google Analytics tracking ID for universal analytics
  59. # This one is used for links
  60. # GOOGLE_ANALYTICS_UNIVERSAL=
  61. # Your email host details to use to send verification emails.
  62. # More info on http://nodemailer.com/
  63. # Mail from example "Kutt <support@kutt.it>". Leave empty to use MAIL_USER
  64. MAIL_HOST=
  65. MAIL_PORT=
  66. MAIL_SECURE=true
  67. MAIL_USER=
  68. MAIL_FROM=
  69. MAIL_PASSWORD=
  70. # The email address that will receive submitted reports.
  71. REPORT_EMAIL=
  72. # Support email to show on the app
  73. CONTACT_EMAIL=