.env.example 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. # Since the ".env" file is gitignored, you can use the ".env.example" file to
  2. # build a new ".env" file when you clone the repo. Keep this file up-to-date
  3. # when you add new variables to `.env`.
  4. # This file will be committed to version control, so make sure not to have any
  5. # secrets in it. If you are cloning this repo, create a copy of this file named
  6. # ".env" and populate it with your secrets.
  7. # When adding additional environment variables, the schema in "/src/env.js"
  8. # should be updated accordingly.
  9. # Next Auth
  10. # You can generate a new secret on the command line with:
  11. # npx auth secret
  12. # https://next-auth.js.org/configuration/options#secret
  13. AUTH_SECRET=""
  14. # Auth (décision 2026-02-27 : email + password, pas d'OAuth)
  15. # Story 1.2b implémente Credentials - Discord non utilisé
  16. # Prisma
  17. # https://www.prisma.io/docs/reference/database-reference/connection-urls#env
  18. DATABASE_URL="postgresql://postgres:password@localhost:5432/aimpact-hub"
  19. # Dev only : skip email verification (1 = bypass, allows login without verify-email)
  20. # SKIP_EMAIL_VERIFY=1
  21. # Story 2.1 : Email invitations (Resend)
  22. # https://resend.com - sans clé, les emails sont loggés en dev
  23. RESEND_API_KEY=""
  24. EMAIL_FROM="onboarding@resend.dev"
  25. # Story 2.5 : Inbound email - soumission d'idées par email
  26. # Domaine Resend pour recevoir les emails (ex. cool-hedgehog.resend.app)
  27. INBOUND_EMAIL_DOMAIN="cool-hedgehog.resend.app"
  28. # Secret webhook Resend (obligatoire en prod) - configuré dans dashboard Resend
  29. RESEND_WEBHOOK_SECRET=""
  30. # URL de base pour les liens (invitations, confirmation, mentions légales)
  31. # Production : https://aimpact.livinia.io, Dev local : http://localhost:3000
  32. NEXT_PUBLIC_APP_URL="https://aimpact.livinia.io"
  33. # Mentions légales (optionnel, éditeur par défaut : AImpact Hub)
  34. # LEGAL_COMPANY_NAME="AImpact Hub"
  35. # LEGAL_SIRET="" LEGAL_RCS="" LEGAL_REGISTERED_OFFICE=""
  36. # LEGAL_PUBLISHER_NAME="" LEGAL_REGISTRY_URL=""
  37. # LEGAL_CONTACT_EMAIL="legal@aimpact.livinia.io"
  38. # LEGAL_GENERAL_EMAIL="hello@aimpact.livinia.io"
  39. # PRIVACY_CONTACT_EMAIL="privacy@aimpact.livinia.io"
  40. # SALES_CONTACT_EMAIL="hello@aimpact.livinia.io"
  41. # Story 2.6 : Pièces jointes (Vercel Blob)
  42. # Obligatoire sur Vercel production (VERCEL_ENV=production). Optionnel en local (pnpm build / dev).
  43. # Token : Vercel → Storage → Blob, ou Settings → Environment Variables
  44. BLOB_READ_WRITE_TOKEN=""
  45. # Story 2.3 : Exemples IA contextuels (OpenAI)
  46. # Optionnel - sans clé, exemples génériques pré-calculés
  47. OPENAI_API_KEY=""
  48. # Story 2.10 : Cron relance J+21 (Vercel Cron)
  49. # Générer avec : openssl rand -hex 32
  50. # Configuré automatiquement par Vercel en production
  51. CRON_SECRET=""