PUQ Mautic

Docker MinIO WHMCS module

A module for WHMCS that uses n8n workflows to deploy the MinIO service using Docker.

Description

Docker MinIO module WHMCS 

 Order now | Download | FAQ | n8n

Before you start, it is important to read and familiarize yourself with the following articles at this link:
https://doc.puq.info/books/docker-modules

The WHMCS Docker MinIO module is designed for automated provisioning and management of MinIO instances on a Docker server. It seamlessly integrates with WHMCS, allowing businesses to sell and manage MinIO services efficiently.


Key Features

🚀 Automated Container Management

🔒 Service Control & Security

🛠️ Advanced Diagnostic Tools

🌍 Multilingual Support

⚙️ Fully Customizable Workflows


System Requirements

To run the WHMCS Docker MinIO module, ensure you have:
WHMCS version 8+
An n8n server for workflow automation
A server with Docker installed for container management (Installation Guide)


Installation & Setup

1️⃣ Environment Preparation

2️⃣ Module Installation

3️⃣ Workflow Customization

4️⃣ Testing & Deployment


Why Choose This Module?

Seamless automation – Reduces manual work and speeds up service deployment.
Highly customizable – Modify workflows to fit any business model.
User-friendly – Integrated within WHMCS with a simple setup process.


This module makes selling and managing MinIO instances through WHMCS easy, automated, and flexible! 🚀

image-1741972544431.png

image-1741972584836.png

image-1741972936630.png

 

 

What is MinIO

Docker MinIO module WHMCS 

 Order now | Download | FAQ | n8n

MinIO is an open-source object storage solution that is fully compatible with Amazon S3. It is designed for storing large amounts of unstructured data such as files, images, videos, backups, and logs. MinIO provides a high-performance alternative to traditional storage solutions, offering scalability, security, and ease of use.

Key Features of MinIO:

  1. Amazon S3 Compatibility
    MinIO is designed to be fully compatible with the Amazon S3 API. This means that applications that interact with S3 can seamlessly work with MinIO without any changes to the codebase. It provides the same object storage functionality that developers are used to with S3, making it easy to migrate or integrate with existing systems.

  2. High Performance
    MinIO is built for high-performance applications. It is optimized to handle large-scale data and provide fast throughput, making it suitable for storing and serving massive datasets. Its low-latency and high throughput capabilities make it ideal for data-intensive applications like AI/ML workloads, big data storage, and video streaming.

  3. Scalability
    MinIO can scale easily from a single server to a distributed cluster. It supports high availability and can handle petabytes of data across a large number of nodes. Whether you're starting with a small deployment or expanding to a global system, MinIO provides the scalability you need to grow without major reconfiguration.

  4. Security
    Security is a top priority in MinIO. It supports end-to-end encryption, both in transit (using TLS) and at rest (using AES-256 encryption). Access control policies and fine-grained permissions help ensure that only authorized users can access your data. MinIO also supports bucket versioning and data redundancy to protect against data loss.

  5. Simplicity
    MinIO is designed to be simple to deploy and manage. It can be run as a single binary, making it easy to install and configure. It supports Docker and Kubernetes, allowing you to deploy it in containerized environments or cloud-native architectures. Additionally, MinIO's web interface provides a user-friendly way to manage and monitor your storage.

  6. Use Cases
    MinIO is used in a variety of scenarios, including:

    • Cloud Storage: Build your own private cloud storage solution.
    • Big Data: Store and manage large datasets for analytics and processing.
    • Backup: Create reliable, cost-effective backup solutions.
    • AI/ML: Store training datasets and models for machine learning applications.
    • Media and Streaming: Serve high-resolution images, videos, and audio files.

Why Choose MinIO?

MinIO stands out for its simplicity, performance, and compatibility with existing tools and applications. It's an ideal choice for businesses and developers looking to build scalable, secure, and cost-effective object storage solutions. MinIO’s open-source nature makes it an affordable alternative to proprietary cloud storage services like Amazon S3, while still offering many of the same features and capabilities.

Whether you’re building a new application or migrating an existing system, MinIO offers a powerful and flexible storage solution that can meet your needs as they evolve.

Changelog

Docker MinIO module WHMCS 

 Order now | Download | FAQ | n8n
v1.0 Released 17-03-2025

First version

Installation and configuration guide

Installation and configuration guide

Basic concepts and requirements

Docker MinIO module WHMCS 

 Order now | Download | FAQ | n8n

Before you start, it is important to read and familiarize yourself with the following articles at this link:
https://doc.puq.info/books/docker-modules

The WHMCS Docker MinIO module is part of the WHMCS Docker module series developed by PUQcloud. This module enables service providers to offer MinIO Docker containers as a service to their clients, allowing for seamless automation and integration.

The system consists of three core components:

🖥️ WHMCS Module

The core component, installed in WHMCS, manages service provisioning and automation from the WHMCS side.

📡 Debian 12 Server

A server running Debian 12 with the following pre-installed:
Docker – For container management

We have prepared instructions for installing and configuring Docker
https://doc.puq.info/books/docker-modules/page/installing-docker-for-puqcloud-modules

🔗 n8n Server

This server facilitates communication between the WHMCS module and the Docker server, ensuring smooth workflow execution.
To explore n8n’s full potential, visit the official n8n website for documentation, tutorials, and community support.


Key Features & Concepts

⚙️ Workflow Automation

n8n provides a graphical workflow builder, allowing users to automate various tasks, such as:
✔️ Sending notifications
✔️ Configuring firewalls on external routers
✔️ Managing DNS settings
✔️ Custom automation processes tailored to specific needs

🔄 Flexibility & Customization

The module offers personalized settings and supports elastic automation, giving clients full control over their n8n workflows.

 

Installation and configuration guide

WHMCS setup (install/update)

Docker MinIO module WHMCS 

 Order now | Download | FAQ | n8n

Module is coded ionCube v13

Supported php version:

To install and update a module, you must perform one and the same action.


1. Download the latest version of the module.

PHP 8.2

wget http://download.puqcloud.com/WHMCS/servers/PUQ_WHMCS-Docker-MinIO/php82/PUQ_WHMCS-Docker-MinIO-latest.zip

PHP 8.1

wget http://download.puqcloud.com/WHMCS/servers/PUQ_WHMCS-Docker-MinIO/php81/PUQ_WHMCS-Docker-MinIO-latest.zip

PHP 7.4

wget http://download.puqcloud.com/WHMCS/servers/PUQ_WHMCS-Docker-MinIO/php74/PUQ_WHMCS-Docker-MinIO-latest.zip

All versions are available via link: https://download.puqcloud.com/WHMCS/servers/PUQ_WHMCS-Docker-MinIO/

2. Unzip the archive with the module.
unzip PUQ_WHMCS-Docker-MinIO-latest.zip
3. Copy and Replace "puqDockerMinIO" from "PUQ_WHMCS-Docker-MinIO" to "WHMCS_WEB_DIR/modules/servers/"
Installation and configuration guide

Preparing Docker Server

Docker MinIO module WHMCS 

 Order now | Download | FAQ | n8n

To install the Docker server for this module, please follow the instructions at the following link:


https://doc.puq.info/books/docker-modules/page/installing-docker-for-puqcloud-modules
Installation and configuration guide

Setting up n8n workflow

Docker MinIO module WHMCS 

 Order now | Download | FAQ | n8n

Overview

The Docker MinIO WHMCS module uses a specially designed workflow for n8n to automate deployment processes. The workflow provides an API interface for the module, receives specific commands, and connects via SSH to a server with Docker installed to perform predefined actions.

Prerequisites

Installation Steps

Install the Required Workflow on n8n

You have two options:

Option 1: Use the Latest Version from the n8n Marketplace

Option 2: Manual Installation

n8n Workflow API Backend Setup for WHMCS/WISECP

Configure API Webhook and SSH Access

Modify Template Parameters

In the Parameters block of the template, update the following settings:

image-1741974559641.png

image-1741285412110.png

Do not modify the following technical parameters:

Deploy-docker-compose

In the Deploy-docker-compose element, you have the ability to modify the Docker Compose configuration, which will be generated in the following scenarios:

image-1741875704524.png

image-1741974602887.png

nginx

In the nginx element, you can modify the configuration parameters of the web interface proxy server.

image-1741875960357.png

image-1741974633761.png

Bash Scripts

Management of Docker containers and all related procedures on the server is carried out by executing Bash scripts generated in n8n. These scripts return either a JSON response or a string.

image-1741876353319.png

 

 

Installation and configuration guide

Add server

Docker MinIO module WHMCS 

 Order now | Download | FAQ | n8n
Add a new server to the system WHMCS.
System Settings->Servers->Add New Server

image-1741287291552.png

Attention: Important Information

The hostname field represents the actual domain of the server running Docker and must match the server_domain parameter in the n8n workflow. If they do not match, communication will not function correctly.
Additionally, this domain must be configured so that all its subdomains resolve to the IP address of the server running Docker.

image-1741287929855.png

In the Server Details section, select the "PUQ Docker MinIO" module and enter the correct username and password for the API endpoint in the n8n workflow.

Additionally, in the Access Hash field, insert the URL of the API entry point for the n8n workflow.

image-1741975066478.png

 

image-1741974971177.png

 

 

Installation and configuration guide

Product Configuration

Docker MinIO module WHMCS 

 Order now | Download | FAQ | n8n
Add new product to WHMCS
System Settings->Products/Services->Create a New Product

In the Module settings section, select the "PUQ Docker MinIO" module

image-1741975231830.png

 

Installation and configuration guide

Metric Billing

Docker MinIO module WHMCS 

 Order now | Download | FAQ | n8n

To bill certain metrics separately, you can use the standard WHMCS Metric Billing mechanism.

To configure it, you need to enable the required metrics and set the desired prices. Metrics work based on the standard WHMCS mechanism, the description of which can be found here:

https://docs.whmcs.com/products/configuration-options/usage-billing/

image-1741888208248.png

image-1741888239156.png

Installation and configuration guide

Email Template (puqDockerMinIO Welcome Email)

Docker MinIO module WHMCS 

 Order now | Download | FAQ | n8n
Create an email template for customer notifications.
System Settings->Email Templates->Create New Email Template

image-1741975587251.png

Subject: 

MinIO Order Information

Body:

Dear {$client_name},

Your order has been accepted for implementation.

Product/Service: {$service_product_name}
Payment Method: {$service_payment_method}
Amount: {$service_recurring_amount}
Billing Cycle: {$service_billing_cycle}
Next Due Date: {$service_next_due_date}


The installation and setup of your MinIO instance is in progress.
Within the next 4 minutes, you will be able to use your MinIO instance.

Upon your first login, you will need to create an account.

Here is the link to your MinIO server.

https://console.{$service_domain}/
Thank you for choosing us.

{$signature}

image-1741975774630.png

 

 

 

Installation and configuration guide

Email Template (puqDockerMinIO Update Email)

Docker MinIO module WHMCS 

 Order now | Download | FAQ | n8n
Create an email template for customer notifications.
System Settings->Email Templates->Create New Email Template

image-1741976001613.png

Subject: 

MinIO Update Information

Body:

Dear {$client_name},

Your instance is currently being updated.
You will be able to use your MinIO server again within 3 minutes.

Here is the link to your MinIO server.

https://console.{$service_domain}/
Thank you for choosing us.

{$signature}

image-1741976176453.png

 

 

 

Installation and configuration guide

Email Template (puqDockerMinIO Notification disk limit)

Docker MinIO module WHMCS 

 Order now | Download | FAQ | n8n
Create an email template for customer notifications.
System Settings->Email Templates->Create New Email Template

image-1741976318226.png

Subject: 

Disk space usage {$disk_used_percentage}%

Body:

Dear {$client_name},

We want to inform you that your MinIO service is running low on disk space. 
Please take action to prevent service interruptions.

Service Details:

Product/Service: {$service_product_name}
Domain: {$service_domain}
Total Disk Space: {$disk_total}
Used Disk Space: {$disk_used} ({$disk_used_percentage}%)
Consider freeing up space or upgrading your plan if needed.

{$signature}

image-1741976380740.png

 

 

Admin Area

Admin Area

Product Information

Docker MinIO module WHMCS 

 Order now | Download | FAQ | n8n

Admin Panel – Container Management Overview

The admin panel is structured into two main sections with additional control buttons for container management.

Control Buttons

Container Status & Resource Monitoring

Application Information

image-1741977154885.png

image-1741977186510.png

image-1741977247779.png

Metric Statistics

image-1741881751238.png

Client Area

Client Area

Home screen

Docker MinIO module WHMCS 

 Order now | Download | FAQ | n8n

Client Area Overview – Logical Structure

The main screen of the client area is divided into three logical sections:

  1. Navigation Block

    • "Go to MinIO": Direct link to access the application.
    • "User Manual": Opens the official documentation or user guide.
  2. Resource Usage Block

    • Displays real-time statistics on container resource usage:
      • CPU Usage: Number of allocated CPUs and current load.
      • Memory Usage: RAM consumption, helping clients understand available capacity.
      • Disk Usage: Storage consumption within the container.
    • This section is crucial for users to monitor performance and determine whether they need to upgrade their package.
  3. Application Information & Controls

    • Application Version: Displays the installed software version.
    • Owner Information: Indicates the primary administrator of the application.
    • User List: Shows active users associated with the instance.
    • Reset Password Button: Allows the client to reset the administrator password for the application.

This clear structure ensures that users have quick access to their application, real-time monitoring of resource usage, and essential management functions in one place.

image-1741978578625.png

image-1741978600746.png

 

Client Area

IP Access Control

Docker MinIO module WHMCS 

 Order now | Download | FAQ | n8n

In the client area, the client can configure access to their resource by entering allowed IP addresses in the appropriate section on the Restrict by IP page.

If no IP addresses are specified, access is open to all IP addresses.

image-1741978845269.png

Client Area

Reinstall

Docker MinIO module WHMCS 

 Order now | Download | FAQ | n8n

The client has the option to fully reinstall the application, which will result in complete data loss.

This action can be performed on the Reinstall page, which also includes protection against accidental reinstallation.

image-1741882286068.png

Client Area

Metrics

Docker MinIO module WHMCS 

 Order now | Download | FAQ | n8n

If you use metrics for application traffic billing, the Metrics tab will display the usage statistics for the metrics.

image-1741978940127.png