Build the binaries
Clone the repository and run
make build from the project root. This compiles all three binaries into the bin/ directory.Start cara-server
Pass the PostgreSQL connection string via
DATABASE_URL and start the control-plane server. It listens on 0.0.0.0:8080 by default.Start cara-agent
On the same machine (or a different one), start the agent. Provide the server address with The agent self-registers with
SERVER_URL and give the node a name with NODE_NAME.cara-server and immediately begins polling for projects to reconcile.Apply the nginx project manifest
Use The manifest at
caractrl apply to submit the example nginx project. Caravanserai schedules it onto the available node and the agent starts the container.examples/nginx-project.yaml looks like this:nginx-project.yaml
Verify the project is running
List all projects to confirm Expected output:
nginx-demo reached the Running phase:The
examples/ directory contains additional sample manifests, including a multi-service WordPress + MySQL project with volumes. Use them to explore more of what Caravanserai supports.