Skip to main content

Install Infrahub Enterprise Enterprise 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:

You can also specify a sizing preset in the URL. This will automatically configure replica count for each component according to your sizing plan:

SizeTotal required memoryAPI workersTask workersTask manager API workersTask manager background workersDB heap sizeDB page cache size
small16 GB42118G1G
medium32 GB442224G4G
medium-data32 GB421124G4G
large64 GB484231G16G
large-data64 GB421131G16G

Prerequisites​

Start an Infrahub Enterprise environment​

curl https://infrahub.opsmill.io/enterprise > docker-compose.yml
docker compose -p infrahub up -d

Stop and remove an Infrahub Enterprise environment​

curl https://infrahub.opsmill.io/enterprise > docker-compose.yml
docker compose -p infrahub down -v

Enable observability​

To deploy Infrahub with a built-in observability stack (Grafana, Prometheus, Loki, Alloy), add the ?observability=true query parameter to the URL. This can be combined with existing parameters like size:

curl "https://infrahub.opsmill.io/enterprise?observability=true" > docker-compose.yml
docker compose -p infrahub up -d

Combined with a sizing preset:

curl "https://infrahub.opsmill.io/enterprise?size=small&observability=true" > docker-compose.yml

Once running, Grafana is accessible at http://localhost:3500 with default credentials admin / admin.

For instructions on upgrading an existing observability stack, see the Upgrade guide.

Enable request tracing

Infrahub can export OpenTelemetry traces so you can follow a single request as it moves across the API server, task workers, and the database. Traces are sent to the bundled Tempo instance and surfaced in Grafana under the Tempo data source.

To enable it, add the following to a .env file alongside the compose file:

INFRAHUB_TRACE_ENABLE=true
INFRAHUB_TRACE_EXPORTER_TYPE=otlp
INFRAHUB_TRACE_EXPORTER_PROTOCOL=grpc
INFRAHUB_TRACE_EXPORTER_ENDPOINT=http://infrahub-tempo:4317
INFRAHUB_TRACE_INSECURE=true