# HTTP API for managing n8n Docker containers via WHMCS/WISECP
This automation template provides an HTTP API built on n8n to remotely manage the lifecycle of Docker containers via external billing systems (WHMCS/WISECP). It enables automated deployment, stopping, monitoring, and reconfiguration of containers, including disk, network, and credential management.
## Who it´s for
- Hosting providers using WHMCS/WISECP to automate dedicated n8n installations.
- Server administrators managing multiple Docker containers via control panels.
- DevOps engineers needing integration between billing and infrastructure.
- Companies offering n8n-based SaaS with isolated environments.
## What the automation does
- Receives authenticated HTTP POST requests from WHMCS/WISECP via webhook.
- Validates domain and command type (deploy, stop, stats, resize, update_password, etc.).
- Executes SSH commands on a remote server to manage Docker containers.
- Collects container and disk usage metrics.
- Updates configuration and recreates containers on plan changes.
- Generates bcrypt hashes and updates passwords in the n8n SQLite database.
- Returns structured JSON responses with operation results (status, errors, metrics).
## What´s included
- Ready-to-use n8n workflow.
- Trigger logic for handling authenticated HTTP requests.
- Integrations with n8n, SSH, Docker, Bash, nginx-proxy, SQLite, HTTP API.
- Basic textual instructions for setup and adaptation.
## Requirements for setup
- Access to n8n instance (capable of importing workflows).
- Remote server with Docker, accessible via SSH.
- Configured nginx-proxy for domain routing.
- WHMCS or WISECP credentials for API calls.
- Basic understanding of Docker, Bash, and HTTP requests.
## Benefits and outcomes
- Full automation of container lifecycle triggered from billing system.
- Reduced manual effort when scaling client deployments.
- Centralized container management via standard API.
- Reliable service health checks and fast response.
- Ability to adjust resources (disk, RAM) via billing without manual intervention.
- Protection against invalid requests through domain and command validation.
## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via chat
No feedback yet