Skip to main content

Installing Infrahub

This guide provides step-by-step instructions for installing Infrahub Community and Enterprise editions. The installation methods covered here are for non-resilient deployment architectures suitable for development, testing, and single-node production environments.

For resilient, high-availability deployments, refer to the high availability architecture documentation.

Prerequisites

  • Ensure your system meets the hardware requirements before installing Infrahub
  • Each installation method has additional prerequisites listed in their respective sections
info

Allocating more CPU cores to the Neo4j database will only improve performance on Infrahub Enterprise as it leverages parallel query execution.

Community

Infrahub Community is deployed as a container-based architecture and can be installed using several methods.

Using curl and Docker Compose

To quickly spin up the latest Infrahub locally, retrieve the Docker Compose file from infrahub.opsmill.io.

You can also specify a specific version or the develop branch in the URL:

Prerequisites

Start an Infrahub environment

curl https://infrahub.opsmill.io | docker compose -p infrahub -f - up -d

After running the command, you should see Docker downloading the necessary images and starting the containers.

success

Verify that Infrahub is running by accessing the web interface or checking container status:

docker ps | grep infrahub

Stop and remove an Infrahub environment

curl https://infrahub.opsmill.io | docker compose -p infrahub -f - down -v

EnterpriseEnterprise Edition

Infrahub Enterprise is based on the Community version, with several enhancements for:

  • Enterprise features
  • High availability
  • Better performance
  • Security hardening (Docker image, etc.)

Infrahub Enterprise can be deployed using the same methods as Infrahub Community.

Using curl and Docker Compose

To quickly spin up the latest Infrahub Enterprise locally, retrieve the Docker Compose file from infrahub.opsmill.io/enterprise.

You can also specify a specific version in the URL:

Prerequisites

Start an Infrahub Enterprise environment

curl https://infrahub.opsmill.io/enterprise | docker compose -p infrahub -f - up -d

Stop and remove an Infrahub Enterprise environment

curl https://infrahub.opsmill.io/enterprise | docker compose -p infrahub -f - down -v