.env.example 1.1 KB

12345678910111213141516171819202122
  1. # Environment variables declared in this file are automatically made available to Prisma.
  2. # See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema
  3. # Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
  4. # See the documentation for all the connection string options: https://pris.ly/d/connection-strings
  5. # The following `prisma+postgres` URL is similar to the URL produced by running a local Prisma Postgres
  6. # server with the `prisma dev` CLI command, when not choosing any non-default ports or settings. The API key, unlike the
  7. # one found in a remote Prisma Postgres URL, does not contain any sensitive information.
  8. # Database
  9. DATABASE_URL="postgresql://postgres:postgres@localhost:5432/<namadb>"
  10. PORT=3200
  11. # Keycloak
  12. KEYCLOAK_TOKEN_URL=<url>/realms/<name_realm>/protocol/openid-connect/token
  13. CLIENT_ID=my-app
  14. CLIENT_SECRET=vUT3dbn2EfYslBYMm0cjvvA6D5bLT2mH
  15. JWT_SECRET=FF9q223buywGKYfLbu4ojSOYJ9s63G0iJFiCwSiVXB4FOm4WJQMoOF7DubqYT46v
  16. KEYCLOAK_ADMIN_URL=<url>
  17. KEYCLOAK_REALM=<name_realm>