MinIO Deployment using docker-compose
MinIO is a High Performance Object Storage released under GNU Affero General Public License v3.0
We will deploy MinIO using docker and docker-compose,
You should have installed docker and docker-compose,
To install docker and docker-compose,follow the official documentation
Using Docker:
Create a directory to make MinIO storage persistent,
mkdir -p /minio/data
Execute the following Command,
docker run -itd \
-p 9000:9000 \
-p 9001:9001 \
— user $(id -u):$(id -g) \
— name minio \
-e “MINIO_ROOT_USER=your_username_here” \
-e “MINIO_ROOT_PASSWORD=your_password_here” \
-v /minio/data:/data \
quay.io/minio/minio server /data — console-address “:9001”
You can open minio console in the browser,
Using Docker-compose:
Create a directory to make MinIO storage persistent,
mkdir -p /minio/data
For the docker-compose file please check this link,
vi docker-compose.yaml
docker-compose up
Type http://localhost:9001 in your browser.
If you are running your MinIO behind reverse proxy, Please add the network to docker-compose file. To redirect the traffic from reverse proxy to minio container use the port number 9000.
proxy_pass http://minio:9000;