OpenClaw deployment preset
Run OpenClaw like you mean it.
RunClawd is a curated Docker Compose preset repository for OpenClaw. It gives you an opinionated, production-oriented deployment with a one-line installer.
Docker Compose
Caddy reverse proxy
Cloudflare Tunnel
Socket proxy
Persistence
Opinionated defaults
Ships a ready-to-run stack: gateway, web terminal, reverse proxy, optional public tunnel, and persistence.
Production-minded
Avoids mounting Docker socket directly into the app; uses a Docker socket proxy with a limited API surface.
Fast onboarding
Installer prints the onboarding URL, gateway token, basic auth password, and tunnel URL when ready.
Install
Linux host. Run as root.
curl -fsSL https://get.runclawd.sh -o get-runclawd.sh
sudo bash get-runclawd.sh
Options
Rebuild the runclawd image before starting services:
sudo bash get-runclawd.sh --build
Use a named Cloudflare Tunnel token (instead of quick tunnel):
export CF_TUNNEL_TOKEN=...
export SERVICE_FQDN_OPENCLAW=openclaw.example.com
sudo --preserve-env=CF_TUNNEL_TOKEN,SERVICE_FQDN_OPENCLAW bash get-runclawd.sh
Local development mode (run from the current directory):
bash get-runclawd.sh --local
What you get
A Compose stack that runs:
- OpenClaw Gateway (runclawd container)
- Web terminal (ttyd)
- Caddy reverse proxy routes: /, /term/, /openclaw/
- Optional ephemeral public access via Cloudflare Tunnel
- Persistent volume for OpenClaw state and workspace
- Web terminal (ttyd)
- Caddy reverse proxy routes: /, /term/, /openclaw/
- Optional ephemeral public access via Cloudflare Tunnel
- Persistent volume for OpenClaw state and workspace
Repository
Device Approval
Required for first access
1. List devices to find the Request ID (UUID):
openclaw devices list
2. Approve using the Request ID:
openclaw devices approve <request_id>