20 lines
818 B
Plaintext
20 lines
818 B
Plaintext
# Since the ".env" file is gitignored, you can use the ".env.example" file 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.
|
|
|
|
# When adding additional environment variables, the schema in "/src/env.mjs"
|
|
# should be updated accordingly.
|
|
|
|
# Drizzle
|
|
# Get the Database URL from the "prisma" dropdown selector in PlanetScale.
|
|
# Change the query params at the end of the URL to "?ssl={"rejectUnauthorized":true}"
|
|
DATABASE_URL='mysql://YOUR_MYSQL_URL_HERE?ssl={"rejectUnauthorized":true}'
|
|
|
|
# Example:
|
|
# SERVERVAR="foo"
|
|
# NEXT_PUBLIC_CLIENTVAR="bar"
|