Zum Inhalt springen
NEUMarktplatz und trig8n Agent: Verkaufen Sie, was Sie bauen, und erhalten Sie Pläne und Änderungen, die getestet sind, bevor Sie sie sehen. Neuigkeiten ansehen

Bibliothek / Code, Git & Entwicklertools

Code, Git & Entwicklertools

Docker-Container über SSH per WHMCS-API verwalten

Wenn ein API-Aufruf eintrifft, verbindet es sich per SSH mit einem Docker-Host, um Container und Dienste zu starten, zu stoppen, zu inspizieren oder Statistiken zu melden, und liefert dann die Antwort zurück.

Was sie bewirkt

## 👋 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

Die Schritte

  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

Insgesamt 33 Schritte.

Ähnliche Automatisierungen