PUQ Mautic

Client Container Concept and Structure

Container Deployment

In our deployment scenarios, we use Docker Compose for managing client containers.

Important Directories

The nginx-proxy directory must remain unchanged. Its path is:
/opt/docker/nginx-proxy

This directory contains essential components:

List of required directories:

/opt/docker/nginx-proxy /opt/docker/nginx-proxy/certs /opt/docker/nginx-proxy/nginx /opt/docker/nginx-proxy/html /opt/docker/nginx-proxy/vhost.d

Client Container Data Directories

Each client container has its own data directory. The base path for storing user-related Docker files and disk images can be set individually for each n8n workflow involved in service management.

image-1741877612840.png

Within this directory, subdirectories are created based on the primary domain name of the service. The domain acts as a reference point for the entire service.

Each service directory contains:

image-1741877565421.png

Before a container starts, the data.img file is mounted into the system using n8n automation. The necessary entries are added to /etc/fstab, ensuring that containers automatically restart after a server reboot.

 


Revision #2
Created 13 March 2025 14:50:03 by Ruslan
Updated 13 March 2025 15:57:57 by Ruslan