.example.env 1.8 KB

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