Aller au contenu
TakoAPI
Retour aux skills

setuporion-byimpa

par impa365

DevOps & Cloud
790Téléchargements rapportés par clawskills.sh
0Vues
0 mention J'aimeConnecte-toi pour aimer ce skill
—Pas encore noté
Ta note

Résumé

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

Description

Ce que fait ce 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.

Quand l'utiliser

  • 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

Exemple de workflow

ENTRÉE

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

AGENT
  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

SORTIE

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

Prérequis

  • 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

Installation

clawhub install impa365/setuporion-byimpa

Exécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.

Liens