Prerequisites¶
Before setting up the Fraud Intelligence Platform, ensure your system meets the following requirements.
System Requirements¶
| Resource | Minimum | Recommended | Notes |
|---|---|---|---|
| RAM | 12 GB | 16 GB | Docker alone needs 8 GB allocated |
| CPU | 4 cores | 8 cores | Spark streaming benefits from parallelism |
| Disk | 20 GB free | 40 GB free | Docker images + Iceberg data lake |
| OS | macOS 13+, Ubuntu 22.04+, Windows 11 (WSL2) | macOS 14+ (Apple Silicon) | Native ARM64 images used where available |
Memory is the primary constraint
The full platform runs 16 Docker services. With 16 GB total RAM, allocate 8 GB to Docker Desktop and leave 8 GB for the host OS. Services are tuned for this budget — do not reduce Docker memory below 8 GB.
Required Software¶
Docker Desktop¶
Docker Desktop 4.25+ with Docker Compose v2 is required for running the platform.
Docker Desktop Configuration¶
Open Docker Desktop Settings > Resources and apply:
| Setting | Value |
|---|---|
| Memory | 8.00 GB |
| CPUs | 4 (minimum) |
| Swap | 2 GB |
| Disk image size | 60 GB |
Apply and restart
After changing resource limits, click Apply & Restart. Verify with:
Python 3.11+¶
Python is required for the backend API, ML pipeline, and Airflow DAGs.
Verify installation:
Node.js 20+¶
Node.js is required for building the React frontend dashboard.
Verify installation:
Git¶
Verify installation:
GNU Make¶
Optional Software¶
These tools are not required but enhance the development experience.
| Tool | Purpose | Install |
|---|---|---|
| kubectl | Kubernetes deployment (optional path) | brew install kubectl |
| helm | Kubernetes package management | brew install helm |
| k9s | Kubernetes TUI dashboard | brew install k9s |
| jq | JSON processing for API debugging | brew install jq |
| httpie | Human-friendly HTTP client | brew install httpie |
| lazydocker | Docker TUI dashboard | brew install lazydocker |
Apple Silicon (ARM64) Compatibility¶
Native ARM64 support
All services use ARM64-native images on Apple Silicon Macs. No Rosetta emulation is needed for the core platform.
| Service | ARM64 Status | Notes |
|---|---|---|
| Kafka (KRaft) | Native | confluentinc/cp-kafka ARM64 images |
| Spark | Native | bitnami/spark multi-arch |
| MinIO | Native | Official ARM64 build |
| PostgreSQL | Native | Official ARM64 build |
| Nessie | Native | JVM-based, architecture-independent |
| Airflow | Native | Official apache/airflow ARM64 |
| Redis | Native | Official ARM64 build |
| Ollama | Native | Metal GPU acceleration on M-series |
| ChromaDB | Native | Python-based |
| Prometheus | Native | Official ARM64 build |
| Grafana | Native | Official ARM64 build |
Ollama GPU acceleration
On Apple Silicon, Ollama automatically uses Metal for GPU-accelerated inference. The phi3:mini model runs significantly faster on M1/M2/M3 compared to CPU-only execution on Intel Macs.
Verification Checklist¶
Run these commands to verify all prerequisites are met:
# Docker
docker --version # Docker version 24.0+
docker compose version # Docker Compose version v2.20+
# Python
python3 --version # Python 3.11+
# Node.js
node --version # v20+
npm --version # 10+
# Git
git --version # git version 2.39+
# Make
make --version # GNU Make 3.81+
Or use the built-in verification script:
Ready to proceed
Once all required tools are installed and Docker Desktop is configured with 8 GB RAM, proceed to the Quick Start guide.
Next Steps¶
- Quick Start Guide — Get the platform running in 5 minutes
- Configuration Reference — Customize environment variables