-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
28 lines (22 loc) · 1.16 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
# Since .env is gitignored, you can use .env.example 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.
# The database URL is used to connect to the database
DATABASE_URL='mysql://user:password@host/db?sslaccept=strict'
# @see https://next-auth.js.org/configuration/options#nextauth_url
NEXTAUTH_URL='http://localhost:3000'
# You can generate the secret via 'openssl rand -base64 32' on Unix
# @see https://next-auth.js.org/configuration/options#secret
NEXTAUTH_SECRET='supersecret'
# Preconfigured Discord OAuth provider, works out-of-the-box
# @see https://next-auth.js.org/providers/discord
DISCORD_CLIENT_ID=''
DISCORD_CLIENT_SECRET=''
# AWS - Get these after the first api-gateway pnpm run dev output
AWS_REGION='region'
COGNITO_USER_POOL_ID = 'cognito-user-pool'
COGNITO_CLIENT_ID = 'cognito-client-id'
COGNITO_API_URL='cognito-url'
NEXT_PUBLIC_API_GATEWAY_URL='cognito-url'
COGNITO_ISSUER='cognito-issuer'