.env.example 931 B

123456789101112131415161718192021
  1. # Database
  2. DATABASE_URL="postgresql://torqvoice:torqvoice@db:5432/torqvoice"
  3. # Authentication (generate with: openssl rand -hex 32)
  4. BETTER_AUTH_SECRET="your-secret-here"
  5. # App URL (used by both the app and Better Auth)
  6. NEXT_PUBLIC_APP_URL="http://localhost:3000"
  7. # Set to true only when Cloudflare proxies every request AND the origin
  8. # refuses traffic that did not come through it (Cloudflare IP ranges allowed
  9. # at the firewall or in nginx).
  10. #
  11. # Behind Cloudflare this is required, not optional: the proxy sets X-Real-IP
  12. # from the connection it sees, which is a Cloudflare edge address shared by
  13. # thousands of visitors, so leaving this off collapses everyone into a handful
  14. # of rate-limit buckets and real users start getting 429s.
  15. #
  16. # Without the origin lock it is worse than useless, because cf-connecting-ip is
  17. # then just a header anyone reaching the box directly can write for themselves.
  18. TRUST_CF_CONNECTING_IP=false