Skip to content

Latest commit

 

History

History

README.md

OpenClaw DigitalOcean Deployment

Production OpenClaw deployment on DigitalOcean droplet.

Deployment Details

Bot: @your_bot_username IP: YOUR_DROPLET_IP Tailscale IP: YOUR_TAILSCALE_IP Region: ATL1 Specs: 2 vCPU, 4GB RAM (Intel) OS: Ubuntu 24.04 LTS Port: 18789

Model Configuration:

  • Primary: Kimi K2.5 (via OpenRouter)
  • Fallback: NVIDIA Kimi K2.5, Claude Sonnet 4.5
  • Web Search: Perplexity Sonar Pro (via OpenRouter)

Quick Access

# SSH to droplet
ssh root@YOUR_DROPLET_IP

# SSH via Tailscale
ssh root@YOUR_TAILSCALE_IP

# View logs
journalctl -u openclaw-gateway.service -f

# Restart service
systemctl restart openclaw-gateway.service

# Health check (UI responds with HTML)
curl -I http://YOUR_DROPLET_IP:18789/

Documentation

See SETUP.md for complete installation guide covering:

  1. Prerequisites
  2. Installation (10 steps)
  3. Telegram Configuration
  4. Operations & Monitoring
  5. Troubleshooting
  6. Security Hardening
  7. Optional: DNS & HTTPS

Template Files

Configuration templates for deployment:

Configuration Files

On droplet:

  • /home/openclaw/openclaw/.env - Environment variables (API keys, secrets)
  • /home/openclaw/.openclaw/openclaw.json - OpenClaw configuration
  • /etc/systemd/system/openclaw-gateway.service - systemd service definition

Gitignored (local only):

  • .env.connection - Connection details and quick commands

Common Commands

# Service management
systemctl status openclaw-gateway.service
systemctl restart openclaw-gateway.service
journalctl -u openclaw-gateway.service -f
journalctl -u openclaw-gateway.service -n 100 --no-pager

# Configuration
nano /home/openclaw/.openclaw/openclaw.json
nano /home/openclaw/openclaw/.env

# Monitoring
htop
df -h
free -h
ss -tulpn | grep 18789

# Updates
cd /home/openclaw/openclaw
git pull origin main
pnpm install && pnpm build
systemctl restart openclaw-gateway.service

# Backup
tar -czf ~/openclaw-backup-$(date +%Y%m%d).tar.gz /home/openclaw/.openclaw

API Dashboards

Support

For troubleshooting, see SETUP.md Troubleshooting section or check: