Self-host bacalhau
v1.9.5Distributed compute orchestrator that runs jobs near data
- Stars
- 877
- Ports
- 1234 (Bacalhau API server), 4222 (Orchestrator connections (NATS endpoints compute nodes connect to)), 8438 (Web UI, when enabled)
ghcr.io/bacalhau-project/bacalhauWhat is bacalhau?
Bacalhau is an open-source orchestration framework for distributed compute, aimed at teams whose data is too large, too slow to move, or too restricted to ship to a central cluster. Instead of transferring datasets, it schedules work onto compute nodes sitting near the data, across edge devices, on-premises machines and cloud regions, and publishes only the results. A single self-contained binary plays every role: client, orchestrator, and compute node, and a hybrid mode runs orchestrator plus compute in one process. Workloads execute as Docker containers or WebAssembly modules, in four job shapes (batch, ops, daemon, service), submitted either imperatively through the CLI or declaratively from a YAML spec. Inputs come from local paths, S3-compatible buckets, IPFS or plain HTTP/HTTPS URLs, and outputs can be written back to local volumes, S3 or IPFS. Operating it means installing the binary with a one-line script (or pulling the ghcr.io container image), starting an orchestrator, then attaching compute nodes pointed at it; a devstack command spins up a throwaway local network, and Docker Compose examples cover multi-node testing. An optional web dashboard, disabled by default and lacking its own login screen, shows jobs, nodes, logs and resource use. Access to the API is guarded by locally configured username and password accounts, opaque bearer keys, or device-code based single sign-on against an external identity provider, with capability-based permissions per resource. The code is Apache-2.0 licensed, apart from the project's name and logos.
bacalhau alternatives
nanoclNanocl is a self-hosted, open-source orchestrator for containers and VMs using declarative Statefiles to manage workloads on your infrastructure.Comparenanocl with bacalhau
NomadSelf-hosted Nomad clusters schedule containers, VMs, binaries and batch jobs on Linux, Windows or macOS and need no external datastore.CompareNomad with bacalhau
prefectPrefect is a self-hosted, open-source workflow orchestration framework turning Python functions into production data pipelines with scheduling, retries, and caching.Compareprefect with bacalhau
DaguSelf-hosted, open-source workflow orchestrator: declarative YAML DAGs run shell, Docker, Kubernetes and SSH steps from one binary, no database required.CompareDagu with bacalhau
uncloudSelf-hosted, open-source Docker clustering tool: WireGuard mesh, Compose deploys, automatic HTTPS — an alternative to Kubernetes and Swarm.Compareuncloud with bacalhau
dockgeA self-hosted, open-source web UI for Docker Compose stacks: create, edit and deploy compose.yaml files, with a live web terminal and multi-host agents.Comparedockge with bacalhau
databendSelf-hosted, open-source data warehouse in Rust for large-scale analytics plus vector and full-text search, with Python UDF sandboxes and git-like data branching.Comparedatabend with bacalhau
docker-gha-runnerDocker-based self-hosted GitHub Actions runner with stateless execution, platform emulation, and Docker-in-Docker support.Comparedocker-gha-runner with 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.
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.
More in Distributed Computing
BOINCOpen-source platform for volunteer and grid computing: run your own project server on Linux with Apache and MySQL, and let clients donate idle CPU and GPU time.
fishnetfishnet is a self-hosted, open-source client that contributes CPU power to run distributed Stockfish chess analysis for lichess.org.
GridcoinSelf-hosted, open-source Gridcoin node and wallet that pays GRC for BOINC volunteer computing, with staking, researcher beacons, on-chain voting and RPC control.
LumabriLumabri is a self-hosted, open-source system for running LLMs across LAN computers by distributing layers with donor approval, offering terminal and web chat.
AI GridAI Grid is a self-hosted, open-source orchestrator that pools your computers into a single OpenAI-compatible endpoint for local LLM inference and training.
0 comments