-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
47 lines (38 loc) · 1.7 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
# 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.
# Database URL
# The database URL is used to connect to your database. It's used for commenting, and authentication.
DATABASE_URL="postgresql://postgres:<YOUR_PASSWORD>@localhost:5432/blog"
# Resend
# Used for the newsletter subscription and sending emails.
# @see https://resend.com
RESEND_API_KEY="" # Resend API key
RESEND_AUDIENCE_ID="" # Newsletter audience ID
EMAIL_FROM="blog@example.com" # Email address to send emails from
# Authentication
# You can generate the secret via 'openssl rand -base64 32' on Unix
# @see https://www.better-auth.com/docs/installation
BETTER_AUTH_URL=""
BETTER_AUTH_SECRET=""
# Preconfigured Google OAuth provider, works out-of-the-box
# @see https://www.better-auth.com/docs/authentication/google
GOOGLE_CLIENT_ID=""
GOOGLE_CLIENT_SECRET=""
# Preconfigured Github OAuth provider, works out-of-the-box
# @see https://www.better-auth.com/docs/authentication/github
GITHUB_CLIENT_ID=""
GITHUB_CLIENT_SECRET=""
# Analytics
# Using Umami
# @see https://umami.is
NEXT_PUBLIC_UMAMI_URL="" # URL of your Umami instance
NEXT_PUBLIC_UMAMI_WEBSITE_ID="" # Website ID of your Umami instance
# Production URL
# Used for the newsletter and site metadata generation.
VERCEL_PROJECT_PRODUCTION_URL=""