- Portal: phoenix-api-client, usePhoenixRailing hooks, /infrastructure page - Portal: PhoenixHealthTile on dashboard, resources page uses tenant me/resources - Sidebar: Infrastructure link; Keycloak token used for API calls (BFF) - api/.env.example: PHOENIX_RAILING_URL, PHOENIX_RAILING_API_KEY - rate-limit: key by tenant when tenantContext present Made-with: Cursor
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
# Database Configuration
|
|
DB_HOST=localhost
|
|
DB_PORT=5432
|
|
DB_NAME=sankofa
|
|
DB_USER=postgres
|
|
# For development: minimum 8 characters
|
|
# For production: minimum 32 characters with uppercase, lowercase, numbers, and special characters
|
|
DB_PASSWORD=your_secure_password_here
|
|
|
|
# Application Configuration
|
|
NODE_ENV=development
|
|
PORT=4000
|
|
|
|
# Keycloak Configuration (for Identity Service)
|
|
KEYCLOAK_URL=http://localhost:8080
|
|
KEYCLOAK_REALM=master
|
|
KEYCLOAK_CLIENT_ID=sankofa-api
|
|
KEYCLOAK_CLIENT_SECRET=your_keycloak_client_secret
|
|
|
|
# JWT Configuration
|
|
# For production: minimum 64 characters
|
|
JWT_SECRET=your_jwt_secret_here_minimum_64_chars_for_production
|
|
|
|
# Phoenix API Railing (optional — for /api/v1/infra, /api/v1/ve, /api/v1/health proxy)
|
|
# Base URL of Phoenix Deploy API or Phoenix API (e.g. http://phoenix-deploy-api:4001)
|
|
PHOENIX_RAILING_URL=
|
|
# Optional: API key for server-to-server calls when railing requires PHOENIX_PARTNER_KEYS
|
|
PHOENIX_RAILING_API_KEY=
|
|
|
|
# Public URL for GraphQL Playground link (default http://localhost:4000)
|
|
# PUBLIC_URL=https://api.sankofa.nexus
|
|
|
|
# Logging
|
|
LOG_LEVEL=info
|