.env.example 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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:<port>/<name>"
  10. # DATABASE_URL="postgresql://postgres123:postgres123@db:5432/db_radar"
  11. # DATABASE_URL=postgresql://postgres123:postgres123@db:5432/db_radar
  12. PORT=3200
  13. # Keycloak lokal
  14. KEYCLOAK_TOKEN_URL=http://localhost:8020/realms/<name_realm>/protocol/openid-connect/token
  15. CLIENT_ID=<name_client>
  16. CLIENT_SECRET=<client_secret>
  17. KEYCLOAK_ADMIN_URL=http://localhost:<port_keycloak>
  18. # KEYCLOAK_REALM=pearlgw
  19. KEYCLOAK_REALM=pearlgw
  20. KEYCLOAK_CLIENT=<name_client>
  21. KEYCLOAK_URL=http://localhost:<port_keycloak>
  22. KEYCLOAK_ADMIN_CLIENT=admin-cli
  23. KEYCLOAK_ADMIN_USERNAME=<username>
  24. KEYCLOAK_ADMIN_PASSWORD=<password>
  25. # jwt
  26. JWT_SECRET=<jwt_secret>
  27. # Keycloak production
  28. # KEYCLOAK_TOKEN_URL=https://keycloak.natagw.my.id/realms/radar/protocol/openid-connect/token
  29. # CLIENT_ID=fg-radar
  30. # CLIENT_SECRET=7kVIBw6FYdHhjLRfnruLj4l8X0qlP2Yz
  31. # KEYCLOAK_ADMIN_URL=https://keycloak.natagw.my.id
  32. # KEYCLOAK_REALM=radar
  33. # Keycloak production server fg
  34. # KEYCLOAK_TOKEN_URL=https://keycloak-radar.natagw.my.id/realms/radar/protocol/openid-connect/token
  35. # CLIENT_ID=fg-radar
  36. # CLIENT_SECRET=t6qZPIqOuukAsZWDLyi9CMHFE9mva4cs
  37. # KEYCLOAK_ADMIN_URL=https://keycloak-radar.natagw.my.id
  38. # KEYCLOAK_REALM=radar
  39. BASE_URL=http://localhost:3200