Skip to content

Commit

Permalink
devops: env example file
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusvrs committed Aug 13, 2024
1 parent 1ec0998 commit 9a9e4b3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .env.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# 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_HOSTNAME=db
DATABASE_PORT=5432

POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=postgres

DATABASE_URL="postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOSTNAME}:${DATABASE_PORT}/${POSTGRES_DB}"

0 comments on commit 9a9e4b3

Please sign in to comment.