Skip to content

hatamiarash7/DockerSwarm-MinIO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Swarm MinIO

logo

Deploy MinIO storage server in Docker Swarm

Prerequisites

You should create your credentials keys. Run in master node :

echo "AKIAIOSFODNN7EXAMPLE" | docker secret create access_key -
echo "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" | docker secret create secret_key -

We have 4 service by default that run in 4 node. Set label for Swarm nodes and configure them in deploy > placement > constraints and environment > MINIO_DISTRIBUTED_NODES

Bringing up the stack

docker stack deploy -c docker-stack.yml MinIO

Wait until all disks are up and running then you can access MinIO cluster from exposed ports ( 9002-9005 ) and use any client to use them


Support

Donate with Bitcoin Donate with Ethereum

ko-fi

Contributing

Don't be shy to be a contributor 😉

  1. Fork it !
  2. Create your feature branch : git checkout -b my-new-feature
  3. Commit your changes : git commit -am 'Add some feature'
  4. Push to the branch : git push origin my-new-feature
  5. Submit a pull request

Issues

Each project may have many problems. Contributing to the better development of this project by reporting them.