/minio-docker-letsencrypt-deploy

Distributed MinIO deployed via Docker Compose with autorenew ssl certificate using letsencrypt.

Primary LanguageDockerfileGNU Affero General Public License v3.0AGPL-3.0

minio-docker-letsencrypt-deploy

Distributed MinIO deployed via Docker Compose with autorenew ssl certificate using letsencrypt.

Prerequisites

Quick Start

  1. Create .env
cp .env.example .env
  1. change the environment variables
- MINIO_ROOT_USER: MinIO ACCESS_KEY
- MINIO_ROOT_PASSWORD: MinIO SECRET_KEY
- MINIO_REGION_NAME: name of the location of the server
- FQDN: Minio Domain (certbot will generate letsencrypt certificates for that).
- CERTBOT_EMAIL: where you will receive updates from letsencrypt.
- GRAFANA_ADMIN_USER: Grafana admin username
- GRAFANA_ADMIN_PASSWORD Grafana admin password
  1. Start MinIO server
docker-compose down

docker-compose up -d
  1. MinIO server' containers health status
watch -n 3 "docker ps -a"
  1. Distributed instances are now accessible on the host at ports 443, proceed to access the Web browser at https://your.example.com/. Here 4 MinIO server instances are reverse proxied through Nginx load balancing.

License

This project is licensed under the GNU Affero General Public License v3.0 - see the LICENSE file for details.