Deploy Docker NextCloud, API backend for WHMCS/WISECP
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
Nodes used (8)
- If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - Webhook
n8n-nodes-base.webhook - Respond to Webhook
n8n-nodes-base.respondToWebhook - Switch
n8n-nodes-base.switch - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - SSH
n8n-nodes-base.ssh
What it does
Overview The Docker NextCloud WHMCS module leverages a sophisticated workflow for n8n, designed to automate the comprehensive deployment, configuration, and management processes for NextCloud and NextCloud Office services. Through its intuitive API interface, the workflow securely receives commands and orchestrates predefined tasks via SSH on your Docker-hosted server, ensuring streamlined operations and efficient management. Prerequisites - You must deploy your own dedicated n8n server to manage workflows effectively. - Alternatively, you may opt for the official n8n cloud-based solutions accessible via: n8n Official Site - Your Docker server must be accessible via SSH with necessary permissions. Installation Steps Install the Required Workflow on n8n You can select from two convenient installation options: Option 1: Use the Latest Version from the n8n Marketplace - The latest workflow templates are continuously updated and available on the n8n marketplace. - Explore all templates provided by PUQcloud directly here: PUQcloud on n8n Option 2: Manual Installation - Each module version includes a bundled workflow template file. !image - Import this workflow file directly into your n8n server manually. !import workflow n8n Workflow API Backend Setup for WHMCS Configure API Webhook and SSH Access - Create a secure Basic Auth Credential for Webhook API interactions within n8n. !basic auth - Create an SSH Credential within n8n to securely communicate with the Docker host. !ssh credential Modify Template Parameters Adjust and update the following critical parameters to match your deployment specifics: !parameters - serverdomain – Set this to the domain of your WHMCS Docker server. - clientsdir – Specify the directory where user data and related resources will be stored. - mountdir – The standard mount point for container storage (recommended to remain unchanged). Do not alter the following technical parameters to avoid workflow disruption: screenleft, screenright. Deploy-docker-compose Configuration Fine-tune Docker Compose configurations tailored specifically for these critical operational scenarios: - Initial service provisioning and setup - Service suspension and subsequent unlocking - Service configuration updates - Routine service maintenance tasks !docker-compose nginx Configuration Management Enhance and customize proxy server configurations using the dedicated nginx workflow element: - main: Define specialized parameters within the server configuration block. - mainlocation: Set custom headers, caching policies, and routing rules for the root location. !nginx Bash Script Automation Automate Docker container management and related server tasks through dynamically generated Bash scripts within n8n. Scripts execute securely via SSH and provide responses in JSON or plain text formats for easy parsing and logging. - Scripts are conveniently linked directly to the SSH action elements. - You retain complete flexibility to adapt or extend these scripts as necessary to meet your precise operational requirements. !bash scripts