| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- # 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, mentions légales)
- # Production : https://aimpact.livinia.io, Dev local : http://localhost:3000
- NEXT_PUBLIC_APP_URL="https://aimpact.livinia.io"
- # Mentions légales (optionnel, éditeur par défaut : AImpact Hub)
- # LEGAL_COMPANY_NAME="AImpact Hub"
- # LEGAL_SIRET="" LEGAL_RCS="" LEGAL_REGISTERED_OFFICE=""
- # LEGAL_PUBLISHER_NAME="" LEGAL_REGISTRY_URL=""
- # LEGAL_CONTACT_EMAIL="legal@aimpact.livinia.io"
- # LEGAL_GENERAL_EMAIL="hello@aimpact.livinia.io"
- # PRIVACY_CONTACT_EMAIL="privacy@aimpact.livinia.io"
- # SALES_CONTACT_EMAIL="hello@aimpact.livinia.io"
- # Story 2.6 : Pièces jointes (Vercel Blob)
- # Obligatoire sur Vercel production (VERCEL_ENV=production). Optionnel en local (pnpm build / dev).
- # Token : Vercel → Storage → Blob, ou Settings → Environment Variables
- 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=""
|