Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

setuporion-byimpa

bởi impa365

DevOps & Cloud
790Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

ĐẦU RA

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

Yêu cầu

  • 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

Cài đặt

clawhub install impa365/setuporion-byimpa

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết