| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- # Since the ".env" file is gitignored, you can use the ".env.example" file to
- # build a new ".env" file when you clone the repo. Keep this file up-to-date
- # when you add new variables to `.env`.
- # This file will be committed to version control, so make sure not to have any
- # secrets in it. If you are cloning this repo, create a copy of this file named
- # ".env" and populate it with your secrets.
- # When adding additional environment variables, the schema in "/src/env.js"
- # should be updated accordingly.
- # Next Auth
- # You can generate a new secret on the command line with:
- # npx auth secret
- # https://next-auth.js.org/configuration/options#secret
- AUTH_SECRET=""
- # Auth (décision 2026-02-27 : email + password, pas d'OAuth)
- # Story 1.2b implémente Credentials - Discord non utilisé
- # Prisma
- # https://www.prisma.io/docs/reference/database-reference/connection-urls#env
- DATABASE_URL="postgresql://postgres:password@localhost:5432/aimpact-hub"
- # Dev only : skip email verification (1 = bypass, allows login without verify-email)
- # SKIP_EMAIL_VERIFY=1
- # Story 2.1 : Email invitations (Resend)
- # https://resend.com - sans clé, les emails sont loggés en dev
- RESEND_API_KEY=""
- EMAIL_FROM="onboarding@resend.dev"
- # Story 2.5 : Inbound email - soumission d'idées par email
- # Domaine Resend pour recevoir les emails (ex. cool-hedgehog.resend.app)
- INBOUND_EMAIL_DOMAIN="cool-hedgehog.resend.app"
- # Secret webhook Resend (obligatoire en prod) - configuré dans dashboard Resend
- RESEND_WEBHOOK_SECRET=""
- # URL de base pour les liens (invitations, confirmation)
- NEXT_PUBLIC_APP_URL="http://localhost:3000"
- # Story 2.6 : Pièces jointes (Vercel Blob)
- # Token Blob - configuré automatiquement en déployant sur Vercel (Dashboard → Storage → Blob)
- # En local : copier depuis Vercel → Settings → Storage
- BLOB_READ_WRITE_TOKEN=""
- # Story 2.3 : Exemples IA contextuels (OpenAI)
- # Optionnel - sans clé, exemples génériques pré-calculés
- OPENAI_API_KEY=""
- # Story 2.10 : Cron relance J+21 (Vercel Cron)
- # Générer avec : openssl rand -hex 32
- # Configuré automatiquement par Vercel en production
- CRON_SECRET=""
|