# 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

# The following `prisma+postgres` URL is similar to the URL produced by running a local Prisma Postgres 
# server with the `prisma dev` CLI command, when not choosing any non-default ports or settings. The API key, unlike the 
# one found in a remote Prisma Postgres URL, does not contain any sensitive information.

# Database
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/<namadb>"

PORT=3200

# Keycloak
KEYCLOAK_TOKEN_URL=<url>/realms/<name_realm>/protocol/openid-connect/token
CLIENT_ID=my-app
CLIENT_SECRET=vUT3dbn2EfYslBYMm0cjvvA6D5bLT2mH
JWT_SECRET=FF9q223buywGKYfLbu4ojSOYJ9s63G0iJFiCwSiVXB4FOm4WJQMoOF7DubqYT46v
KEYCLOAK_ADMIN_URL=<url>
KEYCLOAK_REALM=<name_realm>