-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.exemple
56 lines (41 loc) · 1.75 KB
/
.env.exemple
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Environment variables declared in this file are automatically made available to Prisma.
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
# Tou can use another database if you want.
# Connect to Supabase via connection pooling with Supavisor.
DATABASE_URL=""
# Direct connection to the database. Used for migrations.
DIRECT_URL=""
# Prisma client connection with vercel
POSTGRES_URL=""
POSTGRES_PRISMA_URL=""
POSTGRES_URL_NO_SSL=""
POSTGRES_URL_NON_POOLING=""
POSTGRES_USER=""
POSTGRES_HOST=""
POSTGRES_PASSWORD=""
POSTGRES_DATABASE=""
# Différent en prod et en dev
AUTH_GITHUB_ID=""
AUTH_GITHUB_SECRET=""
# auth secret created to communicate with nextAuth with npx auth secret.
# https://authjs.dev/getting-started/installation
AUTH_SECRET=""
OPENAI_API_KEY=""
STRIPE_SECRET_KEY=""
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=""
# stripe listen --forward-to localhost:3000/api/webhooks/stripe to get STRIPE_WEBHOOK_SECRET_DEV
STRIPE_WEBHOOK_SECRET_DEV=""
# go to stripe developper dashboard to get STRIPE_WEBHOOK_SECRET_PROD
STRIPE_WEBHOOK_SECRET_PROD=""
STRIPE_PREMIUM_PRICE_ID_DEV=""
# Pour le moment j'ai mis la meme en prod que sur dev car je veux faire des faux paiements pour tester.
STRIPE_PREMIUM_PRICE_ID_PROD=""
STRIPE_PACK_PRICE_ID_DEV=""
# SAME from dev because i rest in test mode in prod
STRIPE_PACK_PRICE_ID_PROD=""
# https://www.thenewsapi.com/documentation
NEWS_API_KEY=""
# Sur vercel configurér cette clé avec "production"
NEXT_PUBLIC_VERCEL_ENV="development"