-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.env.example
15 lines (11 loc) · 946 Bytes
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Environment variables declared in this file are automatically made available to Prisma.
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB (Preview) and CockroachDB (Preview).
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
# Fill those with the links from PlanetScale, DATABASE_URL uses either main or dev branch and SHADOW_DATABASE_URL uses the shadow branch.
DATABASE_URL="mysql://root:Passw0rd@localhost:3306/users"
SHADOW_DATABASE_URL=
NEXTAUTH_URL=http://localhost:3000
# NB! Change in production!!
# THIS IS MANDATORY FOR ANYTHING TO WORK NOW, PUT *ANYTHING* INTO IT OR USE THE OPENSSL COMMAND TO GENERATE ONE FOR PRODUCTION (OpenSSL is available in Git bash)
NEXTAUTH_SECRET="" # $ openssl rand -base64 32