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=admin123Generating 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
| Service | Default Port |
|---|---|
| Filtration Gateway | 8000 |
| Inference Gateway | 8001 |
| Orchestration Gateway | 8080 |
| Dashboard | 3001 |
