-
Notifications
You must be signed in to change notification settings - Fork 4
/
.env.example
32 lines (27 loc) · 1.33 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
# Set this to "production" for production environments and "development" for development environments
NODE_ENV="development"
# NextAuth Configuration (REQUIRED)
NEXTAUTH_URL="http://localhost:3000" # The URL of the site
NEXTAUTH_SECRET="" # Generate a secret using `openssl rand -base64 32`
# Postgres Database Configuration (REQUIRED)
# These variables are necessary to initialize the Database Docker container and to connect the site to the database
POSTGRES_PASSWORD=""
POSTGRES_USER=""
POSTGRES_DB=""
POSTGRES_HOST="localhost"
POSTGRES_PORT="5432"
DATABASE_URL="postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}" # Leave this as is
# Database Seeding Options
SEED="true" # Set to "true" to seed the database with sample data
SEED_OLD_DATA="false"
# Azure AD Configuration (Optional for Development - Required for authenticating users with the University's Azure AD)
AZURE_AD_CLIENT_ID=""
AZURE_AD_CLIENT_SECRET=""
AZURE_AD_TENANT_ID=
# Discord Configuration (Optional for Development - Required to link a user's account with their Discord, retrieve server information, and invite the user to the Discord server)
DISCORD_CLIENT_ID=""
DISCORD_CLIENT_SECRET=""
DISCORD_BOT_TOKEN=""
DISCORD_GUILD_ID=""
DISCORD_CALLBACK_URL="http://localhost:3000/api/discord/callback"
DISCORD_SUGGESTION_WEBHOOK_URL=""