forked from blefnk/relivator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
168 lines (124 loc) Β· 5.22 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
# ?========================================================
# !! NEVER COMMIT .env FILE !! ONLY COMMIT .env.example !!
# Improve Your VS Code Experience with the `aaron-bond.better-comments` Extension.
# Default Environment Variable Values. Define default values for environment variables required to run the app.
# Overriding Defaults. These defaults can be overridden by environment-specific .env files, such as .env.development,
# and local .env files like .env.local and .env.development.local.
# Important: No Secrets Here. Never store secrets in this file. Store sensitive information in a .env.local file
# or an environment-specific local .env file, like .env.development.local or .env.test.local.
# Do not commit these local env files to source control.
# Getting Started. If you're new or cloning the repo, use the ".env.example" file as a template to create your ".env" file.
# Keep this file current when adding new variables to `.env`.
# Use Caution When Committing. Remember that this file will be committed to version control. Ensure it does not contain secrets.
# When cloning this repo, create a copy named ".env" and add your secrets.
# Schema Updates. When adding new environment variables, update the schema in "/src/env.mjs" accordingly.
# ?========================================================
# !! DRIZZLE: PLANETSCALE (https://planetscale.com)
# 1) Get the Database data from the "prisma" dropdown selector in PlanetScale.
# 2) Change the query params at the end of the URL to "?ssl={"rejectUnauthorized":true}"
# ?? [4] mysql://<...>?ssl={"rejectUnauthorized":true}
DATABASE_URL=""
# !! COMMON CREDENTIALS
# Default host for the app
# Use the production URL when deploying to production, e.g. https://example.com
NEXT_PUBLIC_APP_URL="http://localhost:3000"
# Google Analytics (for `nextjs-google-analytics`)
# e.g. G-UA-123456789-0
NEXT_PUBLIC_GA_MEASUREMENT_ID=""
# Authentication JWT Secret (`openssl rand -base64 32`)
NEXTAUTH_SECRET=""
# Temporary
NEXTAUTH_URL="http://localhost:3000"
VERCEL_URL=""
NEXT_PUBLIC_VERCEL_URL=""
# !! CLERK CREDENTIALS (https://clerk.com)
# pk_test, and sk_test are development keys
# These values should be replaced with production keys on the deployed site
# For production, use pk_live, and sk_live keys (a domain is required)
# ?? [6] pk_test_****
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=""
# ?? [7] sk_test_****
CLERK_SECRET_KEY=""
# !! FILE UPLOADING (https://uploadthing.com)
# ?? [10] sk_live_****
UPLOADTHING_SECRET=""
# ?? [11] ****
UPLOADTHING_APP_ID=""
# !! STRIPE CREDENTIALS (https://stripe.com)
# These values should be replaced with production keys on the deployed site to accept real payments
# ?? [12] pk_test_****
# Stripe Publishable Key and Secret Key found at https://dashboard.stripe.com/test/apikeys
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=""
# ?? [13] sk_test_****
STRIPE_API_KEY=""
# ?? [14] whsec_****
# Stripe Webhook Secret found at https://dashboard.stripe.com/test/webhooks/create?endpoint_location=local
# Create a webhook inside the stripe dashboard. Make sure to listen to the `payment_intent.succeeded` event.
# The webhook URL should be: https://<INSERT_YOUR_DOMAIN_HERE>/api/stripe/webhook
STRIPE_WEBHOOK_SECRET=""
# ?? [15] Store Item | price_****
# Stripe Product and Price IDs for your created products
# found at https://dashboard.stripe.com/test/products
STRIPE_STD_MONTHLY_PRICE_ID=""
# ?? [16] Subscription | price_****
# Stripe Product and Price IDs for your created products
# found at https://dashboard.stripe.com/test/products
STRIPE_PRO_MONTHLY_PRICE_ID=""
# !! RESEND (https://resend.com) (REACT EMAIL BUILDER)
# Resend API Key found at https://resend.com/api-keys
# ?? [18] re_****
RESEND_API_KEY=""
# We need to register a domain with Resend to send emails from
# Register a domain at https://resend.com/domains
# Or we can use this email provided by resend for only testing: "[email protected]"
# It is not recommended tho
# ?? [19] e.g. "Relivator <[email protected]>"
EMAIL_FROM=""
# !! LOGLIB (https://loglib.io)
# ?? ***_***
LOGLIB_SITE_ID=""
# ?? site_***
LOGLIB_API_KEY=""
# !! UNSORTED ENV VARS
# ?? [20]
POSTMARK_SIGN_IN_TEMPLATE=""
# ?? [21]
POSTMARK_API_TOKEN=""
# ?? [22]
CLOUDFLARE_API=""
# ?? [23]
CLOUDFLARE_USER=""
# ?? [24]
SMTP_FROM=""
# ?? [26]
DISCORD_CLIENT_ID=""
# ?? [27]
DISCORD_CLIENT_SECRET=""
# ?? [28]
GITHUB_ID=""
# ?? [29]
GITHUB_SECRET=""
# ?? [30]
GITHUB_CLIENT_ID=""
# ?? [31]
GITHUB_CLIENT_SECRET=""
# ?? [32]
GITHUB_ACCESS_TOKEN=""
# ?? [33]
GOOGLE_CLIENT_ID=""
# ?? [34]
GOOGLE_CLIENT_SECRET=""
# ============================================================================
# Default values for environment variables requried to run the app should be
# defined here.
# These variables will be overwritten by any environment-specific .env files,
# such as .env.development, and by and local .env files, such as .env.local and
# .env.development.local.
#
# This file should NOT contain any secrets. Secrets should be placed in a
# .env.local file, or in an environment-specific local .env file, such as
# .env.development.local or .env.test.local. Local env files should not be
# committed to source control.
#
# See https://nextjs.org/docs/basic-features/environment-variables
# ============================================================================