-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
23 lines (17 loc) · 924 Bytes
/
.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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
DB_TYPE=postgres
DB_HOST=localhost
DB_PORT=5432
DB_USERNAME=postgres
DB_PASSWORD=1234
DB_NAME=test_db
# Connection Pool Configurations
connection_limit=1
pool_timeout=10
# SSL Accept
ssl_accept=strict
# 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}?sslaccept=${ssl_accept}&connection_limit=${connection_limit}&pool_timeout=${pool_timeout}