selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

bacalhau logo

Self-host bacalhau

v1.9.5

Distributed compute orchestrator that runs jobs near data

ReleaseOpen SourceApache-2.0
Updatedlast month
LanguageGo
Setup difficultyModerate
Stars
877
Ports
1234 (Bacalhau API server), 4222 (Orchestrator connections (NATS endpoints compute nodes connect to)), 8438 (Web UI, when enabled)
Docker
ghcr.io/bacalhau-project/bacalhau
Install with Docker

What is bacalhau?

Should you self-host bacalhau?

bacalhau scores 54/100 on selfhost.directory (how scoring works) and ranks #3 of 3 in Distributed Computing. It has 877 GitHub stars, +5 in the last 30 days.

It shipped 6 stable releases in the past year. The latest, v1.9.5, came out on 12 October 2026. New versions land roughly every 4 weeks.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is BOINC (62/100, 2 506 stars). It scores higher overall, so compare the two before you pick. See bacalhau vs BOINC side by side.

Features

  • Data-locality-aware scheduling
  • Declarative YAML job specs
  • Distributed job orchestration
  • Fine-grained permissions
  • GPU workloads
  • Local dev stack
  • Multiple Job Types
  • Node labels and placement constraints
  • Resilient operation with intermittent connectivity
  • Result publishing
  • TLS for API and node links
  • WebAssembly execution
  • Web DashboardOff by default, and the WebUI itself has no authentication.

bacalhau README

Bacalhau

Globally Distributed Compute Orchestrator ⚡
Compute Over Data (CoD)


Bacalhau contributors Bacalhau website follow on Twitter

How to install bacalhau

Install bacalhau with Docker

Run an orchestrator node

docker run -p 4222:4222 ghcr.io/bacalhau-project/bacalhau:latest serve --orchestrator

Run a compute node using Docker-in-Docker

docker run --privileged -p 4222:4222
ghcr.io/bacalhau-project/bacalhau:latest-dind
serve --compute -c Compute.Orchestrators=:4222

The base image suits orchestrators, clients or compute nodes without Docker support; the -dind image adds Docker-in-Docker and needs --privileged.

How to configure bacalhau

  • API.Auth.AccessPolicyPath""Path to policy file for API access control
  • API.Host"0.0.0.0"Hostname or IP address on which the API server listens
  • API.Port1234Port number on which the API server listens
  • API.TLS.AutoCert""Domain for automatic certificate generation
  • API.TLS.AutoCertCachePath""Directory to cache auto-generated certificates

bacalhau releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

Can I stop a running job?

Yes, the stop command cancels a job given its ID.

How do I see a job's progress while it's running?

Use the job describe command with the job ID; stdout/stderr output can also be followed with the logs command.

Can I run non-Docker jobs?

Yes, programs can be run through the WebAssembly engine instead.

How do I enable the WebUI?

It is disabled by default for security reasons; turn it on with the WebUI.Enabled config setting.

How do I specify the orchestrator for my compute node?

Set the Compute.Orchestrators config field, optionally with protocol and port, to tell the compute node where to connect.

How do I restrict what nodes my jobs run on?

Describe nodes with key=value labels and use them as conditions when choosing nodes, set with the config command.

Which workload formats can Bacalhau run?

Docker containers and WebAssembly modules; existing containerised tools generally run unmodified.

Is Bacalhau open source?

Yes, the source is on GitHub under the Apache 2.0 license.

Does Bacalhau require data to move to a central cluster?

No; a workload can be scheduled on nodes near the data source and publish only its output, though actual data movement depends on the input source, job spec and chosen node.

When should I use Bacalhau?

When shipping raw data to a central compute system is slow, costly, unreliable or restricted — typical workloads are log processing, fleet operations, regional analytics, ML and edge processing.

What is Bacalhau?

An open-source distributed compute orchestration framework in which an orchestrator schedules jobs and compute nodes run them near their input data.

What is compute over data?

It is an architecture that runs processing close to where data lives, sending the workload to the data instead of moving data and returning just the results.

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…