Server#
Prerequisites#
- Docker (or Podman with a Docker-compatible socket)
- A Linux host (Blockyard runs as a container or native binary)
Running with Docker (recommended)#
The easiest way to run Blockyard is as a Docker container with access to the host’s Docker socket:
docker run -d \
--name blockyard \
-p 8080:8080 \
-v /var/run/docker.sock:/var/run/docker.sock \
-v blockyard-data:/data \
-e BLOCKYARD_DOCKER_IMAGE=ghcr.io/rocker-org/r-ver:4.4.3 \
ghcr.io/cynkra/blockyard:latestThis gives Blockyard access to Docker for spawning worker containers, and persists application data (bundles, database) in a named volume.
API authentication requires OIDC configuration and Personal Access Tokens. See the Authorization guide for details.
Running from source#
git clone https://github.com/cynkra/blockyard.git
cd blockyard
go build -o blockyard ./cmd/blockyardCopy and edit the example configuration:
cp blockyard.toml my-config.toml
# Edit my-config.toml — at minimum, set docker.imageRun the server:
./blockyard -config my-config.tomlVerifying the installation#
curl http://localhost:8080/healthz
# => 200 OKCLI#
The by command-line client lets you deploy and manage apps from your
terminal. See the CLI Reference for the full command list.
Download a release binary#
Download the latest binary for your platform from the
releases page and place it
somewhere on your PATH:
# Example for Linux amd64
curl -Lo by https://github.com/cynkra/blockyard/releases/latest/download/by-linux-amd64
chmod +x by
sudo mv by /usr/local/bin/Build from source#
If you have Go 1.25+ installed:
go install github.com/cynkra/blockyard/cmd/by@latestOr clone and build:
git clone https://github.com/cynkra/blockyard.git
cd blockyard
go build -o by ./cmd/by
sudo mv by /usr/local/bin/Verify#
by --helpLog in#
After installing, authenticate against your Blockyard server:
by login --server https://blockyard.example.comThis opens your browser to create a Personal Access Token and stores the
credentials in ~/.config/by/config.json. See Quick Start
for a full walkthrough.