-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env.dist
20 lines (16 loc) · 867 Bytes
/
.env.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Environment variables declared in this file are automatically made available to Prisma.
# See the documentation for more detail: https://pris.ly/d/prisma-schema#using-environment-variables
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQL Server and SQLite.
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
# Development Database connection variables
DB_TYPE=mysql
DB_HOST=localhost
DB_PORT=3306
DB_USERNAME=root
DB_PASSWORD=password
DB_NAME=prisma
# Connection Pool Configurations
connection_limit=10
pool_timeout=10
# Variables expanded using format specified in dotenv-expand (https://github.com/motdotla/dotenv-expand)
DATABASE_URL=${DB_TYPE}://${DB_USERNAME}:${DB_PASSWORD}@${DB_HOST}:${DB_PORT}/${DB_NAME}?connection_limit=${connection_limit}&pool_timeout=${pool_timeout}