31 lines
1.6 KiB
Bash
31 lines
1.6 KiB
Bash
# 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 and CockroachDB.
|
|
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
|
|
|
|
# DATABASE_URL="postgresql://johndoe:randompassword@localhost:5432/mydb?schema=public"
|
|
# DATABASE_URL="mysql://root:%21Plop2099341723@192.168.50.190:3306/db"
|
|
MAPS_API_KEY="https://www.google.com/maps/embed/v1/place?q=place_id:ChIJQ-7Uc0BitocRQZASTWUyN04&key=AIzaSyBS4qOnpT4llaFa_UKMpeWike3lzDvFZ1U"
|
|
|
|
DB_HOST="aws.connect.psdb.cloud"
|
|
DB_USER="11lq0wcjbxyku4zmubji"
|
|
DB_PASSWORD="pscale_pw_AyxGMWCMpaZOsaeeXXem8mrxXPRNJEG0uPUrW2zo1f8"
|
|
DB_NAME="dev_db"
|
|
DB_URI="mysql://11lq0wcjbxyku4zmubji:pscale_pw_AyxGMWCMpaZOsaeeXXem8mrxXPRNJEG0uPUrW2zo1f8@aws.connect.psdb.cloud/dev_db?ssl={"rejectUnauthorized":true}"
|
|
ADMIN_EMAIL="Kevin@test.com"
|
|
ADMIN_PWD="!Testingpwd123"
|
|
NEXTAUTH_URL="http://localhost:3000/"
|
|
// Generate in Bash shell, with openssl rand -base64 32
|
|
NEXTAUTH_SECRET="uM3+Q6lVz3l9tqaMKPVWmnY1r5tftjgxmFEi0/Z0+PA="
|
|
S3_ENABLED=true
|
|
S3_BUCKET=YOURBUCKETNAME
|
|
AWS_ACCESS_KEY_ID=YOURACCESSKEY
|
|
AWS_SECRET_ACCESS_KEY=YOURSECRETKEY
|
|
S3_REGION=auto
|
|
S3_PROTOCOL=https
|
|
S3_HOSTNAME=XXXXX.r2.cloudflarestorage.com
|
|
S3_ENDPOINT=https://XXXXX.r2.cloudflarestorage.com
|
|
S3_ALIAS_HOST=pub-XXXXX.r2.dev
|
|
# This is ignored by R2, but it needs to be set to something valid
|
|
S3_PERMISSION=private |