MinIO Deployment using docker-compose

SebinnSebastian
1 min readFeb 1, 2023

--

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,

http://localhost:9001

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;

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

SebinnSebastian
SebinnSebastian

Written by SebinnSebastian

DevOps Engineer | Redhat Certified System Administrator | K8s Administrator | AWS, Docker, Terraform, GCP

No responses yet

Write a response