.example.env 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. # App port to run on
  2. PORT=3000
  3. # The domain that this website is on
  4. DEFAULT_DOMAIN="localhost:3000"
  5. # Generated link length
  6. LINK_LENGTH=6
  7. # Postgres database credential details
  8. DB_HOST=localhost
  9. DB_PORT=5432
  10. DB_NAME=postgres
  11. DB_USER=
  12. DB_PASSWORD=
  13. DB_SSL=false
  14. # ONLY NEEDED FOR MIGRATION !!1!
  15. # Neo4j database credential details
  16. NEO4J_DB_URI="bolt://localhost"
  17. NEO4J_DB_USERNAME=neo4j
  18. NEO4J_DB_PASSWORD=BjEphmupAf1D5pDD
  19. # Redis host and port
  20. REDIS_HOST="127.0.0.1"
  21. REDIS_PORT=6379
  22. REDIS_PASSWORD=
  23. # The daily limit for each user
  24. USER_LIMIT_PER_DAY=50
  25. # Create a cooldown for non-logged in users in minutes
  26. # Set 0 to disable
  27. NON_USER_COOLDOWN=0
  28. # Max number of visits for each link to have detailed stats
  29. DEFAULT_MAX_STATS_PER_LINK=5000
  30. # Use HTTPS for links with custom domain
  31. CUSTOM_DOMAIN_USE_HTTPS=false
  32. # A passphrase to encrypt JWT. Use a long and secure key.
  33. JWT_SECRET=securekey
  34. # Admin emails so they can access admin actions on settings page
  35. # Comma seperated
  36. ADMIN_EMAILS=
  37. # Invisible reCaptcha secret key
  38. # Create one in https://www.google.com/recaptcha/intro/
  39. RECAPTCHA_SITE_KEY=
  40. RECAPTCHA_SECRET_KEY=
  41. # Google Cloud API to prevent from users from submitting malware URLs.
  42. # Get it from https://developers.google.com/safe-browsing/v4/get-started
  43. GOOGLE_SAFE_BROWSING_KEY=
  44. # Google Analytics tracking ID for universal analytics.
  45. # Example: UA-XXXX-XX
  46. GOOGLE_ANALYTICS=
  47. GOOGLE_ANALYTICS_UNIVERSAL=
  48. # Google Analytics tracking ID for universal analytics
  49. # This one is used for links
  50. # GOOGLE_ANALYRICS_UNIVERSAL=
  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_MAIL=
  62. # Support email to show on the app
  63. CONTACT_EMAIL=