Перейти к содержимому
TakoAPI
Назад к навыкам

setuporion-byimpa

от impa365

DevOps & Cloud
790Число загрузок по данным clawskills.sh
0Просмотры
0 лайковВойдите, чтобы поставить лайк навыку
—Ещё нет оценок
Ваша оценка

Кратко

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

Описание

Что делает этот навык

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.

Когда его использовать

  • 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

Пример сценария

ВВОД

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

АГЕНТ
  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

ВЫВОД

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

Требования

  • 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

Установка

clawhub install impa365/setuporion-byimpa

Выполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.

Ссылки