InferiaLLM
Setup & Configuration

Quick Configuration

Essential environment variables to get started

For a complete configuration reference, see Platform Configuration.

Minimum Required Variables

Create a .env file with these essential variables:

# Database
DATABASE_URL=postgresql://inferia:inferia@localhost:5432/inferia

# Redis
REDIS_HOST=localhost
REDIS_PORT=6379

# Security (CHANGE THESE IN PRODUCTION!)
JWT_SECRET_KEY=your-secret-key-here
INTERNAL_API_KEY=your-internal-key-here
SECRET_ENCRYPTION_KEY=your-32-byte-base64-key

# Initial Admin Account
SUPERADMIN_EMAIL=admin@example.com
SUPERADMIN_PASSWORD=admin123

Generating Secure Keys

# Generate JWT_SECRET_KEY and INTERNAL_API_KEY
openssl rand -hex 32

# Generate SECRET_ENCRYPTION_KEY (32-byte base64)
python -c "import secrets, base64; print(base64.b64encode(secrets.token_bytes(32)).decode())"

Service Ports

ServiceDefault Port
Filtration Gateway8000
Inference Gateway8001
Orchestration Gateway8080
Dashboard3001

Next Steps

On this page