setuporion-byimpa
impa365 tarafından
DevOps & CloudÖzet
Setup completo de VPS Ubuntu/Debian para produção com Docker Swarm, Traefik v3 (SSL/HTTPS automático), Portainer CE.
Açıklama
Bu Beceri Ne Yapar
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.
Ne Zaman Kullanılır
- 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
Örnek İş Akışı
User asks: set up a production VPS at api.example.com with Portainer at portainer.example.com
- 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
Updates system packages and configures hostname and timezone
- 3
Installs Docker via official script and initializes Docker Swarm with the server's public IP
- 4
Creates overlay network and required volumes, then deploys Traefik v3 with Let's Encrypt resolver
- 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
Gereksinimler
- 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
Kurulum
clawhub install impa365/setuporion-byimpaCLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.