This project enables a Docker-based deployment of MinIO, based on examples provided in the MinIO documentation.
- Deploys an instance of MinIO, using several containers with
docker-compose
:- Minio
- Nginx
- SSL certificates are automatically generated using docker-letsencrypt-nginx-proxy-companion
- A Docker instance running version
18.06.0+
of the Docker engine that supports version3.7
or greater of thedocker-compose
file specification. - An environment where port
80
and443
of the host machine can be forwarded to the Nginx container for MinIO (80
is required for Let's Encrypt certificate generation.)
Create the following files that contain configuration information not already defined in docker-compose.yml
:
./minio-variables.env
should contain definitions for:MINIO_ACCESS_KEY
the MinIO Admin Access KEYMINIO_SECRET_KEY
the MinIO Admin Secret KEYVIRTUAL_HOST
andLETSENCRYPT_HOST
which are the publicly accessible hostname of your MinIO instance, e.g.minio.yourdomainhere.com
.
./letsencrypt-variables.env
should contain definitions for:DEFAULT_EMAIL
, an email address that the Let's Encrypt project can use to email you about important information related to your SSL certificates (e.g. expiry warnings, security issues).
Once those files are configured, you should be able to start MinIO with docker-compose up -d
. Please note that MinIO may take a minute or two the first time it is started.