16 lines
838 B
Bash
16 lines
838 B
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
|
|
|
|
POSTGRES_DB=main
|
|
POSTGRES_HOST=localhost
|
|
POSTGRES_PORT=5432
|
|
POSTGRES_USER=main
|
|
POSTGRES_PASSWORD=hHMP8cd^N3SnzGRR
|
|
|
|
DB_CONTAINER_NAME=database
|
|
|
|
POSTGRES_DATABASE_URL="postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}"
|
|
POSTGRES_DATABASE_URL_EXTERNAL="postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DB_CONTAINER_NAME}:${POSTGRES_PORT}/${POSTGRES_DB}" |