Deploy OpenClaw in 3 Steps
Connect Your VPS
Add your server credentials to Server Compass
Select OpenClaw
Choose from our template library
Deploy & Configure
Fill in settings and click Deploy
Deploy OpenClaw Yourself
Want full control? Here's how to deploy OpenClaw yourself using Docker Compose.
Establish SSH Connection
Connect to your remote server using SSH. Make sure you have your server credentials ready.
# Log into your server
ssh root@<your-server-ip>
# If using key-based auth
ssh -i ~/.ssh/my-key root@<your-server-ip>First time? Docker not installed? Run: curl -fsSL https://get.docker.com | sh
Create Project Directory
Set up a directory to store your Docker configuration.
# Create and navigate to project directory
mkdir -p ~/apps/openclaw
cd ~/apps/openclawConfigure Docker Compose
Add this configuration to your docker-compose.yml file:
services:
openclaw-gateway:
build:
context: .
dockerfile: Dockerfile
ports:
- "127.0.0.1:18789:18789"
- "127.0.0.1:18790:18790"
environment:
HOME: "/home/node"
TERM: "xterm-256color"
NODE_ENV: "production"
OPENCLAW_GATEWAY_TOKEN: "<your-gateway-token>"
volumes:
- ./.openclaw:/home/node/.openclaw
- ./.openclaw/workspace:/home/node/.openclaw/workspace
init: true
restart: unless-stopped
command:
- "openclaw"
- "gateway"
- "--allow-unconfigured"
- "--bind"
- "lan"
- "--port"
- "18789"
PORTGateway host port(default: 18789)BRIDGE_PORTBridge host port(default: 18790)GATEWAY_TOKENGateway authentication tokenStart the Services
Execute the deployment and check the container status.
# Deploy the application
docker compose up -d
# Check container health
docker compose ps
# Monitor logs
docker compose logs -f --tail=100Allow Incoming Connections
Enable network access by updating your firewall rules.
# Allow the application port through firewall
sudo ufw allow 18789/tcp
sudo ufw reload
# Access your app at:
# http://your-server-ip:18789Too complicated? Let Server Compass handle it.
Skip the terminal and deploy OpenClaw with a visual interface. Configure everything with clicks, not commands.
- Intuitive dashboard
- Deploy in 3 minutes
- Free SSL included
- Blue-green deploys
- Real-time logs
- Version history
After Deployment
After deploying OpenClaw with Server Compass, complete these steps to finish setup
Open an SSH tunnel via Server Compass to access the Gateway UI
Authenticate with your GATEWAY_TOKEN
Configure Claude API keys in the Control UI
Need help? Check out our documentation for detailed guides.
OpenClaw FAQ
Common questions about self-hosting OpenClaw
How do I deploy OpenClaw with Server Compass?
Simply download Server Compass, connect to your VPS, and select OpenClaw from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.
What are the system requirements for OpenClaw?
OpenClaw requires a minimum of 256MB RAM. We recommend a VPS with at least 1024MB RAM for optimal performance. Any modern Linux server with Docker support will work.
Can I migrate my existing OpenClaw data?
Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard OpenClaw backup and restore procedures.
How do I update OpenClaw to the latest version?
Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest OpenClaw image will be pulled and deployed with zero downtime.
Is OpenClaw free to self-host?
OpenClaw is open-source software. You only pay for your VPS hosting (typically $5-20/month) and optionally Server Compass ($29 one-time). No subscription fees or per-seat pricing.
Related Templates
View all Development
PocketBase
Open-source backend in a single file with realtime database, auth, and file storage

Appwrite
Open-source backend-as-a-service - self-hosted Firebase alternative

Parse Server
Open-source backend framework with dashboard

Supabase
Full Supabase self-hosted with Kong, GoTrue Auth, Realtime, and Studio
Ready to Self-Host OpenClaw?
Download Server Compass and deploy OpenClaw to your VPS in under 3 minutes. No Docker expertise required.
Download Server Compass