Installation
Deployment profiles
Post-install setup
1
Generate API keys
iwk_scan_…) and an admin key (iwk_admin_…) and writes them to .env.local.2
Set environment variables
Export the generated keys before starting the server:Or source the generated file directly:
3
Start the server
0.0.0.0:8000 by default.4
Install ML models (Standard and Full only)
If you installed the Models are cached in
standard or full profile, download the ML models:~/.cache/inferwall/models/ and downloaded from HuggingFace (~730 MB for Standard).5
Run a health check
Confirm the server is up and signatures are loaded:
In development, you can skip API key setup entirely. Run
inferwall serve without setting IW_API_KEY or IW_ADMIN_KEY and scan without any Authorization header. Dev mode is not suitable for production.Environment variables
TLS modes
Redis for distributed sessions
SetIW_REDIS_URL to enable distributed rate limiting and session state across multiple InferenceWall instances:
Health check endpoints
Further reading
Environment variables reference
Complete list of all environment variables with types, defaults, and valid values.
Health API
Response schemas for the liveness, readiness, and full health endpoints.