-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env.example
41 lines (32 loc) · 1.1 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
PORT=3000
NEXTAUTH_URL=http://localhost:${PORT}
# DB
POSTGRES_USER=postgres
POSTGRES_PASSWORD=123
POSTGRES_DB=postgres
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}?schema=public
# SECRET
NEXTAUTH_SECRET=6rM9SG9Jtx3Ij5Wp2O3n5Yg3hTfN6CpDqD5ZsItJ7hCfWm9WdUaV3ZqD1SgXrHtKs
HASH_ROUND=12
# EMAIL
#SMTP_HOST=smtp.sendgrid.net
#SMTP_PORT=587
#SMTP_USER=apikey
#SMTP_PASSWORD=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
#SMTP_SERVICE=
#SMTP_FROM=robin.lebhar@gmail.com
SMTP_HOST=smtp.gmail.com
SMTP_PORT=465
SMTP_USER=YOUR EMAIL
#https://myaccount.google.com/apppasswords (# Name of app is nect-auh)
SMTP_PASSWORD="zhxz dusf vlxj jujg"
SMTP_SERVICE=Gmail
SMTP_FROM=YOUR EMAIL
SIGNUP_CALLBACK_URL=${NEXTAUTH_URL}
FORGOT_PASSWORD_CALLBACK_URL=${NEXTAUTH_URL}/auth/reset-password
# Google OAuth
GOOGLE_CLIENT_ID=763622883304-h8or7a6lhhdpt68sdqludio341qkkamv.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=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
NEXT_PUBLIC_GOOGLE_CALLBACK_URL=${NEXTAUTH_URL}