MinIO Server Deployment Overview¶
Prerequisites¶
The following system parameters are required for the application to function correctly:
-
OS: Linux (with Docker and Python/pip installed).
-
Domain: Must be configured for use with the
hostkey.insubdomain template. -
Ports:
-
443(HTTPS) — external access via proxy. -
9000— MinIO API. -
9001— MinIO Management Console.
-
FQDN of the final panel on hostkey.in domain¶
| Parameter | Value |
|---|---|
| Prefix | minio |
| Domain | hostkey.in |
| Full Template | minio{Server_ID_from_Invapi}.hostkey.in |
File and Directory Structure¶
Main directories used in the system:
-
/root/nginx— working directory for Nginx reverse proxy configuration. -
/data/nginx/user_conf.d— directory containing custom Nginx configurations. -
/data/nginx/nginx-certbot.env— environment variables file for Certbot. -
/mnt/data— primary MinIO data storage.
Application Installation Process¶
Deployment is performed by running the MinIO container, followed by configuring an Nginx reverse proxy via Docker Compose to ensure HTTPS operation.
Docker Containers and Execution¶
MinIO¶
The container is designed for object storage management.
-
Image Name:
quay.io/minio/minio -
Ports:
-
9000:9000(API) -
9001:9001(Management Console)
-
-
Volumes:
/mnt/data:/data -
Startup Command:
server /data --console-address ':9001' -
Restart Policy:
unless-stopped
Nginx (Certbot Proxy)¶
Container for SSL certificate management and traffic proxying.
-
Image Name:
jonasal/nginx-certbot:latest -
Network:
host -
Volumes:
-
nginx_secrets:/etc/letsencrypt -
/data/nginx/user_conf.d:/etc/nginx/user_conf.d
-
-
Environment Variables:
-
Restart Policy:
unless-stopped
Application Update¶
Updates are performed by executing the following command:
in the/root/nginx directory. Permissions Settings¶
The following directory permissions are set for service operation:
- Directory
/root/nginx: ownerroot, grouproot, mode0644.
Configuration Files and Data Location¶
| Data Type | Container Path | Host Path |
|---|---|---|
| MinIO Data | /data | /mnt/data |
| Nginx Configuration | /etc/nginx/user_conf.d | /data/nginx/user_conf.d |
| SSL Certificates | /etc/letsencrypt | nginx_secrets (external volume) |
Available Connection Ports¶
-
HTTPS (Web UI):
443 -
MinIO API:
9000 -
MinIO Console:
9001