Infrastructure-as-code for deploying OpenClaw on a Hetzner Cloud VPS inside Docker.
- Terraform provisions the VPS and firewall
- Ansible handles all deployment tasks — idempotent, dry-run capable, single command for every scenario (runs locally only, never in CI)
- Docker Compose runs OpenClaw gateway + headless Chromium on the VPS
- All day-to-day operations go through
make
Architecture
| |
Next Steps
- Installation — install prerequisites, clone the repo, and configure secrets and Terraform
- Deployment & Bootstrap — provision the VPS, bootstrap containers, and verify the deployment