-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.env.example
61 lines (51 loc) · 2.5 KB
/
.env.example
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
57
58
59
60
61
# When adding additional environment variables,
# the schema in "/src/env.mjs" should be updated accordingly.
# DB / Prisma ORM
# https://www.prisma.io/docs/reference/database-reference/connection-urls#env
DATABASE_URL=file:./db.sqlite
# Supabase connection example:
# Connect to Supabase via connection pooling with Supavisor.
DATABASE_URL="postgres://postgres.[Project-Reference-ID]:[Project-Password]@[YOUR-PROJECT-AWS-REGION].pooler.supabase.com:6543/[db-name]?pgbouncer=true&connection_limit=1"
# parameter "pgbouncer=true"
# This disables Prisma from generating prepared statements.
# This is required since our connection pooler does not support prepared statements in transaction mode yet.
# parameter "connection_limit=1"
# This is only required if you are using Prisma from a serverless environment.
# Direct connection to the database. Used for migrations.
DIRECT_URL="postgres://postgres.[Project-Reference-ID]:[Project-Password]@[YOUR-PROJECT-AWS-REGION].pooler.supabase.com:5432/[db-name]"
# Next Auth
# You can generate a new secret on the command line with:
# openssl rand -base64 32
# https://next-auth.js.org/configuration/options#secret
NEXTAUTH_SECRET=[YOUR RANDOM APP SECRET]
NEXTAUTH_URL=http://localhost:3000
# Next Auth Google Provider
# https://console.cloud.google.com/apis/dashboard
# https://console.cloud.google.com/apis/credentials
GOOGLE_CLIENT_ID=...apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=[YOUR GOOGLE CLIENT SECRET]
# Google Search Console:
NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION=[YOUR google-site-verification KEY]
# Next Auth Twitter Provider
# https://developer.twitter.com/en/portal/dashboard
TWITTER_API_KEY=[YOUR TWITTER API KEY]
TWITTER_API_KEY_SECRET=[YOUR TWITTER API SECRET]
# Next Auth Email Server
EMAIL_SERVER_HOST=mail.example.com
EMAIL_SERVER_PORT=587
EMAIL_SERVER_PASSWORD=password
EMAIL_FROM=Example <[email protected]>
# Cloudinary API
CLOUDINARY_API_KEY=[YOUR CLOUDINARY API KEY]
CLOUDINARY_API_SECRET=[YOUR CLOUDINARY API SECRET] # should NEVER be exposed on the client side!
NEXT_PUBLIC_CLOUDINARY_NAME=[YOUR CLOUDINARY NAME]
NEXT_PUBLIC_CLOUDINARY_UPLOAD_MAX_FILESIZE=10485760 # 10MB
# Links
NEXT_PUBLIC_STEADY_URL=https://steadyhq.com/de/YOUR_PROJECT/about
NEXT_PUBLIC_INSTAGRAM_URL=https://www.instagram.com/YOUR_ACCOUNT
NEXT_PUBLIC_TWITTERX_URL=https://twitter.com/YOUR_ACCOUNT
#SENTRY AUTHENTICATION TOKEN
SENTRY_AUTH_TOKEN=[YOUR SENTRY AUTHENTICATION TOKEN]
# Max Files Limit
NEXT_PUBLIC_FILE_UPLOAD_MAX_FILES=10