For a faster getting-started experience, see the Quickstart Guide.
Prerequisites
System requirements
Minimum requirements for running Infrahub:- CPU: 2 cores (4+ recommended for production)
- RAM: 4GB minimum (8GB+ recommended for production)
- Storage: 20GB available disk space
- OS: Linux, macOS, or Windows with WSL2
Software dependencies
- Docker Compose
- Kubernetes
- Docker Desktop 4.0+ or Docker Engine 20.10+
- Docker Compose 2.0+
- curl (for downloading files)
Installation methods
- Docker Compose
- Kubernetes
- Development (Invoke)
Docker Compose is the recommended method for development, testing, and small production deployments.This command starts all required services:
Quick installation
Start Infrahub
- infrahub-server: FastAPI backend serving the GraphQL API and REST endpoints
- database: Neo4j 2025.10.1 graph database
- message-queue: RabbitMQ 4.2.1 for asynchronous messaging
- cache: Redis 8.4.0 for caching and session storage
- task-manager: Prefect server for workflow orchestration
- task-manager-db: PostgreSQL 18 for Prefect metadata
- task-worker: Background workers (2 replicas by default)
Service architecture
The Docker Compose deployment includes these interconnected services:Exposed ports
| Service | Port | Description |
|---|---|---|
| infrahub-server | 8000 | Web UI, GraphQL API, REST API |
| database | 2004 | Neo4j Bolt protocol (optional) |
| database | 6362 | Neo4j HTTP (optional) |
| message-queue | 15692 | RabbitMQ metrics (optional) |
Data persistence
Docker Compose creates named volumes for data persistence:database_data: Neo4j graph databasedatabase_logs: Neo4j logsstorage_data: Artifact and file storageworkflow_db: Prefect databaseworkflow_data: Workflow state and logs
Updating Infrahub
Troubleshooting
Services fail to start:- Check available resources:
docker stats - Ensure ports 8000, 2004, 6362, 15692 are not in use
- Review logs:
docker compose logs
- The first start can take 1-2 minutes as Neo4j initializes
- Check database logs:
docker compose logs database
- Verify all services are healthy:
docker compose ps - Check firewall rules allow access to port 8000
- Ensure Docker network is functioning:
docker network ls
Post-installation steps
After installing Infrahub:Next steps
Quickstart
Follow the quickstart guide to create your first objects.
Core Concepts
Learn about schemas, branches, and transformations.
Schema Library
Browse community-maintained schemas for common use cases.
Configuration Reference
Explore all available configuration options.