InferiaLLM
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.

Database

VariableDescriptionDefault
DATABASE_URLPostgreSQL connection stringpostgresql://inferia:inferia@localhost:5432/inferia
POSTGRES_DSNAlternative PostgreSQL DSNSame as DATABASE_URL
PG_ADMIN_USERAdmin user for init commandpostgres
PG_ADMIN_PASSWORDAdmin password for init command-

Redis

VariableDescriptionDefault
REDIS_HOSTRedis hostlocalhost
REDIS_PORTRedis port6379
REDIS_DBRedis database number0
REDIS_USERNAMERedis usernamedefault
REDIS_PASSWORDRedis password-

Security & Authentication

VariableDescription
JWT_SECRET_KEYSecret for signing JWTs. Must be changed in production.
INTERNAL_API_KEYSecret for service-to-service communication.
SECRET_ENCRYPTION_KEY32-byte Base64 key for encrypting provider credentials.
LOG_ENCRYPTION_KEY32-byte hex key for encrypting audit logs.
SUPERADMIN_EMAILInitial admin user email.
SUPERADMIN_PASSWORDInitial admin user password.

Service Ports

VariableDescriptionDefault
INFERENCE_PORTInference Gateway port8001
FILTRATION_PORTFiltration Gateway port8000
ORCHESTRATION_PORTOrchestration HTTP port8080
GRPC_PORTOrchestration gRPC port50051

Dashboard (Vite)

Set these in apps/dashboard/.env if running the dashboard separately.

VariableDescriptionDefault
VITE_API_BASE_URLFiltration Gateway URLhttp://localhost:8000
VITE_ORCHESTRATOR_URLOrchestration Gateway URLhttp://localhost:8080

Feature Flags

VariableDescriptionDefault
ENABLE_2FAEnable TOTP two-factor authenticationtrue
GUARDRAIL_PII_DETECTION_ENABLEDEnable PII detectiontrue
GUARDRAIL_ENABLE_GUARDRAILSMaster switch for guardrailstrue
GUARDRAIL_DEFAULT_GUARDRAIL_ENGINEDefault safety providerllm-guard

DePIN / Compute Providers

VariableDescriptionDefault
NOSANA_SIDECAR_URLNosana sidecar service URLhttp://localhost:3000
NOSANA_INTERNAL_API_KEYAuth key for Nosana deployments-
NOSANA_MODEOperation mode (simulation or live)simulation
HF_TOKENHuggingFace token for model downloads-
AKASH_SIDECAR_URLAkash sidecar service URL-

Provider Configuration

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.

On this page