Docs.
Hardvoxel is alpha. Run it from source, point it at a prebuilt image, and keep the host you already have.
Requirements
- Node.js 22 or newer
- Docker Engine, running locally
- git
Quickstart
Clone the repository and install the workspace:
git clone https://github.com/petermichon/hardvoxel.git cd hardvoxel bun install
Create a hardvoxel.json next to where you run the command:
{
"project": "hello",
"services": {
"web": {
"image": "nginx:1.27-alpine",
"ports": ["8080:80"]
}
}
}Start it:
node packages/cli/bin/hardvoxel.js up
Open http://localhost:8080.
Commands
- up
- Pull and start every service.
- down
- Remove the project's containers.
- status
- Show the project's containers.
- logs <service>
- Follow one service's logs.
- help
- Show the command list.
Configuration
| Field | Required | Rules |
|---|---|---|
| project | Yes | Lowercase letters, digits, and dashes. |
| services | Yes | At least one service. |
| image | Yes | Any image reference Docker can pull. |
| ports | No | Strings like "8080:80". |
| env | No | Object of string, number, or boolean values. |
| volumes | No | Strings like "./data:/data". |
| restart | No | Docker restart policy; defaults to unless-stopped. |
What it does not do
- No builds. You build and push the image.
- No Compose files, networks, dependencies, or health checks.
- No domains or TLS. Put a reverse proxy in front if you need them.
- No hosted service. The CLI runs on your host.
- No multi-server pooling yet. The current CLI targets one Docker host.
Roadmap
- Now: single-host CLI with one config.
- Next: init, health checks, start order, and networks.
- Later: multi-server capacity pooling across machines.
See also features and about the project.