-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
23 lines (18 loc) · 1.11 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
PORT=8000
POSTGRES_USER=YOUR_LOCAL_POSTGRES_USER
POSTGRES_PASSWORD=YOUR_PASSWORD
POSTGRES_DB=prisma
# any string value
PRISMA_MANAGEMENT_API_SECRET='YOUR_PRISMA_MANAGEMENT_API_SECRET'
# any string value
JWT_SECRET='YOUR_JWT_SECRET'
# This was inserted by `prisma init`:
# 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
# if developing locally:
# DATABASE_URL="postgresql://YOUR_LOCAL_POSTGRES_USER:YOUR_PASSWORD@localhost:5432/prisma?schema=public"
# if connecting to the docker container (development only)
# DATABASE_URL="postgresql://YOUR_LOCAL_POSTGRES_USER:YOUR_PASSWORD@host.docker.internal:5432/prisma?schema=public"
DATABASE_URL="postgresql://YOUR_LOCAL_POSTGRES_USER:YOUR_PASSWORD@postgres-db:5432/prisma?schema=public"