-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy path.env.example
58 lines (43 loc) · 1.74 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
## ----- App ----- ##
# Generate a random secret here: https://generate-secret.vercel.app/32
NEXTAUTH_SECRET=
# The callback URL for authentication purposes (ex. "https://example.com")
NEXTAUTH_URL=http://localhost:3000
# The domain of the app
APP_HOSTNAME=localhost:3000
# Whether to trust the proxy, if you are proxying this app, set this to "true"
TRUST_PROXY=
# The header name that has the real IP if TRUST_PROXY=true
# - This defaults to "X-Cloudflare-IP" (for Cloudflare)
# - If you use NGINX for a reverse proxy, set this to the header where $remote_addr is set (usually "x-real-ip")
TRUST_PROXY_HEADER=
# If a new user logs in the instance with this e-mail, they will be granted superadmin.
STUB_ADMIN_EMAIL=
## ----- Database ----- ##
# Redis configuration
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PREFIX=stub:
REDIS_PASSWORD=
# Prisma configuration
DATABASE_URL="postgresql://stub:securePassword@localhost:5432/stub?schema=public"
## ----- Authentication ----- ##
# Required for E-mail auth – setup instructions here: https://next-auth.js.org/providers/email#configuration
EMAIL_SERVER=
EMAIL_FROM=
# Required for Discord auth – set redirect URI to /api/auth/callback/discord
DISCORD_CLIENT_ID=
DISCORD_CLIENT_SECRET=
# Required for GitHub auth – set redirect URI to /api/auth/callback/github
GITHUB_ID=
GITHUB_SECRET=
# Required for Twitter auth – set redirect URI to /api/auth/callback/twitter
# Requires "Request email address from users" to work properly!
TWITTER_CLIENT_ID=
TWITTER_CLIENT_SECRET=
# Required for Facebook auth – set redirect URI to /api/auth/callback/facebook
FACEBOOK_CLIENT_ID=
FACEBOOK_CLIENT_SECRET=
# Required for Google auth – set redirect URI to /api/auth/callback/google
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=