1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- # 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:<port>/<name>"
- # DATABASE_URL="postgresql://postgres123:postgres123@db:5432/db_radar"
- # DATABASE_URL=postgresql://postgres123:postgres123@db:5432/db_radar
- PORT=3200
- # Keycloak lokal
- KEYCLOAK_TOKEN_URL=http://localhost:8020/realms/<name_realm>/protocol/openid-connect/token
- CLIENT_ID=<name_client>
- CLIENT_SECRET=<client_secret>
- KEYCLOAK_ADMIN_URL=http://localhost:<port_keycloak>
- # KEYCLOAK_REALM=pearlgw
- KEYCLOAK_REALM=pearlgw
- KEYCLOAK_CLIENT=<name_client>
- KEYCLOAK_URL=http://localhost:<port_keycloak>
- KEYCLOAK_ADMIN_CLIENT=admin-cli
- KEYCLOAK_ADMIN_USERNAME=<username>
- KEYCLOAK_ADMIN_PASSWORD=<password>
- # jwt
- JWT_SECRET=<jwt_secret>
- # Keycloak production
- # KEYCLOAK_TOKEN_URL=https://keycloak.natagw.my.id/realms/radar/protocol/openid-connect/token
- # CLIENT_ID=fg-radar
- # CLIENT_SECRET=7kVIBw6FYdHhjLRfnruLj4l8X0qlP2Yz
- # KEYCLOAK_ADMIN_URL=https://keycloak.natagw.my.id
- # KEYCLOAK_REALM=radar
- # Keycloak production server fg
- # KEYCLOAK_TOKEN_URL=https://keycloak-radar.natagw.my.id/realms/radar/protocol/openid-connect/token
- # CLIENT_ID=fg-radar
- # CLIENT_SECRET=t6qZPIqOuukAsZWDLyi9CMHFE9mva4cs
- # KEYCLOAK_ADMIN_URL=https://keycloak-radar.natagw.my.id
- # KEYCLOAK_REALM=radar
- BASE_URL=http://localhost:3200
|