Saltar al contenido
TakoAPI
Volver a skills

setuporion-byimpa

por impa365

DevOps & Cloud
790Descargas según clawskills.sh
0Vistas
0 me gustaInicia sesión para dar me gusta a esta skill
—Aún sin valoraciones
Tu valoración

Resumen

Setup completo de VPS Ubuntu/Debian para produção com Docker Swarm, Traefik v3 (SSL/HTTPS automático), Portainer CE.

Descripción

Qué hace esta skill

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.

Cuándo usarla

  • 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

Flujo de trabajo de ejemplo

ENTRADA

User asks: set up a production VPS at api.example.com with Portainer at portainer.example.com

AGENTE
  1. 1

    Sets required env vars: VPS_HOSTNAME, VPS_NETWORK, VPS_EMAIL_SSL, VPS_PORTAINER_DOMAIN, VPS_PORTAINER_USER, VPS_PORTAINER_PASS, VPS_EVOLUTION_DOMAIN

  2. 2

    Updates system packages and configures hostname and timezone

  3. 3

    Installs Docker via official script and initializes Docker Swarm with the server's public IP

  4. 4

    Creates overlay network and required volumes, then deploys Traefik v3 with Let's Encrypt resolver

  5. 5

    Deploys Portainer CE, creates the admin account via API, then deploys PostgreSQL 14 and Evolution API v2 with Redis

SALIDA

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

Requisitos

  • VPS_HOSTNAME environment variable
  • VPS_NETWORK environment variable
  • VPS_EMAIL_SSL environment variable (email for Let's Encrypt certificates)
  • VPS_PORTAINER_DOMAIN environment variable
  • VPS_PORTAINER_USER environment variable
  • VPS_PORTAINER_PASS environment variable (minimum 12 characters)
  • VPS_EVOLUTION_DOMAIN environment variable
  • Ubuntu 20.04+ or Debian 11+ VPS with root or sudo access

Instalación

clawhub install impa365/setuporion-byimpa

Ejecuta el comando de la CLI o pega el prompt en Claude Code, Cursor, Codex o el agente de programación que uses.

Enlaces