Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
Automates full production VPS setup on Ubuntu 20.04+ or Debian 11+. Installs Docker, initializes a Swarm cluster, deploys Traefik v3 with automatic Let's Encrypt SSL, Portainer CE, PostgreSQL 14, and Evolution API v2 with Redis. All steps run in order and are idempotent.
Replaces a multi-hour manual setup of Docker Swarm, Traefik routing, SSL certificates, and four interdependent services with a single ordered script that handles dependencies and verification at each step.
When to use it
- Provisioning a fresh VPS for a WhatsApp automation backend
- Setting up a Docker Swarm cluster with a web management UI
- Deploying multiple services behind a reverse proxy with automatic HTTPS
- Installing Evolution API connected to PostgreSQL and Redis on a single node
- Recreating a failed production server from environment variables
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: set up a production VPS at api.example.com with Portainer at portainer.example.com
- 1Sets required env vars: VPS_HOSTNAME, VPS_NETWORK, VPS_EMAIL_SSL, VPS_PORTAINER_DOMAIN, VPS_PORTAINER_USER, VPS_PORTAINER_PASS, VPS_EVOLUTION_DOMAIN
- 2Updates system packages and configures hostname and timezone
- 3Installs Docker via official script and initializes Docker Swarm with the server's public IP
- 4Creates overlay network and required volumes, then deploys Traefik v3 with Let's Encrypt resolver
- 5Deploys Portainer CE, creates the admin account via API, then deploys PostgreSQL 14 and Evolution API v2 with Redis
Running stack: Portainer accessible at https://portainer.example.com, Evolution API at https://api.example.com with generated API key and PostgreSQL credentials printed to console
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.