Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Code, Git & Developer Tools

Code, Git & Developer Tools

Manage Docker Containers over SSH via a WHMCS API

When an API call arrives, it connects over SSH to a Docker host to start, stop, inspect or report stats on containers and services, then returns the answer.

What it does

## 👋 Welcome to PUQ Docker n8n deploy! ## Template for n8n: API Backend for WHMCS/WISECP by PUQcloud v.1 This is an n8n template that creates an API backend for the WHMCS/WISECP module developed by PUQcloud. ## Setup Instructions ### 1. Configure API Webhook and SSH Access - Create a Credential (Basic Auth) for the Webhook API Block in n8n. - Create a Credential for SSH access to a server with Docker installed (SSH Block). ### 2. Modify Template Parameters In the Parameters block of the template, update the following settings: - server_domain – must match the domain of the WHMCS/WISECP Docker server. - clients_dir – directory where user data related to Docker and disks will be stored. - mount_dir – default mount point for the container disk (recommended not to change). Do not modify the following technical parameters: - screen_left - screen_right ## Additional Resources - Documentation: https://doc.puq.info/books/docker-n8n-whmcs-module/page/setting-up-n8n-workflow - WHMCS module: https://puqcloud.com/whmcs-module-docker-n8n.php

The steps

  1. If
  2. Parametrs
  3. API
  4. 422-Invalid server domain
  5. Code1
  6. SSH
  7. Container Actions
  8. Service Actions
  9. Container Stats
  10. API answer
  11. Inspect
  12. Stat
  13. Start
  14. Stop

33 steps in total.

Similar automations