Platform Management
Configuration
Reference for environment variables and configuration options.
InferiaLLM uses environment variables for configuration. Store them in a .env file or inject via your orchestration platform.
| Variable | Description | Default |
|---|
DATABASE_URL | PostgreSQL connection string | postgresql://inferia:inferia@localhost:5432/inferia |
POSTGRES_DSN | Alternative PostgreSQL DSN | Same as DATABASE_URL |
PG_ADMIN_USER | Admin user for init command | postgres |
PG_ADMIN_PASSWORD | Admin password for init command | - |
| Variable | Description | Default |
|---|
REDIS_HOST | Redis host | localhost |
REDIS_PORT | Redis port | 6379 |
REDIS_DB | Redis database number | 0 |
REDIS_USERNAME | Redis username | default |
REDIS_PASSWORD | Redis password | - |
| Variable | Description |
|---|
JWT_SECRET_KEY | Secret for signing JWTs. Must be changed in production. |
INTERNAL_API_KEY | Secret for service-to-service communication. |
SECRET_ENCRYPTION_KEY | 32-byte Base64 key for encrypting provider credentials. |
LOG_ENCRYPTION_KEY | 32-byte hex key for encrypting audit logs. |
SUPERADMIN_EMAIL | Initial admin user email. |
SUPERADMIN_PASSWORD | Initial admin user password. |
| Variable | Description | Default |
|---|
INFERENCE_PORT | Inference Gateway port | 8001 |
FILTRATION_PORT | Filtration Gateway port | 8000 |
ORCHESTRATION_PORT | Orchestration HTTP port | 8080 |
GRPC_PORT | Orchestration gRPC port | 50051 |
Set these in apps/dashboard/.env if running the dashboard separately.
| Variable | Description | Default |
|---|
VITE_API_BASE_URL | Filtration Gateway URL | http://localhost:8000 |
VITE_ORCHESTRATOR_URL | Orchestration Gateway URL | http://localhost:8080 |
| Variable | Description | Default |
|---|
ENABLE_2FA | Enable TOTP two-factor authentication | true |
GUARDRAIL_PII_DETECTION_ENABLED | Enable PII detection | true |
GUARDRAIL_ENABLE_GUARDRAILS | Master switch for guardrails | true |
GUARDRAIL_DEFAULT_GUARDRAIL_ENGINE | Default safety provider | llm-guard |
| Variable | Description | Default |
|---|
NOSANA_SIDECAR_URL | Nosana sidecar service URL | http://localhost:3000 |
NOSANA_INTERNAL_API_KEY | Auth key for Nosana deployments | - |
NOSANA_MODE | Operation mode (simulation or live) | simulation |
HF_TOKEN | HuggingFace token for model downloads | - |
AKASH_SIDECAR_URL | Akash sidecar service URL | - |
Provider API keys (OpenAI, Groq, AWS, etc.) are managed dynamically through the Dashboard Settings > Providers page. They are encrypted at rest using SECRET_ENCRYPTION_KEY.